Log in

View Full Version : vbulletin_menu.js help


miz
03-26-2005, 09:03 PM
hey guys i have tried modify this file so instead of onclik it will use onmouseover

to do so

on line 413

i changed :


controlobj.onclick = vbmenu_eventhandler_click;
controlobj.onmouseover = vbmenu_eventhandler_mouseover;


to

controlobj.onclick = vbmenu_navtolink;
controlobj.onmouseover = vbmenu_eventhandler_click;

worked like a charm but i dont want all of site links will be like that
i want only the links i define to be like that

so on the call from template


<scripttype="text/javascript">vbmenu_register("postmenu_$thread[threadid]",true);</script>

will get the onclick trigger

and

<scripttype="text/javascript">vbmenu2_register("postmenu_$thread[threadid]",true);</script>

will get onmouseover trigger

any idea about how to do it ?

hope u got me right

thanx

miz
03-31-2005, 04:49 PM
bump

bump again

and again