AndrewD
03-05-2006, 07:44 AM
I'm not a javascript guru :disappointed:
Standard VB 3.5 drop-down menus are coded to open and close the menus when they trap an onclick() event.
Any ideas what the javascript looks like to copy these actions over into the onmouseover and onmouseout events? Presumably it's an assignment of something like object.onmouseover = object.onclick but what will the object be?
(see clientscript/vbulletin_menu.js, around line 180)
I wanting to use this code in another situation where I prefer to trap mouseovers to clicks
Thanks
Standard VB 3.5 drop-down menus are coded to open and close the menus when they trap an onclick() event.
Any ideas what the javascript looks like to copy these actions over into the onmouseover and onmouseout events? Presumably it's an assignment of something like object.onmouseover = object.onclick but what will the object be?
(see clientscript/vbulletin_menu.js, around line 180)
I wanting to use this code in another situation where I prefer to trap mouseovers to clicks
Thanks