Click to See Complete Forum and Search --> : Need quick code...i hope
rhead01
07-24-2003, 01:11 PM
I've copied a popup code from a generator obtained on this site. I'd like for this window to open only on the first visit to the site each day - or each initial visit. Does anyone know of anything I can add to the code to make this happen?
MadCommando
07-24-2003, 01:41 PM
You might try a cookie that logs if you've been on the site that day.
For example: you use to cookie and determine how many times the user has been to the site today. If they were there 0 times, make the popup.
and for how to make the cookie counter check here
http://www.htmlgoodies.com/beyond/cookiecount.html
rhead01
07-24-2003, 01:57 PM
Thanks! I'll try that .... I'm a code-flunky, though...so we shall soon see. Even if it doesn't work the way I want it to, it's a neat trick that I can use somewhere else. Thanks!