Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-13-2006, 10:45 AM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default custom drop down menu bar crashing IE

HTML Code:
<div class="tborder" style="padding: 1px">
	<table align="center" border="0" cellpadding="2" cellspacing="0" class="thead" width="100%">
		<tr align="center">
			<if condition="$show['member']">
				<td id="ratio" nowrap="nowrap" width="$navbarwidth"><span class="smallfont"><a href="misc.php?$session[sessionurl]do=stats">Ratio: $ratio[ratio]</a></span> <script type="text/javascript"> vbmenu_register("ratio"); </script></td>
				<td id="mystuff" nowrap="nowrap" width="$navbarwidth"><span class="smallfont"><a href="browse.php?$session[sessionurl]do=mystuff">My Stuff</a></span> <script type="text/javascript"> vbmenu_register("mystuff"); </script></td>
			</if>
			<td id="whatsnew" nowrap="nowrap" width="$navbarwidth"><span class="smallfont"><a href="browse.php?$session[sessionurl]do=newpieces">What's New?</a></span> <script type="text/javascript"> vbmenu_register("whatsnew"); </script></td>
			<td id="whatspopular" nowrap="nowrap" width="$navbarwidth"><span class="smallfont"><a href="browse.php?$session[sessionurl]do=poppieces">What's Popular?</a></span> <script type="text/javascript"> vbmenu_register("whatspopular"); </script></td>
			<td width="$navbarwidth"><span class="smallfont"><a href="browse.php?$session[sessionurl]">Browse</a></span></td>
			<td width="$navbarwidth"><span class="smallfont"><a href="submit.php?$session[sessionurl]">Submit</a></span></td>
			<td id="creativeglobalsearch" nowrap="nowrap" width="$navbarwidth"><span class="smallfont"><a href="search.php?$session[sessionurl]">Search</a> <script type="text/javascript"> vbmenu_register("creativeglobalsearch"); </script></span></td>
		</tr>
	</table>
</div>

<if condition="$show['popups']">
	<if condition="$show['member']">
		<div class="vbmenu_popup" id="ratio_menu" style="display: none;">
			<table cellpadding="4" cellspacing="1">
				<tr>
					<td class="vbmenu_option"><a href="misc.php?$session[sessionurl]do=mystats">Pieces Posted: $ratio[pieces]</a></td>
				</tr>
				<tr>
					<td class="vbmenu_option"><a href="misc.php?$session[sessionurl]do=mystats">Reviews Posted: $ratio[reviews]</a></td>
				</tr>
			</table>
		</div>

		<div class="vbmenu_popup" id="mystuff_menu" style="display: none;">
			<table cellpadding="4" cellspacing="1">
				<tr>
					<td class="vbmenu_option"><a href="browse.php?$session[sessionurl]do=favourites">My Favourites</a></td>
				</tr>
				<tr>
					<td class="vbmenu_option"><a href="browse.php?$session[sessionurl]do=subscriptions">My Subscriptions</a> &nbsp; &nbsp; &nbsp; </td>
				</tr>
				<tr>
					<td class="vbmenu_option"><a href="browse.php?do=member&user=$bbuserinfo[userid]">My Gallery</a> &nbsp; &nbsp; &nbsp; </td>
				</tr>
			</table>
		</div>
	</if>

	<div class="vbmenu_popup" id="whatsnew_menu" style="display:none">
		<table cellpadding="4" cellspacing="1" border="0">
			<tr>
				<td class="vbmenu_option"><a href="browse.php?$session[sessionurl]do=newpieces">Newest Pieces</a></td>
			</tr>
			<tr>
				<td class="vbmenu_option"><a href="browse.php?$session[sessionurl]do=newreviews">Newest Reviews</a></td>
			</tr>
		</table>
	</div>

	<div class="vbmenu_popup" id="whatspopular_menu" style="display:none">
		<table cellpadding="4" cellspacing="1" border="0">
			<tr>
				<td class="vbmenu_option"><a href="browse.php?$session[sessionurl]do=pop&amp;orderby=views">Top Viewed</a></td>
			</tr>
			<tr>
				<td class="vbmenu_option"><a href="browse.php?$session[sessionurl]do=pop&amp;orderby=rating">Top Rated</a></td>
			</tr>
			<tr>
				<td class="vbmenu_option"><a href="browse.php?$session[sessionurl]do=pop&amp;orderby=posts">Top Reviewed</a></td>
			</tr>
		</table>
	</div>

	<div class="vbmenu_popup" id="creativeglobalsearch_menu" style="display:none">
		<form action="find.php" method="post">
			<table cellpadding="4" cellspacing="1">
				<tr>
					<td class="thead" colspan="2">Search</td>
				</tr>
				<tr>
					<td class="vbmenu_option" title="nohilite">
						<select name="searchfield">
							<option value="title" $searchfield[title]>Title</option>
							<option value="author" $searchfield[author]>Author</option>
							<option value="text" $searchfield[text]>Text</option>
						</select>
					</td>
					<td>
						<input type="text" class="bginput" name="query" size="20" style="width:175px" />
					</td>
				</tr>
				<tr>
					<td class="vbmenu_option" title="nohilite" align="center" colspan="2">
						<input type="hidden" name="s" value="$session[sessionhash]" />
						<input type="hidden" name="do" value="process" />
						<input type="hidden" name="formuserid" value="$bbuserinfo[userid]" />
						$gobutton
					</td>
				</tr>
			</table>
		</form>
	</div>
</if>
any idea why?
Reply With Quote
  #2  
Old 02-13-2006, 10:54 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it's probably something else ... can you post the page that is causing this problem?
Reply With Quote
  #3  
