WordPress.org

Ready to get started?Download WordPress

Forums

Squelch Tabs and Accordions Shortcodes
[resolved] Is it possible to link to a tab? (4 posts)

  1. kidalpha
    Member
    Posted 1 year ago #

    Hi-

    I'm trying to pass someone a link directly to a tab. Is that possible?

    http://website.com/getting-started/#squelch-taas-tab-content-0-1

    Thanks!
    Jonathan

    http://wordpress.org/extend/plugins/squelch-tabs-and-accordions-shortcodes/

  2. Matt Lowe
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Jonathan,

    It's not currently possible to link to specific tabs, as far as I know jQuery UI makes no provision for this. If this is something that would be of use to you though then it's something I can look at adding to a future version of the plugin.

    Thanks,
    Matt

  3. kidalpha
    Member
    Posted 1 year ago #

    Hi Matt,

    There's a couple of articles on it:
    http://forum.jquery.com/topic/link-to-specific-tab

    I'm not hacker though, but I'll try to modify your plug to support this. Will let you know if I'm able.

    Cheers!

    Jonathan

  4. Matt Lowe
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    I already tested their claim that you can use the anchor of the tab, it doesn't seem to work and also causes the page to jump down to the tab group on page load; Not what most people will want. Additionally there needs to be a mechanism for adding the details of open tabs to the URL to allow copying+pasting of the URL, keeping all tabs open as they were... This means finding a reasonably neat way to add that information to the URL while clicking around the page.

    On top of all of that some users might not like the extra information that is added to the URL, so it would need to be a switchable option in the configuration panel.

    This functionality might also be useful for accordions and horizontal accordions too, but some users might only want it for tabs and not for accordions, or whatever, so the configuration panel would need an option for each type of widget.

    I'll schedule this for 0.3, it's a bit too late for 0.2 which is being finalised at the moment.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.