This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
Similar Threads
Best strategy for handling actions across multiple windows?
Paint
jQuery tabs UI issue
Save Problem bcz of Diff Panels
jQuery UI tabs not loading in the same tab