Cambiar el HEader

balance Seguir

Gamma
¡Usuario con pocos negocios! ¡Utiliza siempre saldo de Forobeta!
Desde
24 Abr 2006
Mensajes
182
En mi template el Navbar esta en el header, o sea me refiero al menu de navegacion del sitio. LO que pasa es que es bastante malo y feo, es solo texto plano. Lo que queria hacer es un menu con tabs com tiene este foro o casi todos, para darle un poco de color y que sea mas visibles. Les dejo el codigo del mio
Insertar CODE, HTML o PHP:
<a name="top"></a>
<div class="arkaplan">
<div class="ana-tablo">
<div class="menu-arama">
<div class="menu-arama-menu">
<ul class="menu-arama-menuler">

 <li><a href="[B]Enlace eliminado[/B]" title="Torneos"> <font color="#f00"> <strong> Torneos</strong></font></a></li>
 

 <if condition="$show['member']">
    <li><a href="usercp.php$session[sessionurl_q]" title="$vbphrase[user_cp]">$vbphrase[user_cp]</a>
     <ul class="menu-arama-menuler-alt-menu">
         <li id="menu-arama-menuler-alt-menu-baslik-1"><a href="usercp.php$session[sessionurl_q]" title="$vbphrase[user_control_panel]">$vbphrase[user_control_panel]</a></li>
   <if condition="$show['pmstats']"><li><a href="private.php$session[sessionurl_q]" rel="nofollow" title="$vbphrase[private_messages]">$vbphrase[private_messages]</a></li></if>
         <li><a href="subscription.php$session[sessionurl_q]" rel="nofollow" title="$vbphrase[subscribed_threads]">$vbphrase[subscribed_threads]</a></li>
   <if condition="$show['siglink']"><li><a href="profile.php?$session[sessionurl]do=editsignature" title="$vbphrase[edit_signature]">$vbphrase[edit_signature]</a></li></if>
         <li><a href="profile.php?$session[sessionurl]do=editavatar" title="$vbphrase[edit_avatar]">$vbphrase[edit_avatar]</a></li>
         <li><a href="profile.php?$session[sessionurl]do=editprofile" title="$vbphrase[edit_your_details]">$vbphrase[edit_your_details]</a></li>
         <li><a href="profile.php?$session[sessionurl]do=editoptions" title="$vbphrase[edit_options]">$vbphrase[edit_options]</a></li>
         <li><a href="profile.php?$session[sessionurl]do=buddylist" title="$vbphrase[contacts_and_friends]">$vbphrase[contacts_and_friends]</a></li>
   <li id="menu-arama-menuler-alt-menu-baslik-2">$vbphrase[miscellaneous]</li>
         <li><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]" title="$vbphrase[your_profile]">$vbphrase[your_profile]</a></li>
        </ul>
    </li
    ></if>
 <if condition="$show['registerbutton']"><li><a href="register.php$session[sessionurl_q]" rel="nofollow" title="$vbphrase[register]">$vbphrase[register]</a></li></if>
 <!--$template_hook[navbar_buttons_left] -->
 <li><a rel="Juegos" href="[B]Enlace eliminado[/B]" accesskey="5" title="Juegos"><font color="#f00">Juegos</font></a></li>
<li><a rel="Juegos" href="[B]Enlace eliminado[/B]" accesskey="5" title="Fotos"><font color="#f00">Fotos</font></a></li>
 
 <if condition="$show['communitylink'] AND $show['popups']">
 <li><a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="6" title="$vbphrase[community]">$vbphrase[community]</a>
     <ul class="menu-arama-menuler-alt-menu">
   $template_hook[navbar_community_menu_start]
   <if condition="$show['quick_links_groups']">

