attroll
05-24-2011, 07:48 PM
I am looking for a simple code to be able to have a sidebar with dropdowns in it. The code below was something I was able to use in my 3.0 versions of vb but it no longer works with 4.0. Can someone help me to get started by creating a sidebar with drowpdowns, please.
<tr>
<td class="alt2">
<!-- Items -->
<table class="alt1" height="18" border="1" cellspacing="0" cellpadding="0" width="100%">
<tr onmouseover="this.className='alt1'" onmouseout="this.className='alt2'"><td class="alt2" align="left" ><span id="items">
<script type="text/javascript"> vbmenu_register("items"); </script> <a href="#">AT Re-Supply Info</a> </span></td></tr>
</table>
<!-- / Items -->
<!-- Items Menu -->
<div class="vbmenu_popup" id="items_menu" style="display:none;margin-left:175px;">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">AT Re-Supply</td></tr>
<tr><td class="vbmenu_option"><a href="$vboptions/index.php?page=resupplypart1">Re-Supply Along the AT - Part 1</a></td></tr>
<tr><td class="vbmenu_option"><a href="$vboptions/index.php?page=resupplypart2">Re-Supply Along the AT - Part 2</a></td></tr>
</table>
</div>
<!-- Data -->
<table class="alt1" height="18" border="1" cellspacing="0" cellpadding="0" width="100%">
<tr onmouseover="this.className='alt1'" onmouseout="this.className='alt2'"><td class="alt2" align="left" ><span id="data">
<script type="text/javascript"> vbmenu_register("data"); </script> <a href="#">Data and Schedules</a> </span></td></tr>
</table>
<!-- / Data -->
<!-- data Menu -->
<div class="vbmenu_popup" id="data_menu" style="display:none;margin-left:175px;">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">Data and Scheules</td></tr>
<tr><td class="vbmenu_option"><a href="$vboptions/index.php?page=shelters">Shelters and Mileage</a></td></tr>
</table>
</div>
</td>
</tr>
</table>
</if>
<tr>
<td class="alt2">
<!-- Items -->
<table class="alt1" height="18" border="1" cellspacing="0" cellpadding="0" width="100%">
<tr onmouseover="this.className='alt1'" onmouseout="this.className='alt2'"><td class="alt2" align="left" ><span id="items">
<script type="text/javascript"> vbmenu_register("items"); </script> <a href="#">AT Re-Supply Info</a> </span></td></tr>
</table>
<!-- / Items -->
<!-- Items Menu -->
<div class="vbmenu_popup" id="items_menu" style="display:none;margin-left:175px;">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">AT Re-Supply</td></tr>
<tr><td class="vbmenu_option"><a href="$vboptions/index.php?page=resupplypart1">Re-Supply Along the AT - Part 1</a></td></tr>
<tr><td class="vbmenu_option"><a href="$vboptions/index.php?page=resupplypart2">Re-Supply Along the AT - Part 2</a></td></tr>
</table>
</div>
<!-- Data -->
<table class="alt1" height="18" border="1" cellspacing="0" cellpadding="0" width="100%">
<tr onmouseover="this.className='alt1'" onmouseout="this.className='alt2'"><td class="alt2" align="left" ><span id="data">
<script type="text/javascript"> vbmenu_register("data"); </script> <a href="#">Data and Schedules</a> </span></td></tr>
</table>
<!-- / Data -->
<!-- data Menu -->
<div class="vbmenu_popup" id="data_menu" style="display:none;margin-left:175px;">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">Data and Scheules</td></tr>
<tr><td class="vbmenu_option"><a href="$vboptions/index.php?page=shelters">Shelters and Mileage</a></td></tr>
</table>
</div>
</td>
</tr>
</table>
</if>