Tema: lista/menu
Ver Mensaje Individual
  #5 (permalink)  
Antiguo 10/12/2012, 12:51
Avatar de emprear
emprear
Colaborador
 
Fecha de Ingreso: junio-2007
Ubicación: me mudé
Mensajes: 8.388
Antigüedad: 16 años, 10 meses
Puntos: 1567
Respuesta: lista/menu

Cita:
Iniciado por arieljbon Ver Mensaje
Te agradezco tu info....pero lo que estoy buscando no es precisamente enlaces comunes..hace referencias a menu etc....lo que necesito es del dreamweaver INSERTAR > FORMULARIO > SELECCIONAR MENU/LISTA....de esa lista que ingreso al seleccionarla me lleva un html ...me parece que lleva algo de codigo javascript...por eso si alguien me puede ayudar. Gracias
El dreamweaver te proporciona el javascript necesario, y tiene un asistente muy preciso, pero para hacer eso, creo que manualmente sería mucho más sencillo

Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <title>titulo</title>
  5. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  6. <script type="text/javascript">
  7. //<![CDATA[
  8. /* script */
  9. function redirigir(valor){
  10. if (valor != '')
  11. document.getElementById('paises').action = valor;
  12. document.getElementById('paises').submit();
  13. }
  14. //]]>
  15. </head>
  16. <form action="#" target="_blank" id="paises">
  17. <select onchange="redirigir(this.value);">
  18. <option value="">seleccionar</option>
  19. <option value="a.html">argentina</option>
  20. <option value="b.html">brasil</option>
  21. <option value="c.html">colombia</option>
  22. </form>
  23. </body>
  24. </html>

Salu2
__________________
La voz de las antenas va, sustituyendo a Dios.
Cuando finalice la mutación, nueva edad media habrá
S.R.