How you can use a Collapsible set with tabs in Jquery Mobile ?
On the left of my page I want a Collapsible set acting as a menu. Some items will have children and some not. I want the items without children to change the tab directly but the items with children should expand. (Then children in this case change the tabs)
I have an example at
-- dummy text to get jsfiddle link to submit ?
http://jsfiddle.net/7jg43uLg/3/
I can not get the header items without children to change tabs or not to expand. Also the tab content shows by default.
Is the a better way to achieve the result I want ?
Thanks for any help
You can build your menu as a listview such that items with no children are regular listitems and the ones with children are collapsibles within a list item:
Then you can just override some of the default CSS to get rid of the extra padding and margins: