+ Reply to Thread
Results 1 to 2 of 2

Thread: Spry Tabbed Panels: Create Links to a different tab?

  1. #1
    Join Date
    Jun 2010
    Posts
    2

    Default Spry Tabbed Panels: Create Links to a different tab?

    I am trying to feature links on the main section of my tabbed panel page (http://www.iecaonline.com/benefits-spry.html) that link to a different tab. I realize the anchor links don't work with spry. Is there a simple way to accomplish this?

    Thanks.
    Sarah

  2. #2

    Default

    To open a panel from a link on the same page use this format for the links:

    <a href="#" onclick="TabbedPanels1.showPanel(0); return false;">

    And change the 0 in parentheses to the number of the panel you want to open (panel #s begin at 0 so the first tab is 0, the second 1, etc.).


    If you wan't to link to a specific tab from another page it isn't as simple but try the info here:

    http://foundationphp.com/tutorials/spry_url_utils.php
    Don't forget to follow me on Twitter at http://twitter.com/DWcourse

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts