WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Section Widget] Auto-rotating Tabs? (2 posts)

  1. Ryan
    Member
    Posted 4 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/

  2. godfreykfc
    Member
    Posted 4 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.

Topic Closed

This topic has been closed to new replies.

About this Topic