PDA

View Full Version : Popup menu in my second navbar


medicalforums
08-21-2009, 12:13 AM
I created another navigation bar to appear below the default
So in navbar template I add this

<!-- / nav buttons bar -->

<!-- Second nav buttons bar -->
<div class="tborder" style="padding:$stylevar[cellspacing]px; border-top-width:0px">
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr align="center">
<td class="vbmenu_control"><a href="url">Link</a></td>
<td id="mypopupmenu" class="vbmenu_control"><a href="#mypopupmenu">Menu Title</a> <script type="text/javascript"> vbmenu_register("mypopupmenu"); </script></td>
</tr>
</table>
</div>
<br />
<!--/Second nav buttons bar -->

And also I placed the popup menu ID here's the code
<!-- / user cp tools menu -->
</if>
<!-- mypopupmenu -->
<div align="center" class="vbmenu_popup" id="mypopupmenu_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<center>
<tr><td class="thead">Link Title</td></tr>
<tr><td class="vbmenu_option"><a href="url">Link</a></td></tr>
</center>
</table>
</div>
<!-- / mypopupmenu -->
<!-- / NAVBAR POPUP MENUS -->
<!-- PAGENAV POPUP -->

The problem is that am getting the popup menu off aligned see this screenshot
103480

Any idea how to correct this problem