aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes JQuery collapsible tabs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "JQuery collapsible tabs" Watch "JQuery collapsible tabs" New topic
Author

JQuery collapsible tabs

K Mansoor
Ranch Hand

Joined: Jan 10, 2006
Posts: 52
Background: I have a page with a bunch of panels, each panel displaying a JQuery tabs, each tabs may have 'n' tabs. Since a lot of information is displayed, users should be able to 'close' certain panel if they are not interested in the information.

I need to save the tabs' collapsible state to db (which is pretty straightforward). How does one find out the state? collapsed or not?


If there are three tabs within a tabs(), any click will trigger the 'select' event, how can one figure if the tab has been collapsed and not just another tab selected, the tab will collapse only if currently selected tab is clicked.

Any pointers will be highly appreciated.

K Mansoor
Ranch Hand

Joined: Jan 10, 2006
Posts: 52
Got it.

$(ui.panel).is(':visible')
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JQuery collapsible tabs