pop-up window

  • 1
  • Question
  • Updated 9 years ago
  • Answered
hello,
how to create (or where to find) pop-up window with confirm. of age BEFORE entering site?
thank you
Photo of Hen

Hen

  • 21 Posts
  • 0 Reply Likes

Posted 9 years ago

  • 1
Photo of UK Duke

UK Duke, Champion

  • 3321 Posts
  • 213 Reply Likes
Hi Hen,

Pop ups are not nice and are often blocked by browsers.

Its better to create one a user clciks on to open rather than an automatic 1.

Take a look at this link http://www.wilsoninfo.com/pop_gen.html

The filename it asks for should be a saved page you have in your site, the page would include the age verification and the links either in or away from the site.

Lee.
Photo of Kershnee

Kershnee

  • 2087 Posts
  • 152 Reply Likes
Thanks Lee!! Hen - please let us know if you have any other questions or need further assistance with this.
Photo of Goldeneye Creative

Goldeneye Creative

  • 10 Posts
  • 1 Reply Like
this is great but how do we paste the code into the HEAD of the page when we don thave access to it in Yola?
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hello Tom

Unfortunately you don't have access to the head section of your site. What does work for some people is to add the head section of code in one HTML Widget and the body section of the code into another HTML widget.

Here are steps to using the HTML Widget:

1. Drag-and-drop an HTML Widget from the Sidebar on the right onto your page (the icon for this is a blue sphere).
2. An HTML editor will open up that will allow you to write or paste your code (use right-click > paste or ctrl-V to paste).
3. When you are done, click "OK" and you will see the way that the HTML displays on your page.

Please let me know if you have any trouble with this.