Problem with using Lightbox Script

  • mcastaneda
    Asked on December 3, 2014 at 12:35 PM

    Hi, I'am having some troubles with this script. It tells me the following (while opening on chrome and firefox browsers): 

    https://max.jotfor.ms/static/feedback2.js?3.2.4473 Failed to load resource: net::ERR_INSECURE_RESPONSE

    And here it is:

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

    var JFL_43361246276354 = new JotformFeedback({

    formId:'43361246276354',

    base:'https://jotformeu.com/',

    windowTitle:'Donnez-moi un titre',

    background:'#FFA500',

    fontColor:'#FFFFFF',

    type:false,

    height:500,

    width:700,

    openOnLoad:false

    });

    </script>

    <a class="lightbox-43361246276354" width="30px" height="30px" style="cursor:pointer;color:blue;text-decoration:underline;"><img src="images/icons/enveloppe.png"/></a>

  • Mike_T Jotform Support
    Replied on December 3, 2014 at 4:01 PM

    If you would like to use that script over SSL, you will need to select a 'Secure form' option, and then copy the correct secure version.

    Problem with using Lightbox Script Image 1 Screenshot 20

    It will use the right https script link.

    If you need any further assistance, please let us know.

  • mcastaneda
    Replied on December 4, 2014 at 5:38 AM

    Thank you for your reply and help.  When I use this secured option, it seems to block my other scripts, therefore changing the normal behaviour of the website.  Any advice?

  • val
    Replied on December 4, 2014 at 6:54 AM

    Hi,

    Our apologies! Could you please share us a link of your site? maybe this issue is causing a script conflict with our form and your site script.

    Also, did you tried to put a noConflict script? if not, please try put the code to your site above on the </head> tag.

    <script>$.noConflict</script>

    Thanks.

  • mcastaneda
    Replied on December 4, 2014 at 9:34 AM

    It works! Thank you so much!!!

  • raul
    Replied on December 4, 2014 at 9:36 AM

    On behalf of my colleagues, you're welcome.

    Let us know if we can be of further assistance.
    Thanks.

  • mcastaneda
    Replied on December 4, 2014 at 5:10 PM

    Hi again, actually the problem is back but only for a section (line 266 'till line 285).  Here is my html file https://dl.dropboxusercontent.com/u/82918362/Index/index.html

    Any suggestions?

     

  • raul
    Replied on December 4, 2014 at 5:52 PM

    Upon checking the provided URL, I was able to see the lightbox form when I clicked on the envelope icon.

    Problem with using Lightbox Script Image 1 Screenshot 40

    Problem with using Lightbox Script Image 2 Screenshot 51

    Could you please provide more details about the issue you're experiencing? Are you unable to see the form?

    I also made a test submission and the form worked as expected.

    Problem with using Lightbox Script Image 3 Screenshot 62

    Thanks.

  • mcastaneda
    Replied on December 5, 2014 at 1:26 AM

    Thank your for your reply.

    Actually the problem is on section "Services", there is an accordion script who is not working there.  For ex: If you delete the form script, then the accordion starts to work again and you will be able to see on the website.

  • val
    Replied on December 5, 2014 at 4:23 AM

    Hi,

    Can you please remove our form and get back to us and I will check and need to figure out why they have conflict on your accordion to our form.

    Thanks.

  • val
    Replied on December 5, 2014 at 6:57 AM

    Hi,

    I have found now the problem on your site, it is not our form your forgot to add the function of the accordion.

    Find this script

    <script> if (typeof jQuery == 'undefined') { document.write(unescape("%3Cscript src='js/jquery.js'%3E%3C/script%3E")); } </script>

    and put this script below to the script above.

    <script>
    $( ".accordion" ).accordion();
    </script>

    Thanks.

  • mcastaneda
    Replied on December 5, 2014 at 4:33 PM

    Hi, that worked very well for the accordion, thank you! now it is behaving normally.  

    However I'am still experiencing the same problem above the accordion.

    Here you will find the index without the form script: https://dl.dropboxusercontent.com/u/82918362/Index/index.html

    On the right size of the SERVICES section, above the accordion you will see a right sweep on "POURCENTAGES DE SATISFACTION"

  • jonathan
    Replied on December 5, 2014 at 5:42 PM

    Hi,

    We will answer your next question on the other thread here http://www.jotform.com/answers/470236

    Thanks.