Ver Mensaje Individual
  #5 (permalink)  
Antiguo 10/11/2005, 12:52
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 23 años
Puntos: 772
Hola de nuevo.

Lo que te puse era solo un ejemplo, puedes añadir todos los checkbox que necesites:
Código:
<a href="#" id="pepe">Enlace</a>
<input type="checkbox" onclick="document.getElementById('pepe').href='pagina1.html'" />
<input type="checkbox" onclick="document.getElementById('pepe').href='pagina2.html'" />
<input type="checkbox" onclick="document.getElementById('pepe').href='pagina7.html'" />
Con un combo sería asi:
Código:
<select onchange="document.getElementById('pepe').href=this.value">
<option value="pagina1.html">Pag. 1</option>
<option value="pagina2.html">Pag. 2</option>
Saludos,