Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #198788

    Hola Josué, como puedo evitar que salga la ventana emergente ‘Lightbox’ al pinchar en cualquier imagen de mi sitio?

    Deseo que sea el comportamiento global y no tener que hacer por cada imagen.

    Muchas gracias!!

    José

    #198815

    Hey jmaguirrei!

    Edit js > avia.js, find this code on line 54:

     //activates the prettyphoto lightbox
            $(container).avia_activate_lightbox({callback:'avia_lightbox_callback'});

    Replace it with:

     //activates the prettyphoto lightbox
            //$(container).avia_activate_lightbox({callback:'avia_lightbox_callback'});

    This will disable the lightbox. Remove browser cache then reload the page.

    Regards,
    Ismael

    #198831

    Thanks very much Ismael, it works!!

    José

    #198861

    Hey!

    Glad it worked. :)

    Regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Disable Lightbox’ is closed to new replies.