jQuery tabs and url links
Hello Everyone:
My question is about jQuery tabs and external URL links. I've installed some jQuery tabs on my site. Following is the html format:
- <div id="vtab">
- <ul>
- <li id="tab_1" class="home"></li>
- <li id ="tab_2" class="experience"></li>
- </ul>
- <div id="tab1_content" class="outer">
- <iframe src="http://www.mysite.com/runtime/tab1.php" frameBorder="0"></iframe>
- </div>
- <div id="tab2_content" class="outer">
- <h1>Experience</h1>
- <ul>
- <li>Item 1</li>
- <li>Item 2</li>
- </ul>
-
- </div>
- </div>
As you can see each tab consists of two elements. For example:
They are not adjacent to each other so I can not group them in a common and dedicated <div>.
So... how can I create an external link to tab_1/tab1??
I really enjoy the jQuery tabs, they are much cleaner than loading separate pages for each of the tab's content. But there has to be a way to create external links to give $('#tab_1') and $('#tab1') focus.
Thanks in advance:
Pavilion