PDA

View Full Version : Using Navbar Store Link on custom button


deb0
02-14-2005, 10:48 AM
I have the uCash hack working flawlessly.

I am having with the Store link that is place on Navbar, when using a custome navbar with buttons instead of text. I used the directions provided in the uCash Readme for adding the link in your navbar, but it doesn't seem to work for a button graphic.

The buttons show up fine on my buttonnavbar, but I can get this Store link to work right. What should the syntax be?

The instructions say:

<td id="shop" class="vbmenu_control"><a href="#shop">Store</a><script type="text/javascript"> vbmenu_register("shop");</script></td>

The second part of the instructions is to add the shop menu. Since these custome templates do not use the navbar, where shold I place this?

<!-- shop menu -->
<div class="vbmenu_popup" id="shop_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead"><a href="ushop.php$session[sessionurl]">uShop Menu</a></td></tr>
<tr><td class="vbmenu_option"><a href="ushop.php?do=a&shortname=bank">Bank</a></td></tr>
<tr><td class="vbmenu_option"><a href="ushop.php?do=richestusers">Richest Members</a></td></tr>
<tr><td class="vbmenu_option"><a href="ushop.php?do=mostsold">Most Sold</a></td></tr>
<tr><td class="vbmenu_option"><a href="ushop.php?do=userhistory">History</a></td></tr>
<if condition="!empty($ushop_navbar)">
<tr><td class="thead"><a href="ushop.php$session[sessionurl]">Actions</a></td></tr>
$ushop_navbar</if>
</table>
</div>
<!-- / shop menu -->

Thanks for your help in advance.

FFZoneXtreme
02-16-2005, 07:11 PM
this is working on my site and I have this code:
<td align="left" valign="top" id="shop"><a href="#shop"><img src="$stylevar[imgdir_misc]/firmament_header_tienda.gif" border="0" alt="Menu Rapido" /></a><script type="text/javascript"> vbmenu_register("shop");</script></td>


But I have anothe problem now, I can?t remove the "Drop_down menu icon" u.u

deb0
02-17-2005, 08:06 PM
gonna try this tonight, thx.

Link14716
02-18-2005, 08:00 PM
vbmenu_register("shop", 1); should get rid of the drop down menu icon.