View Full Version : possible help for my header?
Sin City
03-31-2005, 03:28 AM
every style i've added the store to has looked fine except for one... the coding that goes into the navbar/header for the Store link looks way out of place.... i asked the guy who made the style on his forums, but it appears as though my question will just be ignored there so i thought i'd ask here
below is a screenshot of how it looks... i tried to recode it to look like the others, but that didn't work... neither did trying to code it without all of the "script" portions... any help would be appreciated
TyleR
03-31-2005, 05:48 AM
post your navbar template..its probably a td class problem ;)
Sin City
03-31-2005, 07:02 AM
he actually put all that in the header...thank you for the reply :)
<div align="center">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F7F7F7">
<tr>
<td align="left" valign="top" width="23" style="background-image:url($stylevar[imgdir_misc]/vizion_ls.gif) "><img src="$stylevar[imgdir_misc]/vizion_ls.gif" width="23" alt="" /></td>
<td>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="border">
<tr>
<td align="center" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#222C48">
<tr>
<td width="160" height="80"><img src="$stylevar[imgdir_misc]/pro_header_top_ls.gif" width="160" height="80" alt="" /></td>
<td width="100%" style="background-image:url($stylevar[imgdir_misc]/pro_header_top_x.gif) "><img src="$stylevar[imgdir_misc]/spacer.gif" width="100%" height="80" alt="" /></td>
<td width="5" height="80"><img id="proheader_rs" src="$stylevar[imgdir_misc]/pro_header_rs.gif" width="5" height="80" alt="" /></td>
<td width="160" height="80" align="right"><img src="$stylevar[imgdir_misc]/pro_header_top_rs.gif" width="160" height="80" alt="" /></td>
</tr>
</table>
<table width="100%" style="background-image:url($stylevar[imgdir_misc]/pro_header_nav_x.gif) " border="0" cellpadding="0" cellspacing="0" bgcolor="#222C48">
<tr>
<td width="5" height="25"><img id="pro_header_nav_ls" src="$stylevar[imgdir_misc]/pro_header_nav_ls.gif" width="5" height="25" alt="" /></td>
<td width="100%">
<!-- nav buttons bar -->
<div align="center">
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="background-image:url($stylevar[imgdir_misc]/pro_header_nav_x.gif) ">
<tr align="center">
<td class="hnav"><a href="$vboptions[forumhome].php?$session[sessionurl]">Home</a></td>
<if condition="$show['member']">
<td class="hnav"><a href="usercp.php?$session[sessionurl]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
<td class="hnav"><a href="register.php?$session[sessionurl]">$vbphrase[register]</a></td>
</if>
<td id="shop" class="vbmenu_control"><a href="#shop">Store</a><script type="text/javascript"> vbmenu_register("shop");</script></td>
<td class="hnav"><a href="faq.php?$session[sessionurl]" accesskey="5">$vbphrase[faq]</a></td>
<td class="hnav"><a href="memberlist.php?$session[sessionurl]">$vbphrase[members_list]</a></td>
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td class="hnav"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="hnav"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
<td id="navbar_search" class="hnav"><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
</if>
<if condition="$bbuserinfo['userid']">
<td id="usercptools" class="hnav"><a href="#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
</if>
<else />
<if condition="$show['searchbuttons']">
<td class="hnav"><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td class="hnav"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="hnav"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
</if>
<td class="hnav"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td>
<if condition="$bbuserinfo['userid']">
<td class="hnav"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>
</if>
</if>
<if condition="$bbuserinfo['userid']">
<td class="hnav"><a href="login.php?$session[sessionurl]do=logout&u=$bbuserinfo[userid]" onclick="return log_out()">$vbphrase[log_out]</a></td>
</if>
</tr>
</table>
</div>
<!-- / nav buttons bar -->
</td>
<td width="6" height="25"><img id="pro_header_nav_rs" src="$stylevar[imgdir_misc]/pro_header_nav_rs.gif" width="6" height="25" alt="" /></td>
</tr>
</table>
<!-- end pro_vizion 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
TyleR
03-31-2005, 07:54 AM
change:
<td id="shop" class="vbmenu_control"><a href="#shop">Store</a><script type="text/javascript"> vbmenu_register("shop");</script></td>
to:
<td id="shop" class="hnav"><a href="#shop">Store</a><script type="text/javascript"> vbmenu_register("shop");</script></td>
Sin City
03-31-2005, 08:07 AM
i knew it would be something easy lol... thank you Tank.. you are awesome :) ... if you need something, just let me know
TyleR
03-31-2005, 10:59 AM
no problem ;)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.