Grow your CSS skills. Land your dream job.

lightbox open first access site (like a pop up)

  • # July 20, 2010 at 7:52 am

    good morning guys
    here again to post a question

    is there a way to build a lightbox message that open on a first access to a website.

    i don’t like the old pop up but i need to inform when people access to the site.

    # July 20, 2010 at 8:17 am

    you would have to set a cookie when the user closes the box. each time they view a page the code would see if the cookie is set to a specific value. If so it won’t open the box.

    http://www.quirksmode.org/js/cookies.html

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".