This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman 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 Building Microservices this week in the Design 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')
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: JQuery collapsible tabs
 
jQuery in Action, 3rd edition