View Full Version : how to fade the background.body

Jul 1st, 2009, 08:14 AM
i am displaying a screen like 300 * 300 in the middle of screen

i can set its opacity but how can i adjust the opacity of background page which is currenlt at the back of small screen

Jul 1st, 2009, 03:57 PM
You can use opaque png images, or set some CSS like this example.


Jul 2nd, 2009, 01:22 AM
Acually the transparency setting works but only for the current image not the background screen.

E.g i want the effect like when small pop up opens in the middle of screen then original whole documents fades away like in light box

Jul 3rd, 2009, 01:47 PM
was going to look up how to do this, but I don't really know what to call it to look it up, so I was hoping I could describe it here and someone could point me in the right direction. Anyways, I'm looking for how to make it so on a website, when you click on something, a new sorta layer pops up and fades the background. I see sites do this all the time but I'm not sure how to do this. A little guidance would be great.