Bienvenido: ( Identificarse | Registrarse )      
Foros de Trucos Windows
 
Closed TopicStart new topicStart Poll

Outline · [ Estándar ] · Lineal+

> BOTONES DEPLEGABLES CON HIPERVINCULOS, COMO PONER HIPERVINCULOS A BOTONES.

SITECOM
post Feb 5 2006, 08:05 AM
Publicado: #1


Newbie
*

Grupo: Members
Mensajes: 1
Registrado: 5-February 06
Miembro nº: 158.874



HOLA QUE TAL.

SOY NUEVO EN ESTA COMUNIDAD ESPERO UN POCO DE SU AYUDA, Y POR QUE NO, TAMBIEN YO OFRECERLES UN POCO DE LA MIA.

BIEN, RESULTA QUE TENGO ESTE CODIGO:

<style>
button {width: 150px}
.botonMenuDespl {margin-left: 5px; width: 120px}
.AereosVisible {visibility: "visible"; margin-bottom: -15px}
.AereosOculto {visibility: "hidden"; margin-top: -190px}
.MarinosVisible {visibility: "visible"; margin-bottom: -15px}
.MarinosOculto {visibility: "hidden"; margin-top: -160px}
.TerrestresVisible {visibility: "visible"; margin-bottom: -15px}
.TerrestresOculto {visibility: "hidden"; margin-top: -130px}
</style>

<script>
function Menu(id_Div,nombre) {
if(id_Div.className == nombre + "Oculto") {
id_Div.className = nombre + "Visible";
} else {
id_Div.className = nombre + "Oculto";
}
}
</script>

<body>

<button onclick="Menu(DivAereos, 'Aereos')">Cursos</button><br>
<div id=DivAereos class=AereosOculto>
<br>
<table cellspacing=0>
<tr>
<td><span style="font: 15pt comic sans ms; color: #AAAAFF">
<a rel="nofollow" href="Academia.html">»</a></span></td>
<td><button class=BotonMenuDespl>>Office Basico</a></button></td>
</tr>
<tr>
<td><span style="font: 15pt comic sans ms; color: #AAAAFF">
<a rel="nofollow" href="Academia.html">»</a></span></td>
<td><button class=BotonMenuDespl>Office Intermedio</button></td>
</tr>
<tr>
<td><span style="font: 15pt comic sans ms; color: #AAAAFF">
<a rel="nofollow" href="Academia.html">»</a></span></td>
<td><button class=BotonMenuDespl>Office Avanzado</button></td>
</tr>
<tr>
<td><span style="font: 15pt comic sans ms; color: #AAAAFF">
<a rel="nofollow" href="Academia.html">»</a></span></td>
<td><button class=BotonMenuDespl>M. P. C. C.</button></td>
</tr>
<tr>
<td><span style="font: 15pt comic sans ms; color: #AAAAFF">
<a rel="nofollow" href="Academia.html">»</a></span></td>
<td><button class=BotonMenuDespl>Otros Cursos</button></td>
</tr>
</table>

</div>

<br><br>

<button onclick="Menu(DivMarinos, 'Marinos')">Recursos</button><br>
<div id=DivMarinos class=MarinosOculto>
<br>
<table cellspacing=0>
<tr>
<td><span style="font: 15pt comic sans ms; color: blue">
<a rel="nofollow" href="Principal.html">»</a></span></td>
<td><button class=BotonMenuDespl>Software</button></td>
</tr>
<tr>
<td><span style="font: 15pt comic sans ms; color: blue">
<a rel="nofollow" href="Principal.html">»</a></span></td>
<td><button class=BotonMenuDespl>Drivers</button></td>
</tr>
<tr>
<td><span style="font: 15pt comic sans ms; color: blue">
<a rel="nofollow" href="Principal.html">»</a></span></td>
<td><button class=BotonMenuDespl>Documentos</button></td>
</tr>
<tr>
<td><span style="font: 15pt comic sans ms; color: blue">
<a rel="nofollow" href="Principal.html">»</a></span></td>
<td><button class=BotonMenuDespl>Articulos</a></button></td>
</tr>
</table>
</div>

<br><br>

<button onclick="Menu(DivTerrestres, 'Terrestres')">Noticias</button><br>
<div id=DivTerrestres class=TerrestresOculto>
<br>
<table cellspacing=0>
<tr>
<td><span style="font: 15pt comic sans ms; color: brown">
<a rel="nofollow" href="Principal.html">»</a></span></td>
<td><button class=BotonMenuDespl>Computo</button></td>
</tr>
<tr>
<td><span style="font: 15pt comic sans ms; color: brown">
<a rel="nofollow" href="Principal.html">»</a></span></td>
<td><button class=BotonMenuDespl><font size="1">Telecomunicaciones</font></button></td>
</tr>
<tr>
<td><span style="font: 15pt comic sans ms; color: brown">
<a rel="nofollow" href="Principal.html">»</a></span></td>
<td><button class=BotonMenuDespl>Tecnologia</button></td>
</tr>
</table>
</div>

CON ESTE CODIGO SE HACEN BOTONES DESPLEGABLES (DE 1 BOTON APARECEN 3 O 2).

Y HE TENIDO MUCHISIMOS PROBLEMAS, CON ALGO QUE PUEDE SONAR MUY SENCILLO, PERO ME HA COSTADO UN TRABAJO ENCONTRAR EL MODO.

QUIERO QUE AL DAR CLICK EN EL BOTON ME ENLACE Y APARESCA EN LA MISMA VENTANA O EN OTRA DIFERENTE LA PAGINA A LA CUAL NOS ESTA ENLAZANDO EL DAR CLICK EN EL BOTON.

CREO QUE ES CON LA OPERACION onClick= PERO NO SE EN DONDE UBICARLA O COMO DARLE LA ORDEN PARA QUE REALIZE ESTA ACCION DEL HIPERVINCULO.

AGRADECERE DE ANTEMANO SU AYUDA...


User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
Closed TopicTopic OptionsStart new topic

Collapse

> Topicos similares

Configurar botones extra del raton ddpp 96 0 Jun 28 2008, 10:19 PM
By: ddpp
botones en barra de tareas chusfc 694 7 Nov 27 2007, 12:57 AM
By: roger.cruz
URGENTE: QUITAR BOTONES DEL EXPLORADOR WINDOWS unisol 529 1 Oct 27 2007, 06:46 PM
By: rioj
ACTIVAR BOTONES DEL TECLADO Lizz 564 6 Jul 2 2007, 06:14 PM
By: DownloadMachine

Google
Web www.trucoswindows.net