View Full Version : Navbar (HTML code needed)
JamieLee2k
05-03-2007, 10:27 PM
I have a left, middle and right images and I want to put them together to make an expandable navbar so where can I find info about it or how I can get help on how to put these together so I can make a navbar?
Here are my 3 images and I hope someone can help me out
www.full90mins.com/images/navleft.gif (http://www.full90mins.com/images/navleft.gif)
www.full90mins.com/images/nav_mid.gif (http://www.full90mins.com/images/nav_mid.gif)
www.full90mins.com/images/navright.gif (http://www.full90mins.com/images/navright.gif)
I don't want to add all the original navigation links in the navbar but some new links also, perhaps I can get the same navbar at the bottom of the forums and add all the other links that are not used as much.
Thanks
JamieLe2k
JamieLee2k
05-05-2007, 10:03 PM
Going on about the 3 files above:
Now I want to put them all together making the nav mid expandable to 100% and have text inside the navbar. I have put it all together but I have a little problem, I have a border around the text and I don't want that.
This is how it looks now:
http://www.full90mins.com/images/navbar.jpg
Here is the code to the header and if anyone can figure it out or maybe there is a mistake with the html coding then please you are welcome to correct it.
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="$stylevar[imgdir_misc]/nav_mid.gif"> <tr> <td width="1"><div align="left"><img src="$stylevar[imgdir_misc]/navleft.gif"></div></td> <td width="100%"> <div align="center"> <table cellpadding="0" cellspacing="0px" align="left" border="0" style="border-top-width:0px"> <tr>
<!-- nav buttons bar -->
<div align="center">
<table class="select" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
<if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
<td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>
<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
<td id="navbar_search" class="vbmenu_control"><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>
<if condition="$show['member']">
<td id="usercptools" class="vbmenu_control"><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="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
</if>
<td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
<if condition="$show['member']">
<td class="vbmenu_control"><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="$show['member']">
<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td>
</if>
</tr>
</table>
</div>
<!-- / nav buttons bar --> <td width="1"><div align="right"><img src="$stylevar[imgdir_misc]/navright.gif"></div></td> </tr> </table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
</tr>
</table>
<table>
<tr>
<td>
</td>
<div align="center"<img src="$stylevar[imgdir_misc]/logo.jpg" alt="image description" height="140" width="800"></div>
</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="$stylevar[imgdir_misc]/nav_mid.gif"> <tr> <td width="1"><div align="left"><img src="$stylevar[imgdir_misc]/navleft.gif"></div></td> <td width="100%"> <div align="center"> <table cellpadding="6" cellspacing="10px" align="left" border="0" style="border-top-width:0px"> <tr> <div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
<if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
<td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>
<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
<td id="navbar_search" class="vbmenu_control"><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>
<if condition="$show['member']">
<td id="usercptools" class="vbmenu_control"><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="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
</if>
<td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
<if condition="$show['member']">
<td class="vbmenu_control"><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="$show['member']">
<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td>
</if>
</tr>
</table>
</div> <td width="1"><div align="right"><img src="$stylevar[imgdir_misc]/navright.gif"></div></td> </tr> </table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="background-image:url($stylevar[imgdir_misc]/header_shadow.gif);"><div align="left"><img src="$stylevar[imgdir_misc]/header_shadow.gif" alt="" width="28" height="26"></div></td>
</tr>
</table>
<table style="background-color: #d0dfeb;" width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td style="width: 26px;"><img src="$stylevar[imgdir_misc]/content_left.gif" alt="" width="26" height="31"></td>
<td style="background-image:url($stylevar[imgdir_misc]/content_bg.gif);"> </td>
<td style="width: 26px;"><div align="right"><img src="$stylevar[imgdir_misc]/content_right.gif" alt="" width="26" height="31"></div></td>
</tr>
<tr>
<td> </td>
<td>
<!-- content table -->
$spacer_open
$_phpinclude_outputDon't worry about the navbar being in there twice, I will be adding other links to the second one.
Thanks
JamieLee2k
JamieLee2k
05-06-2007, 10:46 PM
This issue has been fixed
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.