GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   How to pop a small warning page that also blurs the background (https://gfy.com/showthread.php?t=1002021)

Darrell 12-15-2010 10:05 AM

How to pop a small warning page that also blurs the background
 
Hello, am hoping for some advice how to do this - I want to popup an entry warning page that also blurs the background and only shows in one specific country and doesn't affect SEO. Any ideas how that can be done?

Stephen 12-15-2010 10:24 AM

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 :winkwink:

awxm 12-15-2010 10:27 AM

SmokeyTheBear posted something like this a few months back.

Found it.

https://gfy.com/showthread.php?t=977792

Darrell 12-15-2010 10:31 AM

Quote:

Originally Posted by Stephen (Post 17775514)
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 :winkwink:

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 12-15-2010 12:49 PM

Quote:

Originally Posted by FruitPanda (Post 17775526)
SmokeyTheBear posted something like this a few months back.

Found it.

https://gfy.com/showthread.php?t=977792

Thanks for the link, going to try that out.


All times are GMT -7. The time now is 02:46 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123