Releases: jellekralt/Responsive-Tabs
Releases · jellekralt/Responsive-Tabs
Event option
New features
- You can now use the 'event' option to select a specific event that should activate a tab
Fixed startCollapsed function
Fixes
- If the startCollapsed function is set to ‘accordion’ and the state is
switched to ‘tabs’, the first tab opens.
Deactivate function
New features
- A new method 'deactivate' has been added that can be used to close a tab
Improvements
- The emitted events are now described in the readme file, this was previously a hidden feature
activateState callback
Bugfixes
- The 'activateState' callback now works correctly and has the arguments: event, state (solves #21)
Callback arguments
New features
- The 'activate' callback now has the arguments: event, tab (solves #20)
- The 'deactivate' callback now has the arguments: event, tab
Excludable tab
New features
- It is now possible to add an exclude class to a tab item
IE8 compat bugfix
Bugfixes
- This release fixes a bug that broke support for IE8. Because array.indexOf() is only supported since IE9 (oh Microsoft...) i've replaced it with the jQuery equivalent. This fixes issue #14
Method support
New Features
- The plugin now supports calling methods outside the plugin. You can now for instance call .responsiveTabs('activate', 2); to activate the third tab.
Improvements
- Improved the demo with controls
- Added version numbering to the JS file so you can check which version you are running from now on.
v1.3.1: Bugfixapalooza
Apparently I was a bit too hasty when releasing v1.3.0, it turned out to have some bugs which I could have prevented by reviewing my stuff a bit better ;).
Bugfixes
- Since the addition of the animation option the plugin wasn't fully compatible with jQuery 1.7.2 anymore. This has now been fixed. This also solves issue #9.
- I apparently forgot to add disabled state classes to the accordion tab and to add CSS for the disabled accordion tab (this is what I mean by 'too hasty' ;). This has now been added.
- Cleaned up some code errors / vanity stuff
- The minified version of the script wasn't updated with v1.3.0, this has now been fixed.
v1.3.0: Disabled tabs
New Features
- Added a disabled tabs option that defines (multiple) tabs that should be disabled.