How to use a URL Instead of script?

  • Profile Image
    Barkley
    Asked on October 13, 2017 at 01:10 PM

    I would like to have a popup.  Here is the script that creates a popup.

    <a target="_blank" href="javascript:void( window.open( 'https://form.jotform.com/72853972112155', 'blank', 'scrollbars=yes, toolbar=no, width=700, height=500' ) ) "> Showing </a>

    I can only use a url to access the popup. Is it possible to use a url to open up a popup?

  • Profile Image
    Sabbir
    Answered on October 13, 2017 at 01:38 PM

    You can try using this code to open the form in a pop up when you go to a url:

    <script type="text/javascript">
    window.onload = function() {
       window.open('https://form.jotform.com/72853972112155','google',' menubar=0, resizable=0,dependent=0,status=0,width=700,height=500,left=10,top=10')
    }
    </script>

    Let us know if you have any further query.