Foros del Web » Creando para Internet » HTML »

lista/menu

Estas en el tema de lista/menu en el foro de HTML en Foros del Web. Hola gente quisiera hacer con una lista de menu de dreamweaver, que tenga un par de opciones que al seleccionarla me lleve a un html ...
  #1 (permalink)  
Antiguo 10/12/2012, 11:07
 
Fecha de Ingreso: enero-2009
Mensajes: 159
Antigüedad: 15 años, 3 meses
Puntos: 2
Pregunta lista/menu

Hola gente quisiera hacer con una lista de menu de dreamweaver, que tenga un par de opciones que al seleccionarla me lleve a un html de la misma web, ejemplo..tengo la lista de menu, paises..Argentina, Ecuador, Brasil...etc. al hacer click me envie a argentina.html con un target _blank....aguardo sus comentarios...espero que me ayuden...mil gracias!!
  #2 (permalink)  
Antiguo 10/12/2012, 11:18
Avatar de pitufoweb  
Fecha de Ingreso: enero-2008
Ubicación: Un Mundo Raro
Mensajes: 1.148
Antigüedad: 16 años, 3 meses
Puntos: 181
Respuesta: lista/menu

En esta capitulo te explica todo lo que necesitas saber sobre los enlaces.

http://www.librosweb.es/xhtml/capitulo4.html



Saludos
__________________
------------- " La felicidad no llega de afuera, nace desde dentro. " -------------
  #3 (permalink)  
Antiguo 10/12/2012, 12:32
 
Fecha de Ingreso: enero-2009
Mensajes: 159
Antigüedad: 15 años, 3 meses
Puntos: 2
Respuesta: lista/menu

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
  #4 (permalink)  
Antiguo 10/12/2012, 12:46
Avatar de flashmax  
Fecha de Ingreso: julio-2012
Ubicación: Bs.As. Argentina
Mensajes: 507
Antigüedad: 11 años, 9 meses
Puntos: 86
Respuesta: lista/menu

Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  4. <title>Documento sin título</title>
  5. <style type="text/css">
  6. .menu_container {
  7. clear: both;
  8. float: left;
  9. overflow: hidden;
  10. width: 100%;
  11. }
  12.  
  13. #menu {
  14. float: left;
  15. left: 50%;
  16. list-style-type: none;
  17. margin: 0 auto; padding:
  18. 0; position: relative;
  19. }
  20.  
  21. #menu li {
  22. float: left;
  23. position: relative;
  24. right: 50%;
  25. }
  26.  
  27. #menu a {
  28. background: none repeat scroll 0 0 #000;
  29. border: 1px solid #CCC;
  30. color: #FFF;
  31. display: block;
  32. padding: 4px 10px;
  33. text-decoration: none;
  34. width: auto;
  35. }
  36.  
  37. </head>
  38.  
  39. <div class="menu_container">
  40. <ul id="menu">
  41. <li><a href="argentina.html" target="_blank">Argentina</a></li>
  42. <li><a href="brasil.html" target="_blank">Brasil</a></li>
  43. <li><a href="ecuador.html" target="_blank">Ecuador</a></li>
  44. <li><a href="uruguay.html" target="_blank">Uruguay</a></li>
  45. </ul>
  46. </div>
  47. </body>
  48. </html>
__________________
Saludos!
----------------------------------------------------------
  #5 (permalink)  
Antiguo 10/12/2012, 12:51
Avatar de 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.
  #6 (permalink)  
Antiguo 10/12/2012, 16:32
 
Fecha de Ingreso: enero-2009
Mensajes: 159
Antigüedad: 15 años, 3 meses
Puntos: 2
Respuesta: lista/menu

Gracias EMPREAR....es eso lo que buscaba....mil gracias!!!...slds!
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 16:39.