• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

vBulletin Drop Downs on Hover (no click required)

Admin

Well-Known Member
Staff member
Administrator
Brought To You By
ProvB - Vbulletin Solutions & Services
http://www.provb.org

What is this mod?
The standard drop down menus in vBulletin (navbar, etc) require a click in order to view the drop down menus. With this little mod, the drop downs will expand simply by hovering.

Ran into this with a client of mine and didn't want to charge them to write a few lines of code, so figured I'd just write it and share it with you all.

Included an attachment below in case you're wondering what kind of menus this mod effects.

Step 1
Determine whether or not you are calling jquery. If you're not sure you can view the source of your website and search for jquery, or just assume you don't have it. If you don't believe you have it, simply go to the headinclude_bottom template and enter this:
HTML:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>


Step 2
Go to your footer template and insert this at the bottom:
<script>
$(".popupmenu").hover(
function () {
$(this).find( '.popupbody' ).show();
},
function () {
$(this).find( '.popupbody' ).hide();
}
);
</script>
 

Facebook Comments

New posts New threads New resources

Back
Top