Javascript ENTER/LEAVE popover div with cookie

This project was awarded to jqMike for $60 USD.

Get free quotes for a project like this
Project Budget
$30 - $250 USD
Total Bids
Project Description

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

Awarded to:
Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online