Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-12-2009, 08:16 AM   PM User | #1
GuitarLord
New Coder

 
Join Date: Apr 2009
Posts: 17
Thanks: 2
Thanked 0 Times in 0 Posts
GuitarLord is an unknown quantity at this point
Big image/div popup on site index, but only first time page is reached...

Hi,
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... :/

Thanks
GuitarLord is offline   Reply With Quote
Old 04-12-2009, 04:14 PM   PM User | #2
timgolding
Senior Coder

 
timgolding's Avatar
 
Join Date: Aug 2006
Location: Southampton
Posts: 1,466
Thanks: 90
Thanked 110 Times in 109 Posts
timgolding is on a distinguished road
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.
timgolding is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:42 AM.


Advertisement
Log in to turn off these ads.