DaoByDesign
Member
Posted 2 years ago #
What an awesome plugin. I've used it to replace Tabbed Widgets, as TW doesn't work with 2.8+ (at the time of writing).
One thing that I'm missing from TW is the ability to have the tabs auto-rotate -- the active tab switches at a set interval.
Does anyone know how to implement such a feature using Section Widget?
http://wordpress.org/extend/plugins/section-widget/
godfreykfc
Member
Posted 2 years ago #
If you know how to load JavaScript files from your theme, this is really simple:
jQuery(document).ready(function($){$('.swt-wrapper').tabs('rotate', 2000);});
2000 means rotate the tabs every 2000ms (2s). Change it to whatever you like. I can consider throwing this feature in for the next version.