The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Style logo / Header arrangement Help
I have been looking at this code for a while now and it is so frustrating not being able to understand what it is doing so i hope somebody here can help me get what i am looking for.
Basically i have been trying to makie my logo.gif random so i can have different headers appearing but it moves my navbar and i am not sure why. Here is the code can somebody help me bring my 'nav' header back up level on the right hand side? www.swcruise.com/forum to see the problem The code is below thanks in advance Code:
<!-- logo --> <a name="top"></a> <div id="header_outer"> <div id="wrapper"> <div id="header"> <!-- logo --> <a href="$vboptions[forumhome].php$session[sessionurl_q]"> <script> var logo=new Array() logo[0]='<img src="$stylevar[imgdir_misc]/logo.gif" border="0" alt="$vboptions[bbtitle]" />' logo[1]='<img src="$stylevar[imgdir_misc]/logo.gif" border="0" alt="$vboptions[bbtitle]" />' logo[2]='<img src="$stylevar[imgdir_misc]/logo.gif" border="0" alt="$vboptions[bbtitle]" />' logo[3]='<img src="$stylevar[imgdir_misc]/logo.gif" border="0" alt="$vboptions[bbtitle]" />' var displaylogo=Math.floor(Math.random()*(logo.length)) document.write(logo[displaylogo]) </script></a> <!-- /logo --> <div id="nav"> <ul> <li><a href="$vboptions[forumhome].php$session[sessionurl_q]">Home</a></li> <li><if condition="$show['member']"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a> <else /><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></if></li> <if condition="$show['communitylink'] AND $show['popups']"> <li><a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="6">$vbphrase[community]</a> <script type="text/javascript"> vbmenu_register("community",true); </script></li> <else /> <if condition="$show['memberslist']"> <li><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></li> </if> <if condition="$show['quick_links_groups']"> <li><a href="group.php?$session[sessionurl]">$vbphrase[social_groups]</a></li> </if> </if> <li><a rel="help" href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></li> <li><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></li> <li><a id="navbar_search" 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",true); </script></if></li> </ul> </div> </div> <div id="container"> <div id="border"> <div id="subnav"> <ul> <if condition="$show['registerbutton']"> <li><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></li> </if> <li><a href="#">Rules</a></li> <li><if condition="$show['member']"> <a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a> <else /> <a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a> </if></li> <if condition="$show['member']"><li><a id="usercptools" href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a><script type="text/javascript"> vbmenu_register("usercptools",true); </script> </li></if> <if condition="$show['member']"> <li><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></li> </if> </ul> <div id="searchbar"> <form action="search.php?do=process" method="post"> <input type="hidden" name="do" value="process" /> <input type="hidden" name="quicksearch" value="1" /> <input type="hidden" name="childforums" value="1" /> <input type="hidden" name="exactname" value="1" /> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <strong>Search:</strong> <input type="text" class="searchinput" name="query" /><input type="submit" value="" class="searchgo" /> <a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a> <input type="hidden" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" /> </form> </div> </div> <!-- content table --> $_phpinclude_output $ad_location[ad_header_end] here is how it is supposed to look http://vbskinworks.com/forum/index.php?styleid=442 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|