Tagged: ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #18448

    Hello,

    I am setting up a webstore with Cashie Commerce, which has a built in Lightbox option as well as the Choices Theme has. Therefore I have 2 lightboxes open on the Product details page. How can I disable the PrettyPhoto lightbox on those pages?

    Here are the links: http://www.theartsofsilence.com/products/

    http://www.theartsofsilence.com/products/product-details/#cid=71915

    Thank you,

    Viktoria

    #99499

    Try to replace following code in choices/js/avia.js:

    //activates the prettyphoto lightbox
    if(jQuery.fn.avia_activate_lightbox)
    jQuery(container).avia_activate_lightbox();

    with:

    //activates the prettyphoto lightbox
    if(jQuery.fn.avia_activate_lightbox && jQuery('.c_detailsWrapper').length < 1)
    jQuery(container).avia_activate_lightbox();

    #99500

    It works perfectly!!!

    Thanks Dude, I appreciate your help.

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

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