konstance
01-26-2006, 07:15 PM
I am trying to modify this script http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm to where the "tabs" at the top are actually contained in the Drop Down Menu. So, when I click down in the menu and change to the second choice, that's when the content will switch.
Is that at all possible?
Here's what I replaced the original content (between the <UL> tags) with:
<select id="tablist" name="">
<option class="current" selected onChange="return expandcontent('sc1', this)" value="http://www.dynamicdrive.com">Dynamic Drive</option>
<option onChange="return expandcontent('sc2', this)" value="new.html">What's New</option>
<option onChange="return expandcontent('sc3', this)" value="new.html">What's Hot</option>
<option onChange="return expandcontent('sc4', this)" value="new.html">Search</option>
</select>
Is that at all possible?
Here's what I replaced the original content (between the <UL> tags) with:
<select id="tablist" name="">
<option class="current" selected onChange="return expandcontent('sc1', this)" value="http://www.dynamicdrive.com">Dynamic Drive</option>
<option onChange="return expandcontent('sc2', this)" value="new.html">What's New</option>
<option onChange="return expandcontent('sc3', this)" value="new.html">What's Hot</option>
<option onChange="return expandcontent('sc4', this)" value="new.html">Search</option>
</select>