PDA

View Full Version : Click Through Transparent Div?



evank3
11-09-2007, 06:25 AM
Is it possible to click through a semi-transparent div? All I want in this div is a background color or background image. I've been looking for a solution for days now. Please help.

-evank3

jscheuer1
11-09-2007, 06:53 AM
Nope. Even completely transparent divisions may not be clicked through in some browsers. If your link is underneath something, you can link the thing that is on top, or put yet another thing on top of that, and link it. Now partial transparency can work to your advantage. The additional thing on the very top of the stack can be opacity .01 (most browsers) or 1 (IE). It will not be seen, but it will be there and be clickable.

BinaryTaboo
06-05-2009, 08:34 PM
Bull. You can click through a div. You need to set up the behavior. Create a mouse over event and set it to change the property of the div/layer to "invisible."

id="layer1" onmouseover="FP_changeProp(/*id*/'layer1',0,'style.visibility','visible')">