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 228 forks source link

added option scrollToAccordionOffsetElement #77

Closed herrschuessler closed 8 years ago

herrschuessler commented 9 years ago

Hey Jelle,

I finally came around to create a PR containing @ajmueller's code for a new option called scrollToAccordionOffsetElement (see https://github.com/jellekralt/Responsive-Tabs/pull/55). It only takes into consideration the outerHeight of the offset element and asumes that element is positioned at the very top of the window.

tigerste commented 7 years ago

I know this was done a while ago but the documentation wasn't updated to include the new option - could this be done please?