</if>
   <if condition="$show['quick_links_albums']"><li><a href="[B]Enlace eliminado[/B]" title="$vbphrase[pictures_and_albums]">$vbphrase[pictures_and_albums]</a></li></if>
   <if condition="$bbuserinfo['userid']"><li><a href="profile.php?$session[sessionurl]do=buddylist" title="$vbphrase[contacts_and_friends]"><if condition="$show['friends_and_contacts']">$vbphrase[contacts_and_friends]<else />$vbphrase[contacts]</if></a></li></if>
   <if condition="$show['memberslist']"><li><a href="memberlist.php$session[sessionurl_q]" title="$vbphrase[members_list]">$vbphrase[members_list]</a></li></if>
   $template_hook[navbar_community_menu_end]
        </ul>
    </li>
 <else />
 <if condition="$show['memberslist']"><li><a href="memberlist.php$session[sessionurl_q]" title="$vbphrase[members_list]">$vbphrase[members_list]</a></li></if>
 <if condition="$show['quick_links_groups']"><li><a href="group.php?$session[sessionurl]" title="$vbphrase[social_groups]">$vbphrase[social_groups]</a></li></if>
 </if>
 
 
 

 <if condition="$show['popups']">
 <if condition="$show['searchbuttons']">
 <if condition="$show['member']">
 <li><a href="search.php?$session[sessionurl]do=getnew" accesskey="2" title="$vbphrase[new_posts_nav]">$vbphrase[new_posts_nav]</a></li>
 <else />
 <li><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2" title="$vbphrase[todays_posts]">$vbphrase[todays_posts]</a></li>
 </if>
 </if>
 <if condition="$show['member']">
 <li><a id="usercptools" href="$show[nojs_link]#usercptools" accesskey="3" title="$vbphrase[quick_links]">$vbphrase[quick_links]</a>
  <ul class="menu-arama-menuler-alt-menu">
      <if condition="$vboptions['enablesearches']"><li><a href="search.php?$session[sessionurl]do=getdaily" title="$vbphrase[todays_posts]">$vbphrase[todays_posts]</a></li></if>
   <li><a href="forumdisplay.php?$session[sessionurl]do=markread" title="$vbphrase[mark_forums_read]">$vbphrase[mark_forums_read]</a></li>
   <li><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;" title="$vbphrase[open_contacts]">$vbphrase[open_contacts]</a></li>
   <!--$template_hook[navbar_quick_links_menu_pos1]
   $template_hook[navbar_quick_links_menu_pos2] -->
   <li><a href="usercp.php$session[sessionurl_q]" title="$vbphrase[user_control_panel]">$vbphrase[user_control_panel]</a></li>
   <if condition="$show['siglink']"><li><a href="profile.php?$session[sessionurl]do=editsignature" title="$vbphrase[edit_signature]">$vbphrase[edit_signature]</a></li></if>
   <if condition="$show['avatarlink']"><li><a href="profile.php?$session[sessionurl]do=editavatar" title="$vbphrase[edit_avatar]">$vbphrase[edit_avatar]</a></li></if>
   <li><a href="profile.php?$session[sessionurl]do=editprofile" title="$vbphrase[edit_your_details]">$vbphrase[edit_your_details]</a></li>
   <li><a href="profile.php?$session[sessionurl]do=editoptions" title="$vbphrase[edit_options]">$vbphrase[edit_options]</a></li>
   <!--$template_hook[navbar_quick_links_menu_pos3] -->
   <li id="menu-arama-menuler-alt-menu-baslik-3" title="$vbphrase[miscellaneous]">$vbphrase[miscellaneous]</li>
   <if condition="$show['pmmainlink']"><li><a href="private.php$session[sessionurl_q]" rel="nofollow" title="$vbphrase[private_messages]">$vbphrase[private_messages]</a></li></if>
   <li><a href="subscription.php$session[sessionurl_q]" rel="nofollow" title="$vbphrase[subscribed_threads]">$vbphrase[subscribed_threads]</a></li>
   <li><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]" title="$vbphrase[your_profile]">$vbphrase[your_profile]</a></li>
   <if condition="$show['wollink']"><li><a href="online.php$session[sessionurl_q]" title="$vbphrase[whos_online]">$vbphrase[whos_online]</a></li></if>
   <!--$template_hook[navbar_quick_links_menu_pos4] -->
 
 
 
 
 
     </ul>
 </li>
 </if>
 <else />
 <if condition="$show['searchbuttons']">
 <li><a href="search.php$session[sessionurl_q]" accesskey="4" title="$vbphrase[search]">$vbphrase[search]</a></li>
 <if condition="$show['member']">
 <li><a href="search.php?$session[sessionurl]do=getnew" accesskey="2" title="$vbphrase[new_posts_nav]">$vbphrase[new_posts_nav]</a></li>
 <else />
 <li><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2" title="$vbphrase[todays_posts]">$vbphrase[todays_posts]</a></li>
 </if>
 </if>
 <li><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow" title="$vbphrase[mark_forums_read]">$vbphrase[mark_forums_read]</a></li>
 <if condition="$show['member']">
 <li><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;" title="$vbphrase[open_contacts]">$vbphrase[open_contacts]</a></li>
 </if>
 </if>
