jquery/jquery-mobile — Issue #3300: feature request: tabview = horizontal collapsible-sets
Author: frequent
Created: 2011-12-18 22:45:07+00:00
State: open

I was looking how to create an easy to use JQM tab-switcher.

Turns out you can combine some functionality from button-controlgroups and navbars into collapsibles, you can set up something like this rather easy:

[JQM tabview](http://www.stokkers.mobi/jqm/tabview/tab.html "tabview")

The tabview can be activated by adding _data-type="horizontal"_ to a regular collapsible-set.

Only caveat is the necessary min-height due to the rel/abs positioning of the collapsibleSet and collapsibleContent. Haven't found a nice workaround, but I hope this can be optimized along with the code - in case you deem this a nice addition to JQM. Pull request coming up.

Cheers

Frequent