Page 1 of 1

Turn everything Black and White

Posted: Wed Jun 01, 2005 11:13 am
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

Turn everything Black and White

Posted: Wed Jun 01, 2005 11:53 am
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.

Re: Turn everything Black and White

Posted: Wed Jun 01, 2005 12:22 pm
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;>