View Single Post
  #35  
Old 11-07-2006, 01:01 AM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I added this now

Code:
<td class="nav_menu_control" id="1" ><a href="#1">Test</a> 
<script type="text/javascript"> vbmenu_register("1"); </script></td>
It shows "test" with the drop down arrow (good) but clicking it, nothing happens nor anything shows (sub menu).

header
Code:
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center" class="header_bg">
<tr>
	<td align="$stylevar[left]" valign="top"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
	<td align="$stylevar[right]">
		<div align=center>

		</div><!-- banners --><img border="0" src="http://www.talkjesus.com/images/right-logo.gif"></td>
</tr>
<tr>
<td height="34" colspan="2">

<!-- nav buttons bar -->
<div align="center">
	<table  cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%">
	<tr align="center">
		<td class="nav_menu_control" width="16"><a href="http://www.talkjesus.com/index.php">
		<img src="http://www.talkjesus.com/images/home.gif" border="0"></a></td>
		<if condition="$show['member']">
			<td class="nav_menu_control" width="91"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
		</if>
		<if condition="$show['registerbutton']">
			<td class="nav_menu_control" width="91"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
		</if>
		<td class="nav_menu_control" width="92"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
		<td class="nav_menu_control" width="92"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
		<td class="nav_menu_control" width="92"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
<!-- v3 Arcade -->
<td class="nav_menu_control" width="92"><a href="arcade.php$session[sessionurl_q]">Arcade</a></td>
<!-- /v3 Arcade -->
		<if condition="$show['popups']">		
			<if condition="$show['searchbuttons']">
				<if condition="$show['member']">
				<td class="nav_menu_control" width="92"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
				<else />
				<td class="nav_menu_control" width="92"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
				</if>
<td class="nav_menu_control" id="1" ><a href="#1">Test</a> 
<script type="text/javascript"> vbmenu_register("1"); </script></td>
				<td id="navbar_search" class="nav_menu_control" width="92"><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></td>
			</if>
<td id="journalnavbar" class="nav_menu_control" width="92"><a href="#journalnavbar">$vbphrase[journals]</a> <script type="text/javascript"> vbmenu_register("journalnavbar"); </script></td>
			<if condition="$show['member']">
				<td id="usercptools" class="nav_menu_control" width="92"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>		
			</if>
		<else />		
			<if condition="$show['searchbuttons']">
				<td class="nav_menu_control" width="92"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
				<if condition="$show['member']">
				<td class="nav_menu_control" width="92"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
				<else />
				<td class="nav_menu_control" width="92"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
				</if>
			</if>
			<td class="nav_menu_control" width="92"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
			<if condition="$show['member']">			
				<td class="nav_menu_control" width="92"><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_buddy_list]</a></td>			
			</if>			
		</if>
		<if condition="$show['member']">
			<td class="nav_menu_control" width="92"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td>
		</if>
	</tr>
	</table>
</div>
<!-- / nav buttons bar -->
</td></tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

<!--[if lt IE 7.]>
<script defer type="text/javascript" src="clientscript/pngfix.js"></script>
<![endif]-->
top_nav
Code:
<!--######## start of navbar2 ########-->

<!-- nav2 buttons bar --> 
<div align="center"> 
  <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px"> 
    <tr align="center"> 
      
      <td class="vbmenu_control">Entertainment</td> 
	  
	   <!-- dropdown start --> 
      <td id="1" class="vbmenu_control"><a href="#1">Drop down</a> 
        <script type="text/javascript"> vbmenu_register("extra"); </script></td> 
      <!-- dropdown end --> 
 
     </tr> 
  </table> 
</div>
<!-- / nav2 buttons bar --> 
<if condition="$show['popups']"> 
<!-- NAVBAR POPUP MENUS --> 

<!-- extras pop start --> 
<div class="vbmenu_popup" id="1_menu" style="display:none"> 
  <table cellpadding="4" cellspacing="1" border="0"> 
    <tr> 
      <td class="thead">Drop Down</td> 
    </tr> 
    <tr> 
      <td class="vbmenu_option"><a href="link">link</a></td> 
    </tr> 
    <tr> 
      <td class="vbmenu_option"><a href="link">link</a></td> 
    </tr> 
    <tr> 
      <td class="vbmenu_option"><a href="link">link</a></td> 
    </tr> 
    <tr> 
      <td class="vbmenu_option"><a href="link">link</a></td> 
    </tr> 
  </table>
  </if>
</div>
<!-- extras pop end --> 
<!-- / NAVBAR POPUP MENUS --> 
<!--####### end of navbar2 #######-->
What did I do wrong?
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01088 seconds
  • Memory Usage 1,806KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete