Does anyone know how to make a pop-up change with each new visitor. I have created a pop-up that randomly changes but my work wants it to go from lastchance.html to lastchance5.html each time a visitor enters the site.
var expDays = 7; // the number of days the cookie will last
var...
I need to create a pop up that will alternate pop-ups each time someone visits the site. Meaning, if I have 5 different pop-ups, I need it too start with popup[0], then popup[1] on the next visitor and so on.
var popup=new Array();
popup[0]=new...
I need to create a popup that only closes when someone exits the window, but not when they push the back button of their browser.
Here is the code I am using.
exited = 0;
function popup() {
if(exited)
{
var popurl="herman-popup.html"
winpops = window.open(popurl, "", "width=390...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.