That is just too awesome. Damn I love JQuery!
Rey
John Resig wrote:
From what I've seen, JQuery has great methods for inclusion of elements so
either situation seems relatively easy to handle but I'm curious as to how
many sites that have taken the full CSS plunge are accommodating for this.
That's true - to add in your div dynamically, you can do:
$('<div id="throbber"><img src="" alt=""></div>')
.hide()
.ajaxStart(function(){
$(this).show();
})
.ajaxStop(function(){
$(this).hide();
})
.appendTo("#someContainer");
That way it's "more semantic" - or "less non-semantic", however you
wanna look at it.
--John
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
|
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/