How do I make the Pop-up appear just once per visitor?

I have setup a dhtml (a DIV) pop-up on my site. I want it to appear just once to each visitor (unless s/he clears cookies). I know this can be done using cookies, but dont know anything about setting them up. Ideally, if you could provide me with a code snippet to achieve this, it will be a great help.
Samko1Asked:
Who is Participating?
 
HonorGodConnect With a Mentor Software EngineerCommented:
Well here is some sample code that tests if a cookie exists, and if not creates one.
Cookies.js.txt
CookiesExample.html.txt
0
 
Samko1Author Commented:
Thanks HonorGod!

0
 
HonorGodSoftware EngineerCommented:
You are very welcome.  Thank you for the grade and points.  Sorry that you didn't feel it warranted a better grade.

Good luck & have a great day
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.