Old 02-13-2006, 10:59 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it's on my localhost, if i comment out the above in the php then it loads fine, but the second i re-include it, i get IE problems.
Reply With Quote
  #4  
Old 02-13-2006, 11:03 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

something is probably missing (or wrong) locally ... I recommend testing it online and see what happens.
Reply With Quote
  #5  
Old 03-15-2006, 07:34 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i still can't get this to work :|
Reply With Quote
  #6  
Old 03-15-2006, 08:56 PM
PitchouneN64ngc's Avatar
PitchouneN64ngc PitchouneN64ngc is offline
Senior Member
 
Join Date: Aug 2002
Location: France
Posts: 515
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And with this code? (I've put a template conditional around the first table) :

HTML Code:
<div class="tborder" style="padding: 1px">
<table align="center" border="0" cellpadding="2" cellspacing="0" class="thead" width="100%">
<tr align="center">
<if condition="$show['popups']">
<if condition="$show['member']">
<td id="ratio" nowrap="nowrap" width="$navbarwidth"><span class="smallfont"><a href="misc.php?$session[sessionurl]do=stats">Ratio: $ratio[ratio]</a></span> <script type="text/javascript"> vbmenu_register("ratio"); </script></td>
<td id="mystuff" nowrap="nowrap" width="$navbarwidth"><span class="smallfont"><a href="browse.php?$session[sessionurl]do=mystuff">My Stuff</a></span> <script type="text/javascript"> vbmenu_register("mystuff"); </script></td>
</if>
<td id="whatsnew" nowrap="nowrap" width="$navbarwidth"><span class="smallfont"><a href="browse.php?$session[sessionurl]do=newpieces">What's New?</a></span> <script type="text/javascript"> vbmenu_register("whatsnew"); </script></td>
<td id="whatspopular" nowrap="nowrap" width="$navbarwidth"><span class="smallfont"><a href="browse.php?$session[sessionurl]do=poppieces">What's Popular?</a></span> <script type="text/javascript"> vbmenu_register("whatspopular"); </script></td>
<td width="$navbarwidth"><span class="smallfont"><a href="browse.php?$session[sessionurl]">Browse</a></span></td>
<td width="$navbarwidth"><span class="smallfont"><a href="submit.php?$session[sessionurl]">Submit</a></span></td>
<td id="creativeglobalsearch" nowrap="nowrap" width="$navbarwidth"><span class="smallfont"><a href="search.php?$session[sessionurl]">Search</a> <script type="text/javascript"> vbmenu_register("creativeglobalsearch"); </script></span></td>
</if>
</tr>
</table>
</div>
<if condition="$show['popups']">
<if condition="$show['member']">
<div class="vbmenu_popup" id="ratio_menu" style="display: none;">
<table cellpadding="4" cellspacing="1">
<tr>
<td class="vbmenu_option"><a href="misc.php?$session[sessionurl]do=mystats">Pieces Posted: $ratio[pieces]</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="misc.php?$session[sessionurl]do=mystats">Reviews Posted: $ratio[reviews]</a></td>
</tr>
</table>
</div>
<div class="vbmenu_popup" id="mystuff_menu" style="display: none;">
<table cellpadding="4" cellspacing="1">
<tr>
<td class="vbmenu_option"><a href="browse.php?$session[sessionurl]do=favourites">My Favourites</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="browse.php?$session[sessionurl]do=subscriptions">My Subscriptions</a> &nbsp; &nbsp; &nbsp; </td>
</tr>
<tr>
<td class="vbmenu_option"><a href="browse.php?do=member&user=$bbuserinfo[userid]">My Gallery</a> &nbsp; &nbsp; &nbsp; </td>
</tr>
</table>
</div>
</if>
<div class="vbmenu_popup" id="whatsnew_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="vbmenu_option"><a href="browse.php?$session[sessionurl]do=newpieces">Newest Pieces</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="browse.php?$session[sessionurl]do=newreviews">Newest Reviews</a></td>
</tr>
</table>
</div>
<div class="vbmenu_popup" id="whatspopular_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="vbmenu_option"><a href="browse.php?$session[sessionurl]do=pop&amp;orderby=views">Top Viewed</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="browse.php?$session[sessionurl]do=pop&amp;orderby=rating">Top Rated</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="browse.php?$session[sessionurl]do=pop&amp;orderby=posts">Top Reviewed</a></td>
</tr>
</table>
</div>
<div class="vbmenu_popup" id="creativeglobalsearch_menu" style="display:none">
<form action="find.php" method="post">
<table cellpadding="4" cellspacing="1">
<tr>
<td class="thead" colspan="2">Search</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<select name="searchfield">
<option value="title" $searchfield[title]>Title</option>
<option value="author" $searchfield[author]>Author</option>
<option value="text" $searchfield[text]>Text</option>
</select>
</td>
<td>
<input type="text" class="bginput" name="query" size="20" style="width:175px" />
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite" align="center" colspan="2">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="formuserid" value="$bbuserinfo[userid]" />
$gobutton
</td>
</tr>
</table>
</form>
</div>
</if>
Reply With Quote
  #7  
Old 03-15-2006, 09:49 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nope that still causes problems.
Reply With Quote
  #8  
Old 03-16-2006, 04:47 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you post the error?
Reply With Quote
  #9  
Old 03-16-2006, 05:21 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sure thing: http://img110.imageshack.us/my.php?i...message4zz.jpg

if i remove that navbar then it works fine, the second i put it back it messes up again.
Reply With Quote
  #10  
Old 03-18-2006, 03:03 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*bumb*
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 04:38 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04820 seconds
  • Memory Usage 2,315KB
  • Queries Executed 11 (?)
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_html
  • (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
  • (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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete