I've just started uising the tabs plugin and like it a lot. I was wondering, though, how would I implement it if I want the current open tab to close itself when clicked again? This means that there may not be any tabs open at a given time.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Klaus Hartl Sent: Tuesday, September 12, 2006 4:09 AM To: jQuery Discussion. Subject: Re: [jQuery] Tabs plugin update: autoheight, effects Ah, I think I found the cause for all this: If you change the window size *after* the tabs have been initialized the height no longer is correct because the tabs are fluid... That means I have to either add an resize event handler to recalculate the height or calculate it on demand, on tab click that is. Not sure what is better, the on demand solution will surely slow down the switch a bit, so I guess I will go for the resize event solution. Will add that tonight... -- Klaus Justin Carter schrieb: > On 9/12/06, Klaus Hartl <[EMAIL PROTECTED]> wrote: >> I need to know: which version of jQuery do you use? Do you simply go >> to demo page? If so, please make sure that you do not load from cache... > > Sorry I should have said that I am just viewing your demo page. I had > never viewed that page before in IE7 Beta 3 nor Firefox 1.5.0.3, > however I may have viewed it before in Opera 9.01 BUT I have just > cleared my cache and it is still happening. So it's definitely not a > caching issue at my end :) > > _______________________________________________ > jQuery mailing list > [email protected] > http://jquery.com/discuss/ > _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/ _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
