[jQuery] Re: jQuery's ajax .load sometimes shows the previous page for a blink of a second?!

2008-10-05 Thread ivframes
I made such a silly mistake! But again I'm still on the very beginning of JS/jQ programming. Thank you for answering so quickly, it works! On 5 окт, 21:09, "John Resig" <[EMAIL PROTECTED]> wrote: > Try something like this: >        $(".photo").click(function() { >                $(".jq").hide()

[jQuery] Re: jQuery's ajax .load sometimes shows the previous page for a blink of a second?!

2008-10-05 Thread John Resig
Try something like this: $(".photo").click(function() { $(".jq").hide().load("photo.htm", function(){ $(this).slideDown("slow") }); $(".closerbutton").show("slow").attr("title", "close"); return false; }); $(".about").click(function