Ver Mensaje Individual
  #3 (permalink)  
Antiguo 24/05/2012, 11:15
Montes28
 
Fecha de Ingreso: septiembre-2010
Mensajes: 1.853
Antigüedad: 13 años, 7 meses
Puntos: 6
Respuesta: abrir ventana popup con qtip

amigos estoy tratando de implementar la ventana modal

y tengo el siguiente codigo

Código Javascript:
Ver original
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <head>
  4. <script type="text/javascript" src="jquery-1.2.6.js"></script>
  5. <script language="javascript">
  6. $( document ).ready( function() {
  7.     $("a[rel='pop-up']").click(function () {
  8.         var caracteristicas = "height=700,width=800,scrollTo,resizable=1,scrollbars=1,location=0";
  9.         nueva=window.open(this.href, 'Popup', caracteristicas);
  10.         return false;
  11.  });
  12. });
  13. </script>
  14. </head>
  15. <body>
  16. <p><a href="ventana.html" rel="pop-up">ABRIR POP UP</a></p>
  17. </body>
  18. </html>

este funciona perfecto pero lo necesito integrar con el siguiente codigo


Código Javascript:
Ver original
  1. eventRender: function (event, element) {
  2.  
  3.    
  4.         element.qtip({    
  5.             content: {    
  6.                 title: { text: event.title },
  7.                
  8.                 text:'<span class="title">Evento N°:</span>'+ event.id+'<br><span class="title">Inicio: </span>' + ($.fullCalendar.formatDate(event.start, 'hh:mmtt')) + '<br><span class="title">Fin: </span>' + ($.fullCalendar.formatDate(event.end, 'hh:mmtt'))+ '<br><span class="title">Autor: </span>'+event.ejemplo+'<p><a href="ventana.html" rel="pop-up">ABRIR POP UP</a></p>'      
  9.             },
  10.            
  11.              show: {
  12.             when: 'click',
  13.             solo: true // Only show one tooltip at a time
  14.          },
  15.             hide: { when: 'inactive', delay: 3000 },
  16.             style: {
  17.                 width: 300,
  18.                 padding: 5,
  19.                 color: 'black',
  20.                 textAlign: 'left',
  21.                 border: {
  22.                 width: 1,
  23.                 radius: 3
  24.              },
  25.                 tip: 'topLeft',
  26.  
  27.                 classes: {
  28.                     tooltip: 'ui-widget',
  29.                     tip: 'ui-widget',
  30.                     title: 'ui-widget-header',
  31.                     content: 'ui-widget-content'
  32.                 }
  33.             }
  34.                   });
  35.     }

me abre una nueva ventana pero no es popup

que estoy haciendo mal?