Linking to a Specific Tab Using magictabs

When using magictabs, you sometimes need to link to a specific tab outside of the page.  Doing this is simple, and only requires a few steps.

Adding an ID to your Opening Tag

Note: For this example, our id is going to be "items."

You need to give your magictabs instance an identifier.  To do this, just add an id.

{magictabs id=items}

You don't need to change the ending tag.

Linking to the Individual Tab

You need to link to your indivual page as you normally would.  After the ending "/" (if your link doesn't have an ending "/", add one), add the following tag:

#magictabs_items_2

The "2" is generated from magictabs and is the number of the tab that you add in sequentional order.  So, your first tab is "1," your second tab is "2," and so on.

So, let's say your link was the following:

http://www.tntech.edu/web/home/

But, you wanted to link to the third tab on the page.  Your new link would be:

http://www.tntech.edu/web/home/#magictabs_items_3

Department Links
Apply Now