Welcome to WebmasterWorld Guest from 54.145.95.149

Forum Moderators: incrediBILL

Message Too Old, No Replies

Click under div?

Allow content underneath a div to still be clickable?

     
11:14 pm on Oct 26, 2010 (gmt 0)

New User

5+ Year Member

joined:Sept 30, 2010
posts: 13
votes: 0


Is there some way to create a div that allows you to click things underneath the div? What if I wanted to have a semi-transparent div that partially covered up some content, but I still wanted links in that content to be clickable? Thanks!
8:26 am on Oct 28, 2010 (gmt 0)

Full Member

10+ Year Member

joined:Mar 21, 2003
posts:245
votes: 0


I'm pretty sure that anything below the div z index wise would not be clickable, maybe it would be better if you used transparency instead.
8:01 pm on Nov 1, 2010 (gmt 0)

New User

5+ Year Member

joined:Sept 30, 2010
posts: 13
votes: 0


But z-index also orders how the viewer sees them. What if I wanted a large position:fixed semi-transparent logo at the top of the page, that when the page's content scrolls behind it you can still click links "through" the logo? Or is this totally impossible?
11:38 am on Nov 2, 2010 (gmt 0)

Full Member

5+ Year Member

joined:Dec 30, 2009
posts: 249
votes: 0


I believe that's impossible floydboy, or at least without using some advanced JavaScript.