![]() |
How do I get rid of the menu_open.gif in header template?
I am creating a navbar consisting of buttons rather than the default vb navbar. The navbar is working fine but the menu_open.gif is appearing below the search and quicklink buttons and causes the navbar to gain height. How do I get rid of these arrows?
I changed the following code: <script type="text/javascript"> vbmenu_register("navbar_search" ,1); </script> to this <script type="text/javascript"> vbmenu_register("navbar_search" ,true); </script> but that didn't work at all. Any suggestions please? Thanks |
<script type="text/javascript"> vbmenu_register("navbar_search", 1); </script>
Swap the space and comma ;) . |
or
Code:
<script type="text/javascript">vbmenu_register("navbar_search", true); </script> Code:
<script type="text/javascript"> vbmenu_register("usercptools", true); </script> |
I tried both suggestions but I am still getting the arrows.
Here is the exact code that I am using: Code:
|
See if you have two of these scripts on the same page.
<script type="text/javascript"> vbmenu_register("navbar_search"); </script> KJ |
Quote:
|
Quote:
Code:
<td align="left" valign="top" width="61" height="27" id="navbar_search"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow"><img src="$stylevar[imgdir_misc]/search.gif" width="61" height="27" border="0" alt="" /></a><script type="text/javascript"> vbmenu_register("navbar_search", true); </script></td> |
Did you try what I posted on vb.com with the changing of all the ids? It worked just fine on my test site when I changed it in all the spots I did in that code that I posted on vb.com It's not just the call in the script, it's the ids also. ids must be unique. You cannot have two things with the same id.
|
Quote:
I forgot that when I use custom buttons in the header for navigation, I have to edit the Navbar template and delete everything between the Code:
A stupid mistake on my part but I won't make the same mistake again. :D Many thanks to you Lynne and everyone else for the great effort to help me find the problem. |
All times are GMT. The time now is 06:51 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|