[jQuery] Tabs plugin update: autoheight, effects

[jQuery] Tabs plugin update: autoheight, effects

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: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] 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 <klaus.hartl@stilbuero.de>