jellekralt / Responsive-Tabs

Responsive Tabs is a jQuery plugin that provides responsive tab functionality. The tabs transform to an accordion when it reaches a CSS breakpoint. You can use this plugin as a solution for displaying tabs elegantly on desktop, tablet and mobile.
http://jellekralt.github.io/Responsive-Tabs/
MIT License
531 stars 227 forks source link

Option to not generate markup #32

Closed dimaip closed 9 years ago

dimaip commented 10 years ago

I would like to have an option to disable automatic insertion of classes an accordion title blocks, and rather write final markup myself. I'm using this tabs in TYPO3 Neos and the markup transformations cause a lot of problems. What worked for me was just to change lines 171-2 to:

$accordionTab = $panel.prev();
$accordionAnchor = $accordionTab.children();

I understand it may not be interesting for you, so it's OK if you just ignore it :)

jellekralt commented 9 years ago

Hi, This would be a good option to add. I'm currently working on a new version of the tabs plugin that changes up the markup a bit. I'll add this feature in this new version

jellekralt commented 9 years ago

It is now possible to change the markup for the accordion title blocks (since v1.5.0).