Unable to auto popup a lightbox form
-
bayviewboomAsked on February 10, 2015 at 02:06 PM
ok, wrapping this sample in PRE tags didn't work. Would be nice if jotform provided some means of displaying raw script/html in these support pages, since... that's what we do here....
This is a re-post of a comment on How to Auto-popup a Lightbox Form
-
raulAnswered on February 10, 2015 at 03:07 PM
The pre tag is not intended for this purpose, this tag is used to define preformatted text so the browser shows the text inside the tags just as you have typed it.
In order to use the scripts detailed on the guide you need to copy/paste them on the web page where you want to show the lightbox form. If you need further assistance, please provide the URL of the web page where you have included the script so we can check it.
Thank you.
-
bayviewboomAnswered on February 10, 2015 at 05:00 PM
Yes, I know how to embed the form. Plz see my question in the original thread.
I know what PRE tags are for. was using them to post sample code here.
Thx
-
raulAnswered on February 10, 2015 at 05:36 PM
Ok, my apologies. I didn't see you other posts.
Please try to use the following script:
<script src="https://www.jotform.com/static/feedback2.js?3.2.5340" type="text/javascript">
var JFL_42252369650152 = new JotformFeedback({
formId:'42252369650152',
base:'http://www.jotform.us/',
windowTitle:'Sign up for our ocassional newsletter. No spam!',
background:'#FFA500',
fontColor:'#FFFFFF',
type:false,
height:600,
width:500,
openOnLoad:false
});
</script>Please note that you also need to add the anchor tag and the script that will load the form after 5 seconds.
You can see it all working here: https://shots.jotform.com/raul/513390/lightbox.html
If you have further questions, please let us know.
Thank you. -
bayviewboomAnswered on February 10, 2015 at 06:33 PM
Hrm, so help me out. First, how did you add code to this forum without your tags getting stripped out? You went into 'source code' mode?
i already have the script on my website for the floating button. Now i'm trying to add the timed form-loader. It sounds like you're saying to add a link tag, but i don't want a link tag, i want the floating button.
thx
-
bayviewboomAnswered on February 10, 2015 at 06:58 PM
-
bayviewboomAnswered on February 10, 2015 at 07:00 PM
erp, i'm easily confused. going to continue this conversation on my original thread.
-
CarinaAnswered on February 10, 2015 at 09:07 PM
I tested the code and it is opening after 5 seconds:
http://screencast-o-matic.com/watch/conXnhekGd
I see that you have another thread, it is more effective to use only one to contact us.
Let us know if we can assist you further.
-
bayviewboomAnswered on February 10, 2015 at 10:39 PM
please see the behavior here:
yes, i did only use one thread. Your agent, Raul, reposted my question in this thread.
-
JonathanAnswered on February 11, 2015 at 07:57 AMJotform Support
I could not view the proper source code of the page from here http://www.bayviewboom.org/
it was actually here http://www.bvhpradio.org/boom.php
From what I can see on the page source code, you were instead using the Feedback code -- not the Lightbox code.
I suggest you redo and follow the user guide https://www.jotform.com/help/203-How-to-Auto-popup-a-Lightbox-Form
Get the Lightbox code also instead
Please let us know if still not successful.
Thanks.