PDA

View Full Version : Popuptraffic cookies?



amtiwbg
March 16th, 2001, 01:23
I want to put popuptraffic.com's popupadds at my message board but I only want it to pop up once so it wont be anoying to my users, right now everytime you veiw a new topic or return to the main page it pops up. can u help?

Haze
March 16th, 2001, 06:14
Here you are my friend..

http://www.sictalk.com/ubb/Forum10/HTML/000290.html

Robert from SI
March 16th, 2001, 13:58
Hello,

The popups are rotating thru 3 different ads right now, you get credit for all 3 in a 12 hour period.

The popbehinds are rotating thru 6 different ads and you get credit for all 6 in a 12 hour period.

Use to cookies if you like, but position the pops wisely on your page and you can make a good bit more $$$.

Cheap Bastard
March 16th, 2001, 15:08
that's good to know, robert, but i think a visitor would rather have just one popup or popbehind (if any at all) than 3 or 6 of em...

I realize you're working in the best interest of the webmaster, but if i had 6 popbehinds on a page... Well let's just say i'd leave after the 2nd popbehind...

CJ-1
March 16th, 2001, 18:11
I don't know anything about Java script but isn't this code for a pop behind because it says mode=behind but i assume you can just change it to say pop up without affecting the script any?

:confused:


<SCRIPT LANGUAGE="JavaScript">
<!-- 12 hours
if (document.cookie.indexOf("popuptrafficbehind") == -1) {
var expdate = new Date((new Date()).getTime() + 43200000);
document.cookie="popuptrafficbehind=general; expires=" + expdate.toGMTString() + "; path=/;";
document.write("<SCRIPT LANGUAGE=\"JavaScript\" src=\"http://www.popuptraffic.com/assign.php?l=USERID&mode=behind\"></script>");
}
//-->
</script>

Haze
March 16th, 2001, 20:38
you just need to edit it to the proper one