View Full Version : Drop down menu?
Bratz-Designs
06-04-2007, 05:43 AM
Hello,
I am redesigning my forum header and i have came up with a small problem. My header consist of image links...no text links. If i use the standart vb method of making a drop down menu it generates an ugly button next to it (the menu_over.gif).
What is the easiest way to generate a drop down without that button?
Thanks in advanced!
Dismounted
06-04-2007, 12:11 PM
I'm guessing your using something along the lines of:
vbmenu_register('menuname')
Simply replace that with:
vbmenu_register('menuname', false)
Bratz-Designs
06-04-2007, 02:30 PM
This in the navbar:
<if condition="$show['member']"> <td id="usercptools" align="left" valign="top" width="79" height="33"><a href="http://www.bratz-designs.net/forums/usercp.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/usercp.gif" width="79" height="33" border="0" alt="UserCp" /></a></td></if>
and I am using this under the navbar popups:
<if condition="$show['member']">
<!-- user cp tools menu -->
<div class="vbmenu_popup" id="usercptools_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">$vbphrase[quick_links]</td></tr>
<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
<tr><td class="vbmenu_option"><a href="#" onClick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>
<tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
<if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
<!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
<if condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]">$vbphrase[subscribed_threads]</a></td></tr>
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="awards.php?$session[sessionurl]">Awards</a></td></tr>
</table>
</div>
<!-- / user cp tools menu -->
</if>
Dismounted
06-05-2007, 09:04 AM
Your User CP Link (the top one) doesn't refer to anything to do with a drop-down....
Bratz-Designs
06-05-2007, 11:14 AM
id="usercptools"
This does ;)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.