MyBB Community Forums

Full Version: Drop down menu in header not working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

Currently on my forum, where it says "Welcome back, <user>" there is meant to be a dropdown menu when you click it, but when you click it, it reloads the page.

Sorry if this is a rookie error, I am kinda new.

Here is the forum

<a href="" id="ddnmenu">Welcome back, {$mybb->user['username']} <i class="fa fa-caret-down"></i></a>
 <div id="ddnmenu_popup" class="popup_menu" style="display: none;">
<div class="popup_item_container">
<a href="{$mybb->settings['bburl']}/usercp.php" class="popup_item clr_gry">
User Panel
<i class="fa fa-user menuadj"></i></a>
</div>
<div class="popup_item_container">
<a href="{$mybb->settings['bburl']}/usercp.php?action=profile" class="popup_item clr_gry">Edit Profile
<i class="fa fa-pencil menuadj"></i></a>
</div>
<div class="popup_item_container">
<a href="{$mybb->settings['bburl']}/usercp.php?action=options" class="popup_item clr_gry">Edit Options
<i class="fa fa-cogs menuadj"></i></a>
</div>
<div class="popup_item_container">
<a href="{$mybb->settings['bburl']}/usercp.php?action=avatar" class="popup_item clr_gry">Edit Avatar
<i class="fa fa-picture-o menuadj"></i></a>
</div>
<div class="popup_item_container">
<a href="{$mybb->settings['bburl']}/usercp.php?action=editsig" class="popup_item clr_gry" style="padding-bottom: 4px;">Edit Signature
<i class="fa fa-paint-brush menuadj"></i></a>
</div>
<div class="popup_item_container" style="border-top: 1px solid rgba(0, 0, 0, .023);">
<a href="{$mybb->settings['bburl']}/member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}" class="popup_item clr_gry">{$lang->welcome_logout}!
<i class="fa fa-power-off menuadj"></i>
</a>
</div> 
</div>
<script type="text/javascript">
// <!--
if(use_xmlhttprequest == "1")
{
$("#ddnmenu").popupMenu();
}
// -->
</script>
i think that due an error

[Image: BO210vo.jpg]

i might be wrong i just checked the forum by the console of firefox browser nothing more
I don't believe that is the problem
Well just had quick look and found 5 errors all of them are JS related so if you fix them you are set.
http://forums.airborne-delta.com/jscripts/jquery.plugins_e.js?ver=1806 Failed to load resource: the server responded with a status of 404 (Not Found)
http://forums.airborne-delta.com/jscripts/everest.js?ver=1806 Failed to load resource: the server responded with a status of 404 (Not Found)
http://forums.airborne-delta.com/jscripts/jquery.plugins_e.js?ver=1806 Failed to load resource: the server responded with a status of 404 (Not Found)
http://forums.airborne-delta.com/jscripts/everest.js?ver=1806 Failed to load resource: the server responded with a status of 404 (Not Found)
http://forums.airborne-delta.com/favicon.ico Failed to load resource: the server responded with a status of 404 (Not Found)