I am looking for javascript / CSS / HTML code that does this:
The first time the website loads I need a popover div to appear in the center of the page and gray out the rest of the site. This div will have 2 links, one that says ENTER, and the other that says LEAVE
If the user clicks on ENTER then the popover div will disappear and the site will display normally. Also the clicking of the link will create a Cookie that so that the next time they load the page the popup will not appear.
If the user clicks LEAVE then the site will redirect them to a URL link.
Please comment the code so that I can add graphics / links and such without screwing anything up.
thanks! :D