Foros del Web » Programando para Internet » Jquery »

Varias ventanas con EZPZ Tooltip y map

Estas en el tema de Varias ventanas con EZPZ Tooltip y map en el foro de Jquery en Foros del Web. Buenas tardes Utilizo EZPZ Tooltip Lo que no logro hacer es que me abra varios ToolTip. Así tengo mi estructura: @import url("http://static.forosdelweb.com/clientscript/vbulletin_css/geshi.css"); Código HTML: Ver ...
  #1 (permalink)  
Antiguo 13/08/2014, 12:49
Avatar de ceaped  
Fecha de Ingreso: febrero-2004
Mensajes: 2.185
Antigüedad: 20 años, 2 meses
Puntos: 9
Pregunta Varias ventanas con EZPZ Tooltip y map

Buenas tardes
Utilizo EZPZ Tooltip
Lo que no logro hacer es que me abra varios ToolTip.

Así tengo mi estructura:
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.  
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4.  
  5. <meta charset="utf-8"> 
  6. <title>The EZPZ Way &ndash; EZPZ Tooltip</title>
  7.  
  8. <link rel="stylesheet" type="text/css" href="css/estilo_tooltip.css" />
  9.    
  10. <script type="text/javascript" src="js/jquery.min.js"></script>
  11. <script type="text/javascript" src="js/original.js" ></script>
  12.    
  13. <script type="text/javascript" charset="utf-8">
  14. $(document).ready(function(){
  15.        
  16. $("#stay-target-1").ezpz_tooltip({
  17. contentPosition: 'topLeft',
  18. stayOnContent: true,
  19. offset: 0
  20. });
  21.  
  22. $("#stay-target-2").ezpz_tooltip({
  23. contentPosition: 'topLeft',
  24. stayOnContent: true,
  25. contentInfo: 'stay-target-2',
  26. offset: 0
  27. });
  28.  
  29. });
  30.  
  31.  
  32.  
  33. </head>
  34.  
  35.  
  36. <!--Mapa conceptual-->
  37. <div class="marco_mapa">
  38. <img src="images/mapa_circuitos.png" border="0" usemap="#mimapa" id="map" alt="Mapa de Circuitos II">
  39.  
  40.  
  41.     <!-- Navegacion del mapa grande -->
  42.     <map name="mimapa" id="mimapa">
  43.     <area shape="rect" coords="628,2,793,44" href="videos/video_introduccion.html" class="iframe_video" title="Circuitos eléctricos II">
  44.     <area shape="rect" coords="343,96,508,138" href="pdf/circuito_dominio_frecuencia.pdf" class="iframe_pdf" title="Circuitos en el dominio de la frecuencia">
  45.     <area shape="rect" coords="147,211,312,253" href="#" id="stay-target-1">
  46.     <area shape="rect" coords="307,337,472,379" href="#" id="stay-target-2">
  47.     </map>
  48.     <!-- Fin Navegacion del mapa grande -->
  49.  
  50.  
  51.     <!-- Contenidos del ToolTip -->
  52.     <div class="tooltip-content" id="stay-content-1">
  53.  
  54.     <a href="#"><img src="images/icono_pdf.png" alt="Abrir PDF"></a>
  55.     <a href="#"><img src="images/icono_video.png" alt="Abrir video"></a>
  56.     <a href="#"><img src="images/icono_video.png" alt="Abrir video"></a>
  57.     <!-- Fin Contenidos del ToolTip -->
  58.    
  59.    
  60.     <!-- Contenidos del ToolTip -->
  61.     <div class="tooltip-content" id="stay-target-2">
  62.  
  63.     <a href="#"><img src="images/icono_pdf.png" alt="Abrir PDF"></a>
  64.     <a href="#"><img src="images/icono_video.png" alt="Abrir video"></a>
  65.     <a href="#"><img src="images/icono_video.png" alt="Abrir video"></a>
  66.     <!-- Fin Contenidos del ToolTip -->
  67.  
  68.     </div>
  69.  
  70.     </div>
  71.     </div>
  72.  
  73. </body>
  74. </html>

Pero solo me abre un toolTip.

$("#stay-target-1").ezpz_tooltip({
contentPosition: 'topLeft',
stayOnContent: true,
offset: 0
});

¿Cómo hago para agregar varios toolTip?

Gracias por su ayuda
__________________
Diseñador Gráfico publicitario

Última edición por ceaped; 13/08/2014 a las 12:52 Razón: Agregar texto

Etiquetas: map, tooltip, ventanas
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:16.