View Full Version : Close vB menu on click
Valter
04-11-2010, 02:07 PM
Easy way to get standard vBulletin menu closed when menu item is clicked?
I'm talking about situations where item is not actually link, but JS code.
Thanks.
.
Jaxel
04-12-2010, 05:10 PM
In your JS, put the folowing:
YAHOO.vBulletin.vBPopupMenu.close_all();
Valter
04-12-2010, 09:01 PM
Thanks, but:
Message: 'YAHOO.vBulletin' is null or not an object
.
Jaxel
04-14-2010, 07:39 AM
It can't not exist, its built directly into vbulletin if you are using ajax functions.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.