Quantcast
Channel: Squarespace Answers - latest questions
Viewing all articles
Browse latest Browse all 21023

Need no-block popup window script

$
0
0

I need to add a simple no-block pop-up window to the site. I need this pop to appear as a separate window layered above the home page. It will contain a simple question: "Are you over 21 years old?" with two option buttons "Yes" and "No". If person selects "Yes", pop window disappears and access to site is granted. If "No" is selected, a message pops up saying something like "Sorry, come back when you are 21". perfect example of what I need is at this website: - http://www.harpoonbrewery.com/ Notice how the pop up is locked in place while the background is shadowed, but still active and scrollable. I have a script that can do something like this, but even when testing it on this platform, I could not get it to work. I tried adding a block of code on homepage and also tried injecting it page header. Nothing worked. I have a feeling that it's because of the limitation of where and how much code we can install in our templates. Is the only way to do this by using the developer platform? Thoughts anyone?


Viewing all articles
Browse latest Browse all 21023

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>