Mostrando Codigo - Dhtml
EXPLICACION
Por la extension de este codigo, para cualquier duda consultar en los comentarios
.Borde_dentro { width:90px;
margin-left:10px;
border:1px solid #666666 }
.Borde_fuera { width:90px;
margin-left:0px;
border:1px solid #333333 }
A.color_enlace:link {color:#666666; text-decoration:none;}
A.color_enlace:visited {color:#666666; text-decoration:none;}
A.color_enlace:active {color:#666666; text-decoration:none;}
A.color_enlace:hover {color:#FF0000; text-decoration:underline;}
<script language = "JavaScript1.2" >
offel_mensaje = "Tutores.org"
function mi_mensaje(which,el_mensaje){
if (document.all||document.getElementById){
which.className='Borde_dentro'
if (document.getElementById) {document.getElementById("el_mensaje").innerHTML = el_mensaje}
else {el_mensaje.innerHTML = el_mensaje}
}
}
function caja_fuera(which){
if (document.all||document.getElementById){
which.className='Borde_fuera'
if (document.getElementById) {document.getElementById("el_mensaje").innerHTML = offel_mensaje}
else {el_mensaje.innerHTML = offel_mensaje}
}
}
<table cellpadding = "0" cellspacing = "0" width = "100" >
<table cellpadding = "3" cellspacing = "0" bgcolor = "#cc0000" class = "Borde_fuera" >
<table cellpadding = "3" cellspacing = "0" class = "Borde_fuera" onMouseover = "mi_mensaje(this,'Descripcion para Enlace 1.')" onMouseout = "caja_fuera(this)" >
<td ><font color = "#666666" size = "2" face = "Arial" ><a class = "color_enlace" href = "#" target = "_blank" > Enlace 1
</ a ></ font ></ td >
<table cellpadding = "3" cellspacing = "0" class = "Borde_fuera" onMouseover = "mi_mensaje(this,'Descripcion para Enlace 2.')" onMouseout = "caja_fuera(this)" >
<td ><font color = "#666666" size = "2" face = "Arial" ><a class = "color_enlace" href = "#" target = "_blank" > Enlace 2
</ a ></ font ></ td >
<table cellpadding = "3" cellspacing = "0" class = "Borde_fuera" onMouseover = "mi_mensaje(this,'Descripcion para Enlace 3.')" onMouseout = "caja_fuera(this)" >
<td ><font color = "#666666" size = "2" face = "Arial" ><a class = "color_enlace" href = "#" target = "_blank" > Enlace 3
</ a ></ font ></ td >
<table cellpadding = "3" cellspacing = "0" class = "Borde_fuera" onMouseover = "mi_mensaje(this,'Descripcion para Enlace 4.')" onMouseout = "caja_fuera(this)" >
<td ><font color = "#666666" size = "2" face = "Arial" ><a class = "color_enlace" href = "#" target = "_blank" > Enlace 4
</ a ></ font ></ td >
<table cellpadding = "3" cellspacing = "0" class = "Borde_fuera" onMouseover = "mi_mensaje(this,'Descripcion para Enlace 5.')" onMouseout = "caja_fuera(this)" >
<td ><font color = "#666666" size = "2" face = "Arial" ><a class = "color_enlace" href = "#" target = "_blank" > Enlace 5
</ a ></ font ></ td >
<table cellpadding = "1" cellspacing = "0" bgcolor = "#666666" width = "90" >
<table cellpadding = "3" cellspacing = "0" bgcolor = "#666666" width = "88" height = "100" >
<td align = "left" valign = "top" bgcolor = "#666666" ><font id = "el_mensaje" color = "#FFFFFF" size = "2" face = "Arial" ><strong > Tutores.org
</ strong ></ font ></ td >
ENLACE AL CODIGO
Si quieres enlazar desde tu pagina a este codigo
COMENTARIOS
Comentario usuario
3
5
necesito saber si este menu, al momento de hacer click en alguno de los link los demas se cierran. Si es asi, me pueden explicar cual es la parte en que se le inidica a los otros menues que se cierren.
Se los agradeceria un monton. de antemano muuuchas gracias.
Luis Torres
Comentario usuario
3
5
Hola el menu no es desplegable, por lo que no se cierra en ningun momento. Lo que debes de modificar son los enlaces href="#" con la url que quieres que se abra.
Saludos