John Resig schrieb:
>> 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="indicator.gif" 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
haha, to top it all you could just throw in something like:
<p><strong>Loading…</strong></p>
and show the icon via some image replacement technique...
-- klaus
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/