Linkable Tabs In Javascript
I've set up a page with a set of thumbnails that when clicked reveal content below. The content is all absolutely positioned and set to display:none and javascript changes this for
Solution 1:
code snippet form url link for different tabs
<ul class="tabs">
<li><a href="javascript:tabSwitch(1, 2, 'tab_', 'content_');" id="tab_1" >
<img src="image1.jpg" />
<h3 class="designers">
Link 1
</h3>
</a></li>
<li><a href="javascript:tabSwitch(2, 2, 'tab_', 'content_');" id="tab_2" >
<img src="image1.jpg" />
<h3 class="designers">
Link 2
</h3>
</a>
</li>
</ul>
Post a Comment for "Linkable Tabs In Javascript"