POP UP MENU "alignment"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MRGTB
    Senior Member
    • May 2005
    • 5454

    POP UP MENU "alignment"

    I've added a new top menu bar and added two new popup menus, but there not aligning with the buttons.

    Here is my code used if anybody knows what I'm doing wrong, as I've tried all sorts and cannot get them to align with the drop down boxes.

    Check my site in sig to see example of what I mean.

    Code:
    <!-- top menu start -->
    <div align="center">
     <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-bottom-width:0px">
    <tr align="center">
    <!-- popup menu one start -->
    <td id="mypopupmenu" class="vbmenu_control"><a href="#mypopupmenu">Custom One</a> <script type="text/javascript"> vbmenu_register("mypopupmenu"); </script></td>
    <!-- popup menu one end -->
    </tr>
    </table>
    </div>
    <!-- popup menu links one start -->
     <div class="vbmenu_popup" id="mypopupmenu_menu" style="display:none">
      <table cellpadding="4" cellspacing="1" border="0">
      
      <tr><td class="thead">Custom 1</td></tr>  
    <tr><td class="vbmenu_option"><a href="index.php">Custom - a</a></td></tr>
    <tr><td class="vbmenu_option"><a href="index.php">Custom - b</a></td></tr>
    <tr><td class="vbmenu_option"><a href="index.php">Custom - b</a></td></tr>
      </table>
     </div>
    <!-- popup menu links one end -->
    <!-- top menu start -->
  • Jose Amaral Rego
    Senior Member
    • Feb 2005
    • 11058
    • 1.1.x

    #2
    Try making what you see in Toolbar in fourmdisplay | showthreads and see how that turns out. You will have to make CSS to color blend the lines to background of navbar.

    Comment

    • MRGTB
      Senior Member
      • May 2005
      • 5454

      #3
      Not really sure what you mean, I'll do a search here and on vB.org. There must be an easy way of just using soemthing in the code to align the popup box center so it aligns under the link I would have though, rather than having to edit other templates and CSS

      Comment

      • Jose Amaral Rego
        Senior Member
        • Feb 2005
        • 11058
        • 1.1.x

        #4
        I know that there is a hack for navbar, it has to do with no editing the template and doing it from hack only.

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...