![]() |
vBulletin Drop Downs on Hover (no click required)
1 Attachment(s)
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: Code:
<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: Code:
<script> Optional *for some styles only, which have compatibility issues * If you're having issues with the menu showing a bit below the button, add the following at the end of the additional.css template: HTML Code:
.navtabs ul.popupbody { |
Reserved.
|
Going to give this a try after I view all the menu's it effects
|
You can also reference jquery from the default VB install.
../clientscript/jquery |
Quote:
Quote:
|
1 Attachment(s)
Was just about to submit something like this, thanks Gio !
However, adding this gives a space under the parent menu and this makes it hard to then hover over the popup menu, you can do it but you have to move your mouse really fast to catch it, see screen shot below. .Me |
Quote:
|
Quote:
|
I installed this also and really don't have the issue you guys described. Kinda weird it does for some and not for others.
Yes there is a little gap but it doesn't give me problems using the mouse to select any options from the popup. |
Quote:
|
All times are GMT. The time now is 02:10 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|