Turn everything Black and White

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Turn everything Black and White

Post by JayBird »

I have seen a pretty cool feature on a couple of scripts i have used.

This is when you click the logout button, you get a javascript pop-up box asking to confirm the logout, and at the same time, EVERYTHING on the webpage turns black and white...pretty much like the windows logout.

I know this definately happens with the socketmail script, and another script i cant remember the name of (maybe Mambo).

Any idea how it is achieved.

Google didn't return anything useful.

Ta
User avatar
sman317
Forum Newbie
Posts: 10
Joined: Wed Jun 01, 2005 11:47 am

Turn everything Black and White

Post by sman317 »

Hi,

I don't know if this is any help, but it goes. Maybe have your logout javascript switch the CSS before poping up the confirm screen.
User avatar
wwwapu
Forum Contributor
Posts: 197
Joined: Wed Apr 07, 2004 11:57 am
Location: Turku, Finland

Re: Turn everything Black and White

Post by wwwapu »

sman317 wrote:switch the CSS
Seems quite reasonable.

About IE compatible filters look at http://www.devx.com/projectcool/Article ... 54?pf=true

basicly they work something like

Code: Select all

<div style=&quote;width: 100%;filter: gray&quote;>
Post Reply