Fade Out Effect
I want to have a feature on my website gallery whereas when a thumbnail is selected, it gets put into a layer and displayed in the center of the screen.
Once it gets displayed, I want the screen background (everything behind the image layer) to be faded out. So probilly about brightness 50%.
Having the image appear in the center of the screen is no problem. I am trying to figure out how to get the background to fade out.
You might wanna check out Mootools to do fade effects.
But you basically need to change the opacity CSS property to achieve this. IE has of course its own implementation.
mootools is nice because of its small size. Some of other framework like scriptaculous is also popular because it is default ajax library for other backend frameworks. Highly suggested that you check out mootool