Results 1 to 3 of 3

Thread: Click Through Transparent Div?

  1. #1
    Join Date
    Nov 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Click Through Transparent Div?

    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

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jun 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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')">

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •