Scrip conflict.

  • juiceandblend
    Asked on April 16, 2014 at 6:45 AM

    I have an issue, I have a lightbox popup to view the product images. But as soon as I add your lightbox code the iamge lightbox stops working. Now when you click on an image it jsut opens the image in the page and leaves the site? If I remove the script reference:

    <script src="http://max.jotfor.ms/static/feedback2.js?3.2.1336" type="text/javascript">

    My image lightbox works fine. I have looked at lots of posts but none have the answer?

    AN example of this issue can be found here:

    http://www.juiceandblend.com.au/drinkware/ball-regular-mouth-quilted-12oz-jars-350ml

    If you click on the main image you will see the page open to the full image and no light box. The jotform light box is working perfectly. You can test this by clicking the banner to the right of the logo in the header.

    Hope you have a simple answer have spent ages on this issue.

    Thanks

  • Elton Support Team Lead
    Replied on April 16, 2014 at 8:58 AM

    Hi,

    Here's the easiest solution.

    Simply moved the lightbox script code (excluding the hyperlink code) under the last meta code on your page.

    See this image for a guide:

    Scrip conflict Screenshot 20

    Regards!

  • juiceandblend
    Replied on April 17, 2014 at 9:00 AM

    Thanks, i tried what you suggested but the light box from the image still opened in a new page. i then played with the placement and this seems to work.

     

     

    DOCTYPE html>

     <html>

    <head>

    <script src="http://max.jotfor.ms/static/feedback2.js?3.2.1336" type="text/javascript">

    new JotformFeedback({

    formId:'41007678810857',

    base:'http://jotform.co/',

    windowTitle:'Join our list here',

    background:'#333333',

    fontColor:'#FFFFFF',

    type:1,

    height:250,

    width:500

    });

    script>

     

    <title>Ball REGULAR Mouth Quilted 12oz Jars (350ml) - Juice and Blendtitle>

     

    Thanks

  • Elton Support Team Lead
    Replied on April 17, 2014 at 9:20 AM

    I see, that's a good find. Cheers! =)