Jörn Zaefferer schrieb:
> Hi Larry!
> 
>> You have n tabs.  Each one is not actually loaded.  When you switch to it,
>> however, a callback fires that Ajax-loads the contents of that tab,
>> possibly skipping that if it's already been loaded.
>>
>> Sorry, I just put 2 and 2 together and got a very cool 10. :-)
> 
> Sounds interessting. But if I get it right, those tabs wouldn't be 
> unobtrusive any more, right?
> 
> -- Jörn 


Yes, such tabs wouldn't be accessible anymore, and not unobtrusive 
either because you would have useless links hanging around, pointing to 
some empty divs if JavaScript is disabled.

Therefore I wouldn't go so far and implement Ajax calls on tab click. I 
cannot see the use here, to me it's like using Ajax for the sake of 
Ajax. The user would even have to wait for the content to be loaded 
(first click), and that is not what I call very usable.

Nonetheless, with the callback mechanism it would be pretty easy to 
implement such a function and pass it as callback. But this should not 
be part of the plugin in my eyes.


-- Klaus

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to