Announcement

Collapse
No announcement yet.

POP UP MENU "alignment"

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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 -->

  • #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


    • #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


      • #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...
        X