Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

Click link behind transparent element

1:31 pm on Mar 11, 2009 (gmt 0)

Junior Member

10+ Year Member

joined:June 26, 2007
posts: 88
votes: 0

I'm referring to this thread: [webmasterworld.com...]
And indeed this bug-report: [bugzilla.mozilla.org...]

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.


7:35 pm on Mar 11, 2009 (gmt 0)

Senior Member

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

joined:Aug 7, 2003
votes: 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].
9:33 pm on Mar 11, 2009 (gmt 0)

Junior Member

10+ Year Member

joined:June 26, 2007
posts: 88
votes: 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).

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members