You can do this by setting the same "rel" attribute that you've specified for the 'Home' item even for 'Forums' and 'Gif Optimizer' items. Check the following code copied from the demo page of the script:
Code:
<div id="ddtabs1" class="basictab">
<ul>
<li><a href="http://www.dynamicdrive.com" rel="sc1">Home</a></li>
<li><a href="http://www.dynamicdrive.com/new.htm" rel="sc2">DHTML</a></li>
<li><a href="http://www.dynamicdrive.com/style/" rel="sc3">CSS</a></li>
<li><a href="http://www.dynamicdrive.com/forums/">Forums</a></li>
<li><a href="http://tools.dynamicdrive.com/imageoptimizer/">Gif Optimizer</a></li>
</ul>
</div>
If you look at the 'Home' item you can see that its 'rel' attribute has a value of 'sc1' but there is no such attribute for 'Forums' and 'Gif Optimizer' items (rest of the items have that values). You can set a 'rel' attribute value for 'Forums' and 'Gif Optimizer' items like the following manner
Code:
<div id="ddtabs1" class="basictab">
<ul>
<li><a href="http://www.dynamicdrive.com" rel="sc1">Home</a></li>
<li><a href="http://www.dynamicdrive.com/new.htm" rel="sc2">DHTML</a></li>
<li><a href="http://www.dynamicdrive.com/style/" rel="sc3">CSS</a></li>
<li><a href="http://www.dynamicdrive.com/forums/" rel="sc1">Forums</a></li>
<li><a href="http://tools.dynamicdrive.com/imageoptimizer/" rel="sc1">Gif Optimizer</a></li>
</ul>
</div>
This will display the default value of the 'Home' item instead of an empty space.
Bookmarks