Web Hosting Talk







View Full Version : Tinting Everything in a DIV tag


lilnomad
11-21-2007, 04:06 PM
Is there a css property that will give the affect that everything has a tint except what the mouse is hovering over or as clicked, like you see with image galleries. You click a thumbnail and then it pops up and everything in the background has a dark appearance.

Thank you

mrbenny
11-21-2007, 04:10 PM
Hi,

Correct me if I'm wrong, but I think this is what you're looking for in css :agree:


filter:alpha(opacity=n);
-moz-opacity:.n;
opacity:.n;
where n is the percent of opacity

ilyash
11-23-2007, 01:38 PM
I'm pretty sure you're thinking of lightbox.


http://www.huddletogether.com/projects/lightbox2/

ipcheckpoint
12-19-2007, 09:27 PM
Here is another website you can have a look.
goto dhtmlgoodies.com/scripts/modal-message/demo-modal-message.html

if that is what you want, you can get the source code from dhtmlgoodies.com/index.html?whichScript=modal-message