Problems with popup menu's.

Discussion in 'HTML & Website Design' started by extreme101, Jun 14, 2007.

  1. #1
    I have recently purchased then customized a custom skin for my forums (www.ozcommunity.net)
    You can see the new skin at this link

    The top navigation contains basic links, but i want to use the built in vbulletin popup menu system to make them well 'popup'
    I have attempted to make popup menu's for them using the following instructions
    http://www.vbulletin.com/docs/html/templates_vbmenu

    but i run into problems.

    i am using the following in replace of the navbar image for search, this is whats called the control, which will call the popup to perform.
    <div id="MyMENU" class="vbmenu_control">
        [COLOR="DarkOrange"]<a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow"><img src="images/attention/misc/search.gif" alt="$vbphrase[search]" style="border-left:1px solid #9bacc6;" class="domroll images/attention/misc/search_o.gif" /></a>[/COLOR]
    <script type="text/javascript">
        vbmenu_register("MyMENU", true);
    </script>
    </div>
    Code (markup):
    the orange section of code it basically just the image element with its link.

    and the following is the actualy popup element.
    <div class="vbmenu_popup" id="MyMENU_menu" style="display:none">
        Any HTML here will be a part of the
        vBMenu popup identified as 'MyMENU'
    </div>
    
    Code (markup):
    and this is the result i get
    [​IMG]

    I have been told that i need to give the div in the first part dimensions and float it, i tried that and all it did was make it float left. didnt keep it in line with all other buttons.

    the css for 'vbmenu_popup' and 'vbmenu_control' only contain colour, background and font attributes.
    the style for the td surrounding the nav buttons/image is
    <td style="background-color: #fce071; height:34px;width:100%;text-align:center;border-bottom:1px solid #9bacc6;">
    Code (markup):
    anyway i am stumped on this, hopefully someone here can point me in the right direction.
     
    extreme101, Jun 14, 2007 IP
  2. extreme101

    extreme101 Peon

    Messages:
    81
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    still have this problem, does anybody have any ideas what could be causeing it?
     
    extreme101, Jun 15, 2007 IP