homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Gold Sponsor 2015!
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

Click link behind transparent element

5+ Year Member

Msg#: 3867984 posted 1:31 pm on Mar 11, 2009 (gmt 0)

I'm referring to this thread: [webmasterworld.com...]
And indeed this bug-report: https://bugzilla.mozilla.org/show_bug.cgi?id=102695

Although I am not sure it would qualify as a bug as I went over the CSS spec with a fine-toothed comb and found nothing in regard to this behaviour.

The problem is, I have a partially transparent ul on my page, and "below" it there is an iframe. In this iframe there is another page with a link. In FF one cannot click this link as it is "covered" by the transparent ul (in IE one can click the link).
The z-index does not work (probably because of the iframe), but even if it did, it wouldn't be a solution as that would make either the iframe of the link go partially above the part of the ul which is not transparent.

Does anyone have a solution for this as I have been staring myself blind on the problem.




WebmasterWorld Senior Member swa66 us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 3867984 posted 7:35 pm on Mar 11, 2009 (gmt 0)

I think allowing multiple origin elements to lay over one another and to have all of them interact with the user is an open invitation for security issues such a click jacking [google.com].


5+ Year Member

Msg#: 3867984 posted 9:33 pm on Mar 11, 2009 (gmt 0)

Many things can be used to do click-jacking. No one more "dangerous" than the other. Even normal navigation can be used to click-jack (user thinks he/she is clicking on "home" and executes some malicious code). I fail to see what this has to do with my problem? Besides, none of the overlapping elements interact with the user, I only want my users to be able to click a link on a page which is shielded by a transparent element used solely for layout.
(personally I would redesign the page, but that is not an option in this case, I was only hired to get the bugs out).

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved