Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: Agregar Menu  (Visto 2526 veces)

0 Miembros and 1 Guest are viewing this topic.

Online Azzlaer Posteado: May 18, 2017, 09:07:48 PM | Modificado: May 18, 2017, 10:06:57 PM by Azzlaer

  • MAESTRO

  • US. DE HONOR

  • Colaborador
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 1.407
  • Gracias recibida: 23157
  • cl
Hola TuServerMU les vengo a traer un tutorial para añadir un menu en su "index.php"
El siguiente codigo deberan agregarlo luego de la etiqueta <body> de su "index.php" y modificarlo a su gusto.



Code: [Select]
<div id="menu">
<ul>
<li><a href="index.php">INICIO</a></li>
<li><a href="<?=ROOT_INDEX.'?'.LOAD_GET_PAGE.'=';?>register">REGISTRATE</a></li>
<li><a href="<?=ROOT_INDEX.'?'.LOAD_GET_PAGE.'=';?>downloads">DESCARGAS</a></li>
<li><a href="<?=ROOT_INDEX.'?'.LOAD_GET_PAGE.'=';?>rankings">RANKING</a></li>
<li><a href="<?=ROOT_INDEX.'?'.LOAD_GET_PAGE.'=';?>webshop">WEBSHOP</a></li>
<li><a href="https://www.tuservermu.com.ve" target="_blank">FORO</a></li>
<li><a href="https://www.facebook.com/TUServerMU.com.ve/" target="_blank">FACEBOOK</a></li>
</ul>
</div>

Mi Hoja de Estilos:
Spoiler for Hiden:
<style type="text/css">
menu {
background:transparent url("template/<?=$core['config']['template'] ?>/images/button_bg.jpg") repeat-x top left;
}
.iRg_line {
background:url(template/<?=$core['config']['template']; ?>/images/inner_line.jpg); background-position:bottom; background-repeat:repeat-x;
}
.iRg_line_top {
background:url(template/<?=$core['config']['template']; ?>/images/inner_line.jpg); background-position:top; background-repeat:repeat-x;
}
.msg_success {
background-image:url(template/<?=$core['config']['template'] ?>/images/success.gif);
}
.msg_error {
background-image:url(template/<?=$core['config']['template'] ?>/images/warning.gif);
}
rss_feed li {
background-image: url(template/<?=$core['config']['template'] ?>/images/rss_icon.gif);
}
body,a {
cursor: url(template/<?=$core['config']['template'] ?>/images/cursor_normal.cur), auto;
}
A:hover {
cursor: url(template/<?=$core['config']['template'] ?>/images/cursor_link.cur), auto;
}
input#ahrre:hover {
cursor: url(template/<?=$core['config']['template'] ?>/images/cursor_link.cur), auto;
}
.da-arrows span:after {
   background: transparent url(template/<?=$core['config']['template'] ?>/images/arrows.png) no-repeat top left;
}
.oli_centrum {
   background-image:url(template/<?=$core['config']['template'] ?>/images/oli_bg.jpg);
}
.server {
float: left;
width: 40px;
text-align: center;
margin-left: 4px;
}

.s_name a {
color: #9fa296;
font-family: 'times new roman';
font-size: 10px;
}

.s_bar {
background: url(template/<?=$core['config']['template'] ?>/images/s_bar_bg.png) no-repeat;
width: 40px;
height: 84px;
padding: 8px 0px;
margin: 5px 0px;
}

.s_bar div {
background: url(template/<?=$core['config']['template'] ?>/images/s_bar.png) left bottom no-repeat;
width: 40px;
float: left;
}

#sb_mid {
background: url(template/<?=$core['config']['template'] ?>/images/s_bar_mid.png) left bottom no-repeat;
}

sb_low {
background: url(template/<?=$core['config']['template'] ?>/images/s_bar_low.png) left bottom no-repeat;
}
.language_select{
margin-top: 4px;
 }

.language_select a{
 font: 11px Arial, Helvetica, sans-serif;
color: #ffffff;
 text-decoration: none;
 }

.language_select a:hover{
font: 11px Arial, Helvetica, sans-serif;
color: #ffffff;
text-decoration: underline;
 }
.warehouse_block{
border: 0px;
text-align: center;
background: url(template/<?=$core['config']['template'] ?>/images/warehouse_block.gif);
}

.warehouse_item_block {
border: 0px;
padding: 0px;
text-align: center;
background: url(template/<?=$core['config']['template'] ?>/images/warehouse_item_block.gif);
}

.warehouse_bg {
border: 0px;
padding: 0px;
text-align: center;
background: url(template/<?=$core['config']['template'] ?>/images/warehouse_bg.gif);
}
castle-siege {
   width: 100%;
   padding: 5px 0px;
   text-align: center;
   //font-family: FaceYourFears;
   color: #fff;   
}
castle-siege table {
   width: 550px;
   height: 84px;
   background: url(template/<?=$core['config']['template'] ?>/images/castle-siege.jpg) no-repeat center;
   margin: 0px auto;
   font-size: 14px;
}
castle-siege .cs-logo {
   width: 80px;
}
castle-siege .cs-guild-info {
   width: 150px;
   text-align: left;
}
castle-siege .cs-guild-info span.cs-guild-title {
   color: #ff0000;
   font-size: 20px;
}
castle-siege .cs-timeleft {
   //font-family: FaceYourFears;
   font-size: 38px;
}
castle-siege .cs-timeleft span {
   color: #ff0000;
}
topbar{
position:absolute;
padding: 2px;
width: 291px;
visibility: hidden;
z-index: 90;
}
.Estilo5 {
   color: #00FF00;
   font-size: 14px;
}
Azul12 {color: #69C;}
Gris {color: #CCC;}
Verde {color:#25a82e; text-align: center;}
.Estilo3 {color: #999999; font-size: 18px; font-weight: bold; }
.Estilo6 {
   color: #33FF00;
   font-weight: bold;
}
</style>


Si te sirvio mi tutorial por favor dale al boton de Gracias  rebote  [/code]


Offline Xysad #1 Posteado: May 18, 2017, 09:50:24 PM

  • Php Coder
  • 0 puntos por ventas
  • *
  • *
  • Rank: Puto amo
  • Posts: 280
  • Gracias recibida: 1290
  • ar
Hola TuServerMU les vengo a traer un tutorial para añadir un menu en su "index.php"
El siguiente codigo deberan agregarlo luego de la etiqueta <body> de su "index.php" y modificarlo a su gusto.



Code: [Select]
<div id="menu">
<ul>
<li><a href="index.php">INICIO</a></li>
<li><a href="<?=ROOT_INDEX.'?'.LOAD_GET_PAGE.'=';?>register">REGISTRATE</a></li>
<li><a href="<?=ROOT_INDEX.'?'.LOAD_GET_PAGE.'=';?>downloads">DESCARGAS</a></li>
<li><a href="<?=ROOT_INDEX.'?'.LOAD_GET_PAGE.'=';?>rankings">RANKING</a></li>
<li><a href="<?=ROOT_INDEX.'?'.LOAD_GET_PAGE.'=';?>webshop">WEBSHOP</a></li>
<li><a href="https://www.tuservermu.com.ve" target="_blank">FORO</a></li>
<li><a href="https://www.facebook.com/TUServerMU.com.ve/" target="_blank">FACEBOOK</a></li>
</ul>
</div>

Si te sirvio mi tutorial por favor dale al boton de Gracias  rebote 

o.O al menos deja los estilos, si agrego eso sin estilos se veria algo asi

  • Inicio
  • registro
  • descarga
  • etc

Gracias:


Online Azzlaer #2 Posteado: May 18, 2017, 10:03:19 PM

  • MAESTRO

  • US. DE HONOR

  • Colaborador
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 1.407
  • Gracias recibida: 23157
  • cl
Te adjunte mi hoja de estilos

Gracias:


Offline dmnahuel #3 Posteado: May 19, 2020, 04:01:57 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 23
  • Gracias recibida: 2
  • ar
Lo que estaba buscando, sos un genio !!


Offline saikano2020 #4 Posteado: June 15, 2020, 06:40:06 PM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 48
  • Gracias recibida: 22
  • ar
Te adjunte mi hoja de estilos
Podrias dejar una foto para ver como funciona, ya que no entenderia como se veria, muchas gracias desde ya!


Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
2 Replies
1642 Views
Last post January 19, 2018, 05:09:11 PM
by DrakenBk
0 Replies
4208 Views
Last post May 05, 2018, 11:37:57 AM
by -Rastaa.TSM☢
0 Replies
1647 Views
Last post July 05, 2018, 06:35:12 PM
by Azzlaer
8 Replies
1405 Views
Last post September 17, 2018, 06:49:15 PM
by ZabiinoOo
1 Replies
1115 Views
Last post March 20, 2020, 04:21:55 PM
by Ractor