Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Apr 2009
    Thanked 0 Times in 0 Posts

    Big image/div popup on site index, but only first time page is reached...

    I need the following...

    I need to put big pop-up image on site index that opens when visitor go to the first page of my web site. And then need option to close it. I know how to do it (without using javascript popups) using big div absolutely positioned on center with image in it, and then place X button on that div, and make it to display:none on the click on that X, and then full site shows up which basically was in background all the time. That is all managed with CSS.
    Now what I need is that once the image is closed when visitor goes to index again, it will not show again. So it shows up only first time page is reached then doesn't show again, cause I don't want to bother people with it every time they visit index, cause image should be some kind of banner announcement or something like that so it's enough to be shown once.
    I know this might not have too much with CSS anymore, but not sure where else to ask... :/


  2. #2
    Senior Coder timgolding's Avatar
    Join Date
    Aug 2006
    Thanked 110 Times in 109 Posts
    You need to look into using cookies
    You can not say you know how to do something, until you can teach it to someone else.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts