The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
DHTML menu in CSS menu problem!!!
Hi guys
I was just about to use this menu as my new navbar. I deleted most of the code in the navbar template. The breadcrumb and username/welcomemessage/private messages and notifications are still left. Now i put the entire code (from dynamic drive) into the header template to the head and html section. It works perfect but there is one problem! I can't get the old DHTML Menus into the new navbar menu... I tried to put in PHP Code:
Excuse my english. Hope someone helps me out |
#2
|
|||
|
|||
maybe a link or a picture? "messed up" doesn't really help at all...
|
#3
|
|||
|
|||
I added an attachment to my post...
If I can't change it in the css menu i'll just link to search.php |
#4
|
|||
|
|||
In your css for your board it must be set to bold for vbmenu_control
look here "Popup Menu Controls" ...it might be set to bold change that to what you want. |
#5
|
|||
|
|||
Quote:
Also i want the arrow to be removed and the navigation back to the normal layout (NORMALLY ENDS HERE line in my animated gif) |
#6
|
|||
|
|||
It has to be set to bold someplace haha and it most likely has to do with
Code:
class="vbmenu_control" And as for the layout that should be set in the css layout I thought it was already set. The attributes like hight and width of the boxes...hmmm |
#7
|
|||
|
|||
Can you just tell me what you'd change in the code? I searched everything^^
|
#8
|
|||
|
|||
haha well...with what you gave me I have no idea! You gave me a picture and a snip of vb code! Maybe a link to your site? And hopefully guests can see the skin in question?
|
#9
|
||||
|
||||
thanks, by looking for an answer I just found a relating error at my own forums
this should do the trick: Code:
<div id="myslidemenu" class="jqueryslidemenu"> <ul> <if condition="$show['member']"> <li><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></li> </if> <if condition="$show['registerbutton']"> <li><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></li> </if> $template_hook[navbar_buttons_left] <li><a rel="help" href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></li> <if condition="$show['communitylink'] AND $show['popups']"> <li><a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="6">$vbphrase[community]</a> <script type="text/javascript"> vbmenu_register("community"); </script></li> <else /> <if condition="$vboptions['enablememberlist']"> <li><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></li> </if> <if condition="$show['quick_links_groups']"> <li><a href="group.php?$session[sessionurl]">$vbphrase[social_groups]</a></li> </if> </if> <li><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></li> <if condition="$show['popups']"> <if condition="$show['searchbuttons']"> <if condition="$show['member']"> <li><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></li> <else /> <li><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></li> </if> <li><a id="navbar_search" href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></li> </if> <if condition="$show['member']"> <li><a id="usercptools" href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></li> </if> <else /> <if condition="$show['searchbuttons']"> <li><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></li> <if condition="$show['member']"> <li><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></li> <else /> <li><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></li> </if> </if> <li><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></li> <if condition="$show['member']"> <li><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_contacts]</a></li> </if> </if> $template_hook[navbar_buttons_right] <if condition="$show['member']"> <li><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></li> </if> </ul> <br style="clear: left" /> </div> some reading material: http://css.maxdesign.com.au/listamatic/ |
#10
|
|||
|
|||
MAN thank you so much. It works
I could make a modification out of it^^ Edit: Now i just have to figure out how to make the other menu buttons open by click |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|