Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
08-21-2011, 12:02 AM #1
- Join Date
- Aug 2011
- Thanked 0 Times in 0 Posts
Hey guys, I already saw this post but I wasn't sure if it took care of the question I'm asking.
I'd like to show this ad only once per 24 hours per visitor.
Can someone please help me out with code to do this? I'm kinda newbish at this.
Thanks so much!
08-21-2011, 02:42 AM #2
(1) Look to see if a cookie you previously set is there.
(2) If it is, look to see if it contains today's date.
(3) If *NOT*, then:
-- (3.a) write out the JS script code you showed so the ad appears.
-- (3.b) Set the cookie in place, giving it a value of today's date
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.