No announcement yet.

Quick links menu not working in IE

  • Filter
  • Time
  • Show
Clear All
new posts

  • Quick links menu not working in IE

    Basically I've been playing around with the quick links menu and I've stuck the code (which worked) into the header and made the link an image instead.

    I've included the code for this below.

    Link Code
    <a href="#usercptools" id="usercptools">
    <img src="images/misc/quicklinks_6.gif" height="31" width="172" border="0" alt="Quick Links" />
    <script type="text/javascript"> vbmenu_register("usercptools", true); </script>
    Quick links menu code
    <if condition="$show['member']">
        <!-- user cp tools menu -->
        <div class="vbmenu_popup" id="usercptools_menu" style="display:none">
            <table cellpadding="4" cellspacing="0" border="0">
        <tr><td class="thead">$vbphrase[quick_links]</td></tr>    
    <tr><td class="vbmenu_option"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td></tr>    
            <if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
            <tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
            <tr><td class="vbmenu_option"><a href="#" onclick="'misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>
            <tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
            <if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
            <!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
            <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
            <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
            <tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
            <if condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>
            <tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr>
            <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
            <if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
        <!-- / user cp tools menu -->
    However, it's not coming up (in IE - it does in firefox). The search drop down comes up in both IE and Firefox. This quick links one is the only one that didn't work. I've included the search code below so you can compare.

    Link code
    <a href="search.php?$session[sessionurl]" accesskey="4" id="navbar_search">
    <img src="images/misc/search_4.gif" height="31" width="172" alt="Search Forums" border="0" />
    <script type="text/javascript"> vbmenu_register("navbar_search", true); </script>
    Search menu code
        <!-- header quick search form -->
        <div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
            <table cellpadding="4" cellspacing="0" border="0">
                <td class="thead">$vbphrase[search_forums]</td>
                <td class="vbmenu_option" title="nohilite">
                <form action="search.php" method="post">
                    <input type="hidden" name="do" value="process" />
                    <input type="hidden" name="showposts" value="0" />
                    <input type="hidden" name="quicksearch" value="1" />
                    <input type="hidden" name="s" value="$session[sessionhash]" />
                    <input type="text" class="bginput" name="query" size="20" />&nbsp;$gobutton<br />
                <td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
        <!-- / header quick search form -->
    Any ideas why this isn't working?

  • #2
    Any ideas. Probably worth also noting that this is the only code referring to the drop downs and I've got nothing in the navbar template.

    It's pretty urgent.


    • #3
      Save your non default code, revert the template, does it work?


      • #4
        Reverted navbar and removed all quick links code from the header and it showed up fine on the navbar in IE.

        - So I presume this means that it's a problem in the code above?


        • #5
          Anymore ideas?


          • #6
            .....sorry for endlessly bumping the thread, it's just quite urgent as at the moment I'll be alienating 80% of my clients' users.


            • #7
              Any ideas?


              • #8
                i think you'd get more responses at they deal with all kinds of vB modifications.

                here is more about the straight vB and issues with that.


                • #9
                  Ok, thanks. I'll have a go over there.


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