<!--$template_hook[navbar_buttons_right] -->
 <if condition="$show['member']"><li><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')" title="$vbphrase[log_out]">$vbphrase[log_out]</a></li></if>
</ul>
</div>
<div class="menu-arama-arama">
<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]" />
<div class="menu-arama-arama-kutu"><input type="text" name="query" size="25" tabindex="1001" value="$vbphrase[search]..." onblur="if(this.value=='') this.value='$vbphrase[search]...';" onfocus="if(this.value=='$vbphrase[search]...') this.value='';" /></div>
<div class="menu-arama-arama-buton"><input type="submit" value="" tabindex="1004" /></div>
<!--<div style="margin-top:$stylevar[cellpadding]px">
<label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
&nbsp;
<label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
</div> -->
</form>
</div>
</div>
<div class="logo-banner-kullanici_paneli">
<div class="logo-banner">
<div class="logo"><a href="$vboptions[forumhome].php$session[sessionurl_q]" title="$vboptions[bbtitle]"><img src="m2-stil/m2-resim-dosyalari/logo.gif" alt="$vboptions[bbtitle]" /></a></div>
<div class="banner">
<!-- Bu Alandaki Kodları!!! Reklam Kodunuzla Değiştirin -->
<div class="banner-stil">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-9322621065945527";
/* Horizontal Unit */
google_ad_slot = "8141180344";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="[URL]http://pagead2.googlesyndication.com/pagead/show_ads.js[/URL]">
</script>
<!--<a href="$vboptions[contactuslink]" title="$vbphrase[contact_us]"><span>468x60</span>ad space</a>-->
</div>
 
<!-- Bu Alandaki Kodları!!! Reklam Kodunuzla Değiştirin -->
</div>
</div>
<div class="kullanici_paneli">
<if condition="$show['member']">
<if condition="$vboptions['navbaravatasmontreyaktif']"><div class="kullanici_paneli-avatar"><img src="$avatarurl" alt="$username" /></div></if>
<div class="kullanici_paneli-ekstra">

<span class="kullanici_paneli-ekstra-album-ekle"><a href="profile.php?do=editavatar" title="Cambiar Avatar">Editar Avatar</a></span>

<span class="kullanici_paneli-ekstra-grup-ekle"><a href="[B]Enlace eliminado[/B]" rel="nofollow" title="Webcams Stylers" target="_blank">Conoce gente del Mundo</a></span>
</div>
<div class="kullanici_paneli-cizgi"></div>
<div><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></div>
<div><phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase></div>
<if condition="$show['notifications']"><span id="notifications"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a> <strong>$notifications_total</strong></span><if condition="$show['popups']"><script type="text/javascript"> vBmenu.register("notifications"); </script><else /><script type="text/javascript" src="clientscript/vbulletin_notifications_nopopups.js?v=$vboptions[simpleversion]"></script><script type="text/javascript"> vBulletin.register_control("vB_Notifications_NoPopups", "notifications");  </script></if>
<else />
<if condition="$show['pmstats']"><div><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</div></phrase>
</if>
</if>
<if condition="$show['pmwarning']"><div class="kullanici_paneli-uyari"><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></div></if>
<else />
<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>
<div class="kullanici_paneli-kullanici-adi"><input type="text" name="vb_login_username" id="navbar_username" accesskey="u" tabindex="101" value="$vbphrase[username]" onblur="if(this.value=='') this.value='$vbphrase[username]';" onfocus="if(this.value=='$vbphrase[username]') this.value='';" /></div>
<label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" checked="checked"value="1" checked="checked" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label> -->

<div class="kullanici_paneli-sifre_buton">
<div class="kullanici_paneli-sifre"><input type="password" name="vb_login_password" id="navbar_password" tabindex="102" value="Password" onblur="if(this.value=='') this.value='Password';" onfocus="if(this.value=='Password') this.value='';" /></div>
<div class="kullanici_paneli-buton"><input type="submit" class="button" value="" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></div>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</div>
</form>
<div class="kullanici_paneli-linkler">
 
<span><a href="login.php?do=lostpw" rel="nofollow" title="I forgot my password?">&raquo; I forgot my password?<!-- &raquo; Şifremi Unuttum? --></a></span>
</div>
</if>
</div>
</div>
$spacer_open
$_phpinclude_output
$ad_location[ad_header_end]
 

<if condition="$show[guest]">
<!-- Improve registration Rates -->
<style type="text/css">
#topbar{
    position:absolute;
    width: 100%;
    height: 200px;
        z-index: 400;
}
</style>
<script type="text/javascript">
var persistclose=0 //set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session
var startX = 30 //set x offset of bar in pixels
var startY = 5 //set y offset of bar in pixels
var verticalpos="frombottom" //enter "fromtop" or "frombottom"
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset);
if (end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}
function closebar(){
if (persistclose)
document.cookie="remainclosed=1"
document.getElementById("topbar").style.visibility="hidden"
}
function staticbar(){
barheight=document.getElementById("topbar").offsetHeight
var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;
var d = document;
function ml(id){
var el=d.getElementById(id);
if (!persistclose || persistclose && get_cookie("remainclosed")=="")
el.style.visibility="visible"
if(d.layers)el.style=el;
el.sP=function(x,y){this.style.left=x+"px";this.style.top=y+"px";};
el.x = startX;
if (verticalpos=="fromtop")
el.y = startY;
else{
el.y = ns ? pageYOffset + innerHeight : iecompattest().scrollTop + iecompattest().clientHeight;
el.y -= startY;
}
return el;
}
window.stayTopLeft=function(){
if (verticalpos=="fromtop"){
var pY = ns ? pageYOffset : iecompattest().scrollTop;
ftlObj.y += (pY + startY - ftlObj.y)/8;
}
else{
var pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight;
ftlObj.y += (pY - startY - ftlObj.y)/8;
}
ftlObj.sP(ftlObj.x, ftlObj.y);
setTimeout("stayTopLeft()", 10);
}
ftlObj = ml("topbar");
stayTopLeft();
}
if (window.addEventListener)
window.addEventListener("load", staticbar, false)
else if (window.attachEvent)
window.attachEvent("onload", staticbar)
else if (document.getElementById)
window.onload=staticbar
</script>
 
<div id="topbar"><a href="[B]Enlace eliminado[/B] src="[URL]http://i52.tinypic.com/nl97pj.png"></a></td[/URL]>
</div>
<!-- End Improve Registration -->
</if>
 

Angel Srto

Gamma
Programador
¡Usuario con pocos negocios! ¡Utiliza siempre saldo de Forobeta!
Desde
16 Sep 2010
Mensajes
355
A mi me parece que es mejor ese que tienes, es simple y queda bien en tu estilo. Creo que no hay menus con tabs para vB3, a menos no uno que puedas tomar el codigo y poner allí. Para tener tabas así como aquí tendrías que actualizar tu vBulletin a vB4, y entonces tu estilo no sería compatible.
 
Arriba