jQuery: The Write Less, Do More JavaScript Library

jQuery Tabs -- Long content in hidden tabs

View: New views
2 Messages — Rating Filter:   Alert me  

jQuery Tabs -- Long content in hidden tabs

by ripcurlksm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am using jQuery tabs and when I have very long content within the tabs, my browsers scroll bar reflects the content in the tab with the most content.

Example, "Tab 1" & "Tab 3" has a very long scroll bar, even though it has no content (because of Tab 2) and you can scroll down through the empty space

http://psylicyde.com/misc/tabs-test

Is there a way I can hide the content in Tab 2 so that my browsers scroll bar displays correctly in relation to the content in the active tab?

Re: jQuery Tabs -- Long content in hidden tabs

by Steven Black-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You sure that's what you want?

If so your tabs will jump to the left or right as the scroll-bar
appears and disappears.

You could hide() the contents of your long-tab, show()ing it again
upon activation.

**--**  Steve

On Nov 9, 7:08 pm, ripcurlksm <kevin.mccorm...@...> wrote:

> I am using jQuery tabs and when I have very long content within the tabs, my
> browsers scroll bar reflects the content in the tab with the most content.
>
> Example, "Tab 1" & "Tab 3" has a very long scroll bar, even though it has no
> content (because of Tab 2) and you can scroll down through the empty space
>
> http://psylicyde.com/misc/tabs-test
>
> Is there a way I can hide the content in Tab 2 so that my browsers scroll
> bar displays correctly in relation to the content in the active tab?
> --
> View this message in context:http://old.nabble.com/jQuery-Tabs----Long-content-in-hidden-tabs-tp26...
> Sent from the jQuery UI Discussion mailing list archive at Nabble.com.

--

You received this message because you are subscribed to the Google Groups "jQuery UI" group.
To post to this group, send email to jquery-ui@....
To unsubscribe from this group, send email to jquery-ui+unsubscribe@....
For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=.