The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
![]()
Thank you, really is appreciated
![]() This is my header PHP Code:
This is my navbar PHP Code:
|
#12
|
|||
|
|||
![]()
This is my navbar
PHP Code:
|
#13
|
|||
|
|||
![]()
Second part of my navbar - would only let me post it in two sections.
PHP Code:
|
#14
|
||||
|
||||
![]()
Replace what I set in red and bold starting from:
<!-- top nav buttons bar --> And ending with <!-- breadcrumb, login, pm info --> With the attachment below. I duplicated your homepage and went over the nav section (in question) line by line. The result is that the white space between the logo and navbar has been removed in IE. Your upper navbar section: Code:
<script type="text/javascript"> <!-- function openRadioAndTV(){ radioAndTVWindow = window.open('radioandtv.php', 'radioandtv', 'directories=no,height=500,width=700,location=no,menubar=no,resizable=yes,status=no,scrollbars=yes,toolbar=no'); } //--> </script> <script type="text/javascript"> <!-- function openChatbox () { chatbox = window.open('chatbox.php','chatbox','height=330,width=650,directories=no,location=no,menubar=no,resizable=yes,status=no,toolbar=no,scrollbars=yes'); } //--> </script> <script type="text/javascript"> <!-- function log_out() { ht = document.getElementsByTagName("html"); ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)"; if (confirm('$vbphrase[sure_you_want_to_log_out]')) { return true; } else { ht[0].style.filter = ""; return false; } } //--> </script> <!-- top nav buttons bar --> <div align="center"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px"> <tr align="center"> <td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_home.gif" alt="$vboptions[hometitle]" border="0" /> <a href="$vboptions[homeurl]">Home</a></td> <td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_quicklinks.gif" alt="Forum" border="0" /> <a href="/forum.php$session[sessionurl]">Forum</a></td> <td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_faq.gif" alt="Frequently Asked Questions" border="0" /> $vbphrase[faq]</a></td> <td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/music.gif"/> <a href="javascript:openRadioAndTV()">$vbphrase[rs_radiostations]</a></td> <td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_forums.gif" alt="Quiz" border="0" /> <a href="quiz.php?$session[sessionurl]">Quiz</a></td> <td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_purchase.gif" alt="Gallery" border="0" /> <a href="photoplog/index.php?$session[sessionurl]">Gallery</a></td> <td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_download.gif" alt="Arcade" border="0" /> <a href="arcade.php?$session[sessionurl]">Arcade</a></td> <td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_calendar.gif" alt="Dover Events" border="0" /> <a href="calendar.php?$session[sessionurl]">Dover Events</a></td> </tr> </table> </div> <!-- breadcrumb, login, pm info --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="alt1" width="100%"> <if condition="is_array($navbits)"> <table cellpadding="0" cellspacing="0" border="0"> <tr valign="bottom"> <td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td> <td> </td> <td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td> </tr> <tr> <td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="" border="0" /><else /><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <h1 class="h1navbar">$navbits[lastelement]</h1></td> </tr> </table> <else /> <div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <h1 class="h1navbar">$vboptions[bbtitle]</h1></div> </if> <if condition="THIS_SCRIPT == 'index' AND $show['guest']"> <!-- guest welcome message --> <div class="navbar" style="margin-bottom:5pt;margin-top:5px;font-size:8pt"> Welcome to $vboptions[bbtitle]. $threadinfo[title] $vboptions[keywords]<br /> <phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase></div> <!-- / guest welcome message --> <else /> <if condition="THIS_SCRIPT == 'poll'"> <div class="navbar" style="margin-bottom:5pt;margin-top:5px;font-size:8pt">The poll results for <b>$threadinfo[title]</b>. <br /></div> <else /> <if condition="$thread[title]"> <br/><div class="navbar" style="font-size:8pt"><b>$thread[title]</b><if condition="$pagenumber>1"> Page $pagenumber</if>. Discuss <i>$thread[title]</i>, on $vboptions[bbtitle], the Dover Forum. $foruminfo[title].<br/> </div> <else /> <if condition="$foruminfo[title]"> <br/><div class="navbar" style="font-size:8pt"> $foruminfo[title] <if condition="$pagenumber>1">Page $pagenumber </if> on $vboptions[bbtitle]. $foruminfo[description]<br/> </div> </if></if></if></if> </td> <if condition="$show['member']"> <td class="alt2" valign="top" nowrap="nowrap"> <div class="smallfont"> <strong>$nzb_greeting</strong><br /> <strong>$nzb_greeting2</strong><br /> <phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase> <if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if> <!-- [START HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.3' CHANGEID= 3 ] --> <if condition="$show['pager']"><br /><a href="#" onclick="window.open('$vboptions[bburl]/pager.php?action=pager&do=log&folder=inbox','pagerinbox','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=650,height=500'); return false;">$vbphrase[pager_pager_messages]</a><phrase 1="$bbuserinfo[pagerunread]" 2="$bbuserinfo[pagertotal]">$vbphrase[pager_messages_nav_x_y]</phrase></if> <!-- [END HACK='vB Pager' AUTHOR='UAEWEB.COM' VERSION='3.0.3' CHANGEID= 3 ] --> <if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if> </div> </td> <else /> <td class="alt2" nowrap="nowrap" style="padding:0px"> <!-- login form --> <form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])"> <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> <tr> <td class="smallfont"><label for="navbar_username">$vbphrase[username]</label></td> <td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td> <td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td> </tr> <tr> <td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td> <td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td> <td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td> </tr> </table> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="do" value="login" /> <input type="hidden" name="vb_login_md5password" /> <input type="hidden" name="vb_login_md5password_utf" /> </form> <!-- / login form --> </td> </if> </tr> </table> <!-- / breadcrumb, login, pm info --> <!-- nav buttons bar --> <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"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_usercp.gif" alt="Your Account" border="0" /> <a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td> </if> <if condition="$show['registerbutton']"> <td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_register.gif" alt="Join $vboptions[bbtitle]" border="0" /> <a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td> </if> <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"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_new.gif" alt="Forums Start Page" border="0" /> $vbphrase[new_posts_nav]</a></td> <else /> <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_new.gif" alt="Today's Posts" border="0" /> $vbphrase[todays_posts]</a></td> </if> <td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_search.gif" alt="Search" border="0" /> $vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td> <td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_memberlist.gif" alt="Member List" border="0" /> $vbphrase[members_list]</a></td> </if> <td class="vbmenu_control"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_forums.gif" alt="Forums Rules" border="0" /> <a href="rules.php$session[sessionurl_q]">$vbphrase[vbrules_rules]</a></td> <if condition="$show['member']"> <td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_quicklinks.gif" alt="Quick Links" border="0" /> $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"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_search.gif" alt="Search" border="0" /> $vbphrase[search]</a></td> <if condition="$show['member']"> <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_new.gif" alt="New Posts" border="0" /> $vbphrase[new_posts_nav]</a></td> <else /> <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_new.gif" alt="$vbphrase[todays_posts]" border="0" /> $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,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=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()"><img class="inlineimg" src="$stylevar[imgdir_misc]/nav_logout.gif" alt="$vbphrase[log_out]" border="0" /> $vbphrase[log_out]</a></td> </if> </tr> </table> </div> <!-- / nav buttons bar --> Let me know how it goes. ![]() |
#15
|
|||
|
|||
![]()
Hiya,
Many thanks for that. I altered the code thats highlighted in red, however its still showing the large white section in IE. Very very strange |
#16
|
|||
|
|||
![]() Code:
$spacer_open That's where one of your spacers is. vBulletin used to use just 2 <br /> tags there, but now it's a variable itself (if you read the source, it'll say it's the spacer only for IE, too). The second is the page margin. Adjust the top margin to the size you need. 0; if you want it flush. |
#17
|
||||
|
||||
![]() Quote:
Edited: I uploaded the attachment in the other post but here it is again. ![]() |
#18
|
|||
|
|||
![]()
Hi Freesteyelz,
Getting really close now! However its taken the little bit of space out from Firefox. Ive attatched two attatchments of what it looks like when using the altered code. First image is FF and the second one is IE |
#19
|
||||
|
||||
![]()
Ahh, the fix made positive changes.
![]() OK, the next step. 1) Of the two attachments which one do you prefer? 2) How much space (if any) do you want between the header and upper navbar? |
#20
|
|||
|
|||
![]()
I prefer the 1st attatchment. Ideally I would like the space to be as is currently shown on FF at the moment. Ive added an attatchment.
Thanks for all your help so far ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|