vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   vbulletin_menu.js help (https://vborg.vbsupport.ru/showthread.php?t=78850)

miz 03-26-2005 09:03 PM

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

miz 03-31-2005 04:49 PM

bump

bump again

and again


All times are GMT. The time now is 10:59 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
  • Page Generation 0.00937 seconds
  • Memory Usage 1,717KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete