1. You should start with the Tab Content Script (http://www.dynamicdrive.com/dynamici...tabcontent.htm)
2. To add the "vertical lines", simply change the CSS of the "selected" tab to have borders on the left and right.
3. For one tab to reveal further tabs, you should be able to do this with an onClick event on that tab.
Add the following between your <head> and </head> tags
Code:
<script type="text/javascript">
<!--
function show(id) {
var a = document.getElementById(id);
if(a.style.display == 'block')
a.style.display = 'none';
else
a.style.display = 'block';
}
//-->
</script>
Add this to the link (tab).
Code:
<a href="#" rel="your_tab_id" onClick="show('div_id')">Tab 4</a>
In this case, 'div_id' is the id that you'll have to assign to a div containing another instance of the Tab script.
Lastly, add a css property to "div_id" of display:none;
OR
this may be of use: http://www.cssplay.co.uk/menus/pro_droptab.html
Bookmarks