Problem with using Lightbox Script

  • Profile Image
    mcastaneda
    Asked on December 03, 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>

  • Profile Image
    Mike_T
    Answered on December 03, 2014 at 04: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.

    It will use the right https script link.

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

  • Profile Image
    mcastaneda
    Answered on December 04, 2014 at 05: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?

  • Profile Image
    val
    Answered on December 04, 2014 at 06: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.

  • Profile Image
    mcastaneda
    Answered on December 04, 2014 at 09:34 AM

    It works! Thank you so much!!!

  • Profile Image
    raul
    Answered on December 04, 2014 at 09:36 AM

    On behalf of my colleagues, you're welcome.

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

  • Profile Image
    mcastaneda
    Answered on December 04, 2014 at 05: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?

     

  • Profile Image
    raul
    Answered on December 04, 2014 at 05:52 PM

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

    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.

    Thanks.

  • Profile Image
    mcastaneda
    Answered on December 05, 2014 at 01: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.

  • Profile Image
    val
    Answered on December 05, 2014 at 04: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.

  • Profile Image
    val
    Answered on December 05, 2014 at 06: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.

  • Profile Image
    mcastaneda
    Answered on December 05, 2014 at 04: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"

  • Profile Image
    jonathan
    Answered on December 05, 2014 at 05:42 PM

    Hi,

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

    Thanks.