vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Drop downs without the arrows (https://vborg.vbsupport.ru/showthread.php?t=91454)

blueuniverse 07-01-2005 02:15 PM

Drop downs without the arrows
 
On a style I'm working on, I need to get the drop down menus activated just by clicking on the image link but it seems the only way to get them to work is to include the arrow via this code.

Code:

<script type="text/javascript"> vbmenu_register("usercptools"); </script>

While I normally wouldn't have a problem it forces my design onto a new line and makes it look poor. Is there anyway to change the variable so it doesn't require the image or just to get the javascript working without vbmenu_register and the image which comes with it.

Posted that over at vbulletin.com and Jake Bunce said

Quote:

It looks to me like this would require editing the vbmenu_doregister() function in the clientscript/vbulletin_menu.js file
and to post it over here as you guys would probably be better at helping me out.

deathemperor 07-01-2005 05:31 PM

try
HTML Code:

<script type="text/javascript"> vbmenu_register("usercptools", true); </script>
it will remove the image. in vb3.0 it maybe 1 instead of 'true'.

Zachery 07-01-2005 05:52 PM

<script type="text/javascript"> vbmenu_register("usercptools", 1); </script>
<script type="text/javascript"> vbmenu_register("usercptools", true); </script>

Either works

Like I said at vB.com

blueuniverse 07-01-2005 06:47 PM

Thanks that works really well. :)


All times are GMT. The time now is 04:58 PM.

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.01398 seconds
  • Memory Usage 1,713KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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