Custom Drop Down Menu

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TruthElixirX
    Senior Member
    • Sep 2004
    • 1004
    • 3.6.x

    Custom Drop Down Menu

    I followed the instructions here but to no avail.


    Code:
    <td id="mygo" class="vbmenu_control">
        <a href="#">My Go</a>
        <script type="text/javascript">
            vbmenu_register("mygo");
        </script>
    </td>
    Code:
    <div class="vbmenu_popup" id="mygo" style="display:none">
    <table cellpadding="4" cellspacing="1" border="0">
            <tr>
                <td class="thead">My Go</td>
            </tr>
            <tr>
                <td class="vbmenu_option" title="nohilite">
    <a href="http://www.experiencefestival.com/forum/member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[your_profile]</a>
    </td>
    </tr>
            <tr>
                <td class="vbmenu_option" title="nohilite">
    <a href="http://www.experiencefestival.com/forum/usercp.php">My Account</a>
    </td>
    </tr>
    <tr>
                <td class="vbmenu_option" title="nohilite">
    <a href="http://www.experiencefestival.com/forum/blog.php?$session[sessionurl]u=$bbuserinfo[userid]">My Blog</a>
    </td>
    </tr>
    <tr>
                <td class="vbmenu_option" title="nohilite">
    <a href="http://www.experiencefestival.com/forum/profile.php?do=buddylist">My Friends</a>
    </td>
    </tr>
    <tr>
                <td class="vbmenu_option" title="nohilite">
    <a href="http://www.experiencefestival.com/forum/private.php">My Private Messages</a>
    </td>
    </tr>
    <tr>
                <td class="vbmenu_option" title="nohilite">
    <a href="http://www.experiencefestival.com/forum/group.php">My Groups</a>
    </td>
    </tr>
    <tr>
                <td class="vbmenu_option" title="nohilite">
    <a href="http://www.experiencefestival.com/forum/photopost/useralbums.php">My Albums</a>
    </td>
    </tr>
    <tr>
                <td class="vbmenu_option" title="nohilite">
    <a href="http://www.experiencefestival.com/forum/photopost/showgallery.php?cat=fav">My Favorite Photos</a>
    </td>
    </tr>
    </table>
    </div>
    I'm not sure what I am doing wrong. When I click the arrow in the navbar to trigger the menu to display I just get "http://www.experiencefestival.com/forum/#" as a link with no pop up.
  • Lynne
    Former vBulletin Support
    • Oct 2004
    • 26255

    #2
    Instead of:
    HTML Code:
     <div class="vbmenu_popup" id="mygo" style="display:none">
    Try:
    HTML Code:
     <div class="vbmenu_popup" id="mygo_menu" style="display:none">

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools &lt;- awesome site for html/css help

    Comment

    • TruthElixirX
      Senior Member
      • Sep 2004
      • 1004
      • 3.6.x

      #3
      Originally posted by U2Lynne
      Instead of:
      HTML Code:
       <div class="vbmenu_popup" id="mygo" style="display:none">
      Try:
      HTML Code:
       <div class="vbmenu_popup" id="mygo_menu" style="display:none">
      That got it, sort of:

      The roll over effect doesn't work on the custom drop down menu:



      Compare the first "My GO" menu to "Quick Links".

      When you roll over the options on Quick Links they change color, but not on the My GO menu.
      Last edited by TruthElixirX; Tue 6 May '08, 1:40pm.

      Comment

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