Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-28-2008, 01:34 AM
Oyabun Oyabun is offline
 
Join Date: Dec 2006
Location: Germany
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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:
<li><div id="navbar_search" align="left" class="vbmenu_control"><a 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></div>
</
li
for the search DHTML menu. It worked but it looked messed up....



Excuse my english. Hope someone helps me out
Reply With Quote
  #2  
Old 12-28-2008, 01:41 AM
KevinL KevinL is offline
 
Join Date: Apr 2005
Posts: 1,287
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

maybe a link or a picture? "messed up" doesn't really help at all...
Reply With Quote
  #3  
Old 12-28-2008, 02:26 AM
Oyabun Oyabun is offline
 
Join Date: Dec 2006
Location: Germany
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I added an attachment to my post...
If I can't change it in the css menu i'll just link to search.php
Attached Images
File Type: gif animation_show.gif (19.4 KB, 0 views)
Reply With Quote
  #4  
Old 12-28-2008, 02:48 AM
KevinL KevinL is offline
 
Join Date: Apr 2005
Posts: 1,287
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 12-28-2008, 03:05 AM
Oyabun Oyabun is offline
 
Join Date: Dec 2006
Location: Germany
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KevinL View Post
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.
There is nothing set to bold

Also i want the arrow to be removed and the navigation back to the normal layout (NORMALLY ENDS HERE line in my animated gif)
Reply With Quote
  #6  
Old 12-28-2008, 03:17 AM
KevinL KevinL is offline
 
Join Date: Apr 2005
Posts: 1,287
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It has to be set to bold someplace haha and it most likely has to do with
Code:
class="vbmenu_control"
The css for that has to be set to bold somewhere or in the css for the navbar --> jqueryslidemenu.css

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
Reply With Quote
  #7  
Old 12-28-2008, 03:19 AM
Oyabun Oyabun is offline
 
Join Date: Dec 2006
Location: Germany
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you just tell me what you'd change in the code? I searched everything^^
Reply With Quote
  #8  
Old 12-28-2008, 03:23 AM
KevinL KevinL is offline
 
Join Date: Apr 2005
Posts: 1,287
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #9  
Old 12-28-2008, 04:18 AM
Taragon's Avatar
Taragon Taragon is offline
 
Join Date: Sep 2007
Location: The Netherlands
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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&amp;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&amp;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>
--------------- Added [DATE]1230445289[/DATE] at [TIME]1230445289[/TIME] ---------------

some reading material: http://css.maxdesign.com.au/listamatic/
Reply With Quote
  #10  
Old 12-28-2008, 06:06 PM
Oyabun Oyabun is offline
 
Join Date: Dec 2006
Location: Germany
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Attached Images
File Type: jpg approved.jpg (70.5 KB, 0 views)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:54 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.04643 seconds
  • Memory Usage 2,288KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete