PDA


View Full Version : Pop-up Box’s don’t function when navbar is disabled


NBeshouri
08-01-2005, 05:52 AM
I am having a slight problem with both the search and quick links popup windows. I have found several other threads pertaining to similar issues, but my issue is either different, or I am missing something.

The links do work when I enable the navbar on that page, but, because my skin moves most of the normal navbar functions to the header, the portal home page looks better with the navbar disabled. When the navbar is disabled, the search button takes me to the advanced search page instead of popping up. The quick links button does nothing. Basically none of the pop up boxes work.

The boxes do still work on all other pages of the forum regardless of what I do, its just the portal where I am seeing this error.

Does anyone know of a way to leave the navbar turned off, and still have functioning pop up boxes?

In another thread I found a reference to copying everything in the navbar replacements box into header replacements box , but that didn’t help, any other ideas?

Brian
08-01-2005, 12:41 PM
Whoever coded your style didn't move the <div> tags with the menus for those from the navbar template to the header template like they should have.

NBeshouri
08-01-2005, 03:17 PM
Thanks for the quick response

Here is my header template code. What exactly needs to be changed?

<!-- begin plasma header-->
<div align="center">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="main">
<tr>
<td align="left" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#03105D">
<tr>
<td width="330" height="156" rowspan="3"><img id="header_plasma_ls" src="$stylevar[imgdir_misc]/header_plasma_ls.gif" width="330" height="156" alt="" /></td>
<td width="417" height="107" colspan="7"> <img id="header_plasma_text" src="$stylevar[imgdir_misc]/header_plasma_text.gif" width="417" height="107" alt="" /></td>
<td width="100%" height="156" rowspan="3" style="background-image: url($stylevar[imgdir_misc]/header_plasma_expand.gif)"><img id="header_plasma_expand" src="$stylevar[imgdir_misc]/header_plasma_expand.gif" width="100%" height="156" alt="" /></td>
</tr>
<tr>
<td width="47" height="36"><a href="$vboptions[forumhome].php?$session[sessionurl]"><img id="header_plasma_home" src="$stylevar[imgdir_misc]/header_plasma_home.gif" width="47" height="36" border="0" alt="" /></a></td>
<td width="64" height="36"><a href="usercp.php?$session[sessionurl]"><img id="header_plasma_uc" src="$stylevar[imgdir_misc]/header_plasma_uc.gif" width="64" height="36" border="0" alt="" /></a></td>
<if condition="$show['registerbutton']">
<td width="69" height="36"><a href="register.php?$session[sessionurl]"><img id="header_plasma_reg" src="$stylevar[imgdir_misc]/header_plasma_reg.gif" width="69" height="36" border="0" alt="" /></a></td>
<else />
<td width="69" height="36" id="usercptools"><a href="#usercptools"><img id="header_plasma_reg" src="$stylevar[imgdir_misc]/header_plasma_qlinks.gif" width="69" height="36" border="0" alt="" /></a><script type="text/javascript"> vbmenu_register("usercptools" ,1); </script></td>
</if>
<td width="66" height="36"><a href="memberlist.php?$session[sessionurl]"><img id="header_plasma_members" src="$stylevar[imgdir_misc]/header_plasma_members.gif" width="66" height="36" border="0" alt="" /></a></td>
<td width="75" height="36"><a href="calendar.php?$session[sessionurl]"><img id="header_plasma_calendar" src="$stylevar[imgdir_misc]/header_plasma_calendar.gif" width="75" height="36" border="0" alt="" /></a></td>
<td width="59" height="36" id="navbar_search"><a href="search.php?s=$session[sessionhash]"><img id="header_plasma_search" src="$stylevar[imgdir_misc]/header_plasma_search.gif" width="59" height="36" border="0" alt="" /></a><script type="text/javascript"> vbmenu_register("navbar_search" ,1); </script></td>
<td width="37" height="36"><a href="faq.php?$session[sessionurl]"><img id="header_plasma_faq" src="$stylevar[imgdir_misc]/header_plasma_faq.gif" width="37" height="36" border="0" alt="" /></a></td>
</tr>
<tr>
<td width="417" height="13" colspan="7"><img id="header_plasma_nav_btm" src="$stylevar[imgdir_misc]/header_plasma_nav_btm.gif" width="417" height="13" alt="" /></td>
</tr>
</table>

<!-- end plasma header-->

<!-- begin main inner table area-->
<table border="0" width="100%" cellpadding="10" cellspacing="0" bgcolor="#03105D">
<tr><td>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#060F42">
<tr>
<td width="45" align="left" valign="top"><img src="$stylevar[imgdir_misc]/ls_main_table_top.gif" width="45" height="14" alt="" /></td>
<td width="100%" align="left" valign="top"><img src="$stylevar[imgdir_misc]/expand_main_table.gif" width="100%" height="14" alt="" /></td>
<td width="45" align="left" valign="top"><img src="$stylevar[imgdir_misc]/rs_main_table_top.gif" width="45" height="14" alt="" /></td>
</tr>
</table>
<!-- content table -->
<table bgcolor="#060F42" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>



$spacer_open

$_phpinclude_output

NBeshouri
08-02-2005, 12:39 AM
Ok I see what you mean now, thanks Brian, that did the trick.

and just to let everone know the skin was from extreme pixels, and after looking through another skin of theirs that i own, it seems that more than one of their skins share this issue, so if you have a skin from extreme pixels, and are having similar issues , this should fix it for you to.

thanks again.

xrayhead
08-04-2005, 04:58 AM
I have the same problem and guess where I got my skin from :)

I am not sure how to fix it though! What do I have to add to my header template and where?

Xray

xrayhead
08-04-2005, 05:03 AM
By the way here is my header!!

<!-- begin oivar header-->
<div align="center">
<table width="85%" border="0" align="center" cellpadding="0" cellspacing="0" class="border">
<tr>
<td align="left" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="239" height="52" colspan="5"><img src="$stylevar[imgdir_misc]/header_ls_top.gif" width="239" height="52" alt="" /></td>
<td width="504" height="52" colspan="4"><img src="$stylevar[imgdir_misc]/header_mid.gif" width="504" height="52" alt="" /></td>
<td width="100%" height="91" rowspan="3"><img src="$stylevar[imgdir_misc]/header_x.gif" width="100%" height="91" alt="" /></td>
<td width="20" height="91" rowspan="3"><img src="$stylevar[imgdir_misc]/header_rs.gif" width="20" height="91" alt="" /></td>
</tr>
<tr>
<td width="17" height="26"><img src="$stylevar[imgdir_misc]/header_nav_ls.gif" width="17" height="26" alt="" /></td>
<td width="37" height="26"><a href="$vboptions[bburl]/$vboptions[forumhome].php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/header_home.gif" width="37" height="26" border="0" alt="" /></a></td>
<td width="56" height="26"><a href="$vboptions[bburl]/usercp.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/header_cp.gif" width="56" height="26" border="0" alt="" /></a></td>
<if condition="$show['registerbutton']">
<td width="73" height="26"><a href="$vboptions[bburl]/register.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/register.gif" width="73" height="26" border="0" alt="" /></a></td>
<else />
<td width="73" height="26" id="usercptools"><a href="$vboptions[bburl]/#usercptools"><img src="$stylevar[imgdir_misc]/header_links.gif" width="73" height="26" border="0" alt="" /></a><script type="text/javascript"> vbmenu_register("usercptools",1); </script></td>
</if>
<td width="56" height="26"><a href="$vboptions[bburl]/memberlist.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/header_members.gif" width="56" height="26" border="0" alt="" /></a></td>
<td width="62" height="26"><a href="$vboptions[bburl]/calendar.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/header_calendar.gif" width="62" height="26" border="0" alt="" /></a></td>
<td width="49" height="26" id="navbar_search"><a href="$vboptions[bburl]/search.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/header_search.gif" width="49" height="26" border="0" alt="" /></a><script type="text/javascript"> vbmenu_register("navbar_search",1); </script></td>
<td width="28" height="26"><a href="$vboptions[bburl]/faq.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/header_12.gif" width="28" height="26" border="0" alt="" /></a></td>
<td width="365" height="26"><img src="$stylevar[imgdir_misc]/header_navblank.gif" width="365" height="26" alt="" /></td>
</tr>
<tr>
<td width="743" height="13" colspan="9"><img src="$stylevar[imgdir_misc]/header_btm.gif" width="743" height="13" alt="" /></td>
</tr>
</table>
<!-- end oivar header-->



<!-- begin main inner table area-->
<table border="0" width="100%" cellpadding="10" cellspacing="0" bgcolor="#F7F7F7">
<tr><td>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#EDEDED">
<tr>
<td width="12" align="left" valign="top"><img src="$stylevar[imgdir_misc]/ls_main_table_top.gif" width="12" height="8" alt="" /></td>
<td width="100%" align="left" valign="top"><img src="$stylevar[imgdir_misc]/expand_main_table.gif" width="100%" height="8" alt="" /></td>
<td width="12" align="left" valign="top"><img src="$stylevar[imgdir_misc]/rs_main_table_top.gif" width="12" height="8" alt="" /></td>
</tr>
</table>
<!-- content table -->
<table bgcolor="#f7f7f7" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>



$spacer_open

$_phpinclude_output

:D

xrayhead
08-10-2005, 09:24 AM
Can anyone please help me with this one??

Xray

Brian
08-10-2005, 01:25 PM
Edit your navbar template and you will see two <div> tags, with a comment above them noting that they are for the pop-up menus. Remove those from your navbar template and place them in your header template.

xrayhead
08-10-2005, 03:40 PM
Hi Brian

Thanks for taking the time out to give me some help. I moved the code and it works a treat.

Thanks again for the awesome hacks you have provided to all the people that use VBulletin. My site and others would not be the way they are if it wasn’t for your hard work..

Xray