Re: [jQuery] Tabs plugin update: autoheight, effects

2006-09-13 Thread Klaus Hartl
Meece, Clifford T schrieb: 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. I think that'll be

Re: [jQuery] Tabs plugin update: autoheight, effects

2006-09-13 Thread Klaus Hartl
With autoHeight, the slide effect is pretty irritating without a static container. The same applies to fade, a static border would help with a better usability. I'm also planning to make the whole demo look better and wanted to ask a friend of mine who is designer. It's indeed a little raw

Re: [jQuery] Tabs plugin update: autoheight, effects

2006-09-13 Thread Klaus Hartl
I (think I) have fixed the height issues*. The containers now remain fully flexible, even after an animation. That means you can resize the window and/or the font size without ever overflowing content (except you do that in the middle of an animation...). Would be very nice, if you could

Re: [jQuery] Tabs plugin update: autoheight, effects

2006-09-13 Thread Meece, Clifford T
); } } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Klaus Hartl Sent: Wednesday, September 13, 2006 1:58 AM To: jQuery Discussion. Subject: Re: [jQuery] Tabs plugin update: autoheight, effects

Re: [jQuery] Tabs plugin update: autoheight, effects

2006-09-13 Thread Meece, Clifford T
To: jQuery Discussion. Subject: Re: [jQuery] Tabs plugin update: autoheight, effects I took a stab at implementing some of these changes. Right now I have just modified the code to suit my case. It would be better, of course, to define an option like SelfToggle, or AllowNone, which would allow both

Re: [jQuery] Tabs plugin update: autoheight, effects

2006-09-13 Thread Meece, Clifford T
://langdata.potowski.org -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Meece, Clifford T Sent: Wednesday, September 13, 2006 12:48 PM To: jQuery Discussion. Subject: Re: [jQuery] Tabs plugin update: autoheight, effects Ok, I have fixed it so none are open on initial

Re: [jQuery] Tabs plugin update: autoheight, effects

2006-09-12 Thread Giuliano Marcangelo
Klaus, Tested on Windows2000, Firefox 1.5.0.6, and the content in the fragment does indeed overflow the container ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Tabs plugin update: autoheight, effects

2006-09-12 Thread Justin Carter
On 9/12/06, abba bryant [EMAIL PROTECTED] wrote: In firefox 1.5.0.6 the autoheight seems set to the first tab in the example, and when you click the third tab the content overflows onto the tested with section below it. The container background seems sized correctly but the actual lorem ipsum

Re: [jQuery] Tabs plugin update: autoheight, effects

2006-09-12 Thread Justin Carter
On 9/12/06, Klaus Hartl [EMAIL PROTECTED] wrote: This looks exactly like an issue with the height calculation of hidden elements John and I thought we had resolved. Or as you say, maybe something has regressed somewhere along the line... ___ jQuery

Re: [jQuery] Tabs plugin update: autoheight, effects

2006-09-12 Thread Alex Brem
Same overflow problem with the 3rd tab here using Firefox 1.5.0.6 and Windows XP. But no probs in Firefox 1.5.0.6 on my Mac. Greetings, Alex Klaus Hartl wrote: This looks exactly like an issue with the height calculation of hidden elements John and I thought we had resolved. I don't have

Re: [jQuery] Tabs plugin update: autoheight, effects

2006-09-12 Thread Klaus Hartl
Justin Carter schrieb: On 9/12/06, abba bryant [EMAIL PROTECTED] wrote: In firefox 1.5.0.6 the autoheight seems set to the first tab in the example, and when you click the third tab the content overflows onto the tested with section below it. The container background seems sized correctly

Re: [jQuery] Tabs plugin update: autoheight, effects

2006-09-12 Thread Justin Carter
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

Re: [jQuery] Tabs plugin update: autoheight, effects

2006-09-12 Thread Klaus Hartl
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

Re: [jQuery] Tabs plugin update: autoheight, effects

2006-09-12 Thread abba bryant
Which platform have you tested it on? I am using windows xp pro on firefox 1.5.0.6 and IE 6.x Tested it at home on xp pro 64 on firefox 1.5.0.6 and firefox 2 beta and IE 6.x and IE 7 I am seeing the bug on both machines in firefox but not at all in IE. I wonder ( having not looked at the code

[jQuery] Tabs plugin update: autoheight, effects

2006-09-11 Thread Klaus Hartl
Hi all, I have updated the tabs plugin a bit again. There is now an autoheight option with which turned on all tabs have the same height. That avoids jumping content on a page on tab selection. $(...).tabs({fxAutoheight: true}); Not sure if I mentioned it here before, but you can also have a

Re: [jQuery] Tabs plugin update: autoheight, effects

2006-09-11 Thread John Resig
Great additions, Klaus - I especially like the autoHeight addition, makes the user experience feel that much smoother. --John On 9/11/06, Klaus Hartl [EMAIL PROTECTED] wrote: Hi all, I have updated the tabs plugin a bit again. There is now an autoheight option with which turned on all tabs

Re: [jQuery] Tabs plugin update: autoheight, effects

2006-09-11 Thread sunsean
Nice addition Klaus, keeping the elements at the same height has several design advantages. I'll have to take a look at your code. Cheers ~Sean ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Tabs plugin update: autoheight, effects

2006-09-11 Thread abba bryant
In firefox 1.5.0.6 the autoheight seems set to the first tab in the example, and when you click the third tab the content overflows onto the tested with section below it. The container background seems sized correctly but the actual lorem ipsum text overflows. If nabble allows it there is a

Re: [jQuery] Tabs plugin update: autoheight, effects

2006-09-11 Thread Aaron Heimlich
I'm pretty sure the CSS spec says that's supposed to happen. Attaching the following code should fix this:.fragment { overflow: auto;}On 9/11/06, abba bryant [EMAIL PROTECTED] wrote: In firefox 1.5.0.6 the autoheight seems set to the first tab in the example,and when you click the third tab the

Re: [jQuery] Tabs plugin update: autoheight, effects

2006-09-11 Thread Klaus Hartl
Abba, that is strange. I cannot reproduce that bug, either on Mac nor on Windows XP, both with a FF 1.5.0.6. Which platform have you tested it on? -- Klaus abba bryant schrieb: In firefox 1.5.0.6 the autoheight seems set to the first tab in the example, and when you click the third tab

Re: [jQuery] Tabs plugin update: autoheight, effects

2006-09-11 Thread Klaus Hartl
Aaron Heimlich schrieb: I'm pretty sure the CSS spec says that's supposed to happen. Attaching the following code should fix this: .fragment { overflow: auto; } Sure, but that's not the point here. If it was working there shouldn't be content overflowing. Regards, Klaus