Javascript ENTER/LEAVE popover div with cookie

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

Evner: CSS, HTML, Javascript

Se mere: javascript enter leave, javascript popover div, javascript enter leave site, div popover time, popover javascript css cookie, css popover cookie, html enter leave cookie, enter leave javascript, javascript enter leave website, enter leave site css, popover div html, leave graphics, html code for javascript, div popover javascript, css popover gray, html enter leave, popover div cookie, div enter leave, page loads popover javascript, javascript leave div, enter leave site javascript, popover leave, website gray popover, leave enter javascript, javascript popover

Om arbejdsgiveren:
( 2 bedømmelser ) New Orleans, United States

Projekt ID: #984879

Tildelt til:


I can write such a script. Please contact me as soon as possible.

$60 USD in 0 dage
(49 bedømmelser)