The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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> </td> </tr> <tr> <td class="vbmenu_option"><a href="browse.php?do=member&user=$bbuserinfo[userid]">My Gallery</a> </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&orderby=views">Top Viewed</a></td> </tr> <tr> <td class="vbmenu_option"><a href="browse.php?$session[sessionurl]do=pop&orderby=rating">Top Rated</a></td> </tr> <tr> <td class="vbmenu_option"><a href="browse.php?$session[sessionurl]do=pop&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> |
#2
|
||||
|
||||
it's probably something else ... can you post the page that is causing this problem?
|
#3
|
||||
|
||||
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.
|
#4
|
||||
|
||||
something is probably missing (or wrong) locally ... I recommend testing it online and see what happens.
|
#5
|
||||
|
||||
i still can't get this to work :|
|
#6
|
||||
|
||||
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> </td> </tr> <tr> <td class="vbmenu_option"><a href="browse.php?do=member&user=$bbuserinfo[userid]">My Gallery</a> </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&orderby=views">Top Viewed</a></td> </tr> <tr> <td class="vbmenu_option"><a href="browse.php?$session[sessionurl]do=pop&orderby=rating">Top Rated</a></td> </tr> <tr> <td class="vbmenu_option"><a href="browse.php?$session[sessionurl]do=pop&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> |
#7
|
||||
|
||||
nope that still causes problems.
|
#8
|
||||
|
||||
can you post the error?
|
#9
|
||||
|
||||
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. |
#10
|
||||
|
||||
*bumb*
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|