Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-26-2005, 09:03 PM
miz miz is offline
 
Join Date: Mar 2003
Posts: 416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default vbulletin_menu.js help

hey guys i have tried modify this file so instead of onclik it will use onmouseover

to do so

on line 413

i changed :

PHP Code:
        controlobj.onclick = vbmenu_eventhandler_click;
        controlobj.onmouseover = vbmenu_eventhandler_mouseover; 
to

PHP Code:
    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


PHP Code:
    <scripttype="text/javascript">vbmenu_register("postmenu_$thread[threadid]",true);</script> 
will get the onclick trigger

and

PHP Code:
    <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
Reply With Quote
  #2  
Old 03-31-2005, 03:49 PM
miz miz is offline
 
Join Date: Mar 2003
Posts: 416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump

bump again

and again
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:13 PM.


Powered by vBulletin® Version 3.9.0
Copyright ©2000 - 2017, vBulletin Solutions Inc.