Ver Mensaje Individual
  #2 (permalink)  
Antiguo 09/07/2009, 12:44
Avatar de David
David
Moderador
 
Fecha de Ingreso: abril-2005
Ubicación: In this planet
Mensajes: 15.720
Antigüedad: 19 años, 1 mes
Puntos: 839
Respuesta: Lightwindow se ejecute solo

Citando la documentación:
Cita:
Create and Launch a Window with a Javascript Call.

To do this simply call activateWindow(id, options) function as show below. Just be sure to reference the myLightWindow object that is automatically created or use the one you have opted to.

Código javascript:
Ver original
  1. myLightWindow.activateWindow({
  2.     href: 'http://stickmanlabs.com/images/kevin_vegas.jpg',
  3.     title: 'Waiting for the show to start in Las Vegas',
  4.     author: 'Jazzmatt',
  5.     caption: 'Mmmmmm Margaritas! And yes, this is me...',
  6.     left: 300
  7. });

There are many options you can set, see below...
Código javascript:
Ver original
  1. href            // The hyperlink for the window
  2. title           // Title of window
  3. author          // Author of window
  4. caption         // The Caption for the window
  5. rel             // Set the rel tag
  6. top             // Top position of the window
  7. left            // Left position of the window
  8. type            // The type of the window you want to change it too
  9. showImages      // How many images to show
  10. height          // The height of the window
  11. width           // The width of the window
  12. loadingAnimation    // Make the Loading Cover skip the animation
  13. iframeEmbed         // Emebed the Media into an iframe instead of a div
  14. form            // The name of the form
__________________
Por favor, antes de preguntar, revisa la Guía para realizar preguntas.