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

04-12-2009, 08:16 AM
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... :/


04-12-2009, 04:14 PM
You need to look into using cookies