View Single Post
Old 12-15-2010, 10:31 AM  
Darrell
Confirmed User
 
Join Date: Feb 2003
Location: In bed asleep
Posts: 803
Quote:
Originally Posted by Stephen View Post
Here's one method I just implemented:

use CSS to specify div visibility: 1 div for warning, 1 for content

use a cookie + conditional switch to decide if warning should be shown:

if warning required (no cookie set, surfer from country x) show warning, then set cookie when surfer clicks "enter" > then cookie state decides whether or not to show the warning on revisit / reload. Set a session cookie that expires on browser close.

I use jQuery to keep process smooth, animated and without page refresh.

It is an interesting path to pursue and Google is your friend
Thanks for the reply. That method seems to be exactly what I am looking for I've been searching google all day and haven't found anything like that. Is it possible to give me some more information on how to set it up as I'm not too technical? My icq is 57-zero-4429-eightyeight
Darrell is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote