questions, questions, questions...
patrik+javascript=false(yet);

how to make my popup windows blur()?

<html>
        <head>
        <title>
                jQuery clickCount
        </title>
        <link rel="stylesheet" type="text/css" media="screen"
href="style.css">
        <script type="text/javascript" src="./jquery-latest.pack.js"></
script>
        <script type="text/javascript">
        <!--
                $(document).ready(
                        function(){
                                $(".popBlur", this).click(
                                        function(){
                                                var linkId = $("a", 
this).attr("id");

                                                $.post("./dbClickUpdate.php",
                                                        { id: linkId },
                                                        function(returnedData){
                                                                var 
updateSpan='#spanId'+linkId;
                                                                
$(updateSpan).after().html(returnedData);
                                                        }
                                                );


// Here we are, I've removed my blur-attempts
// So we can have a fresh start...
                                                var linkHref = $("a", 
this).attr("href");
                                                window.open(linkHref);

                                                return false;
                                        }
                                );
                        }
                );
        // -->
        </script>
        </head>
        <body>
                <div>
                    <div class="popBlur">
                                <a id="1" href="http://google.com";>
                                        divClick 1
                                </a>
                                <span id="spanId1">27</span>
                        </div>
                    <div class="popBlur">
                                <a id="2" href="http://yahoo.com";>
                                        divClick 2
                                </a>
                                <span id="spanId2">10</span>
                        </div>
                    <div>
                                <a id="3" href="http://metacrawler.com";>
                                        noPopUnder
                                </a>
                                <span> 3</span>
                        </div>
                </div>
        </body>
</html>

../pop-my-shit

Reply via email to