gerkintrigg Posted March 15, 2010 Share Posted March 15, 2010 Hi all. I wondered if there's a way to re-enable functionality from a layer that has a lower z-index than a semi-transparent cover layer. So in this example: http://amazingphrasing.com/test2.php I want to be able to click on the "Google" link. Sorry if you saw my post in the HTML forum, but I thought this may be the right one. Quote Link to comment https://forums.phpfreaks.com/topic/195338-transparent-layer/ Share on other sites More sharing options...
XeNoMoRpH1030 Posted March 16, 2010 Share Posted March 16, 2010 Actually, to make it even more accessible, couldn't you just do it like this: First layer has all your text. Second layer has your image that covers the first layer. Create a third layer that is exactly like the first, but change the color to transparent (color: transparent) so the text can still be highlighted/copied and the link is clickable? I tested it, and it seems to work. It's even possible you could achieve the same effect by using opacity settings so the second layer could be come the first, but the two still blend together. Not sure what you are really trying to achieve with this. Quote Link to comment https://forums.phpfreaks.com/topic/195338-transparent-layer/#findComment-1026940 Share on other sites More sharing options...
gerkintrigg Posted March 16, 2010 Author Share Posted March 16, 2010 it certainly seems to work in Chrome, safari and IE! Thanks for that tip. I think I can mark it "solved"! Quote Link to comment https://forums.phpfreaks.com/topic/195338-transparent-layer/#findComment-1026951 Share on other sites More sharing options...
XeNoMoRpH1030 Posted March 16, 2010 Share Posted March 16, 2010 Glad I could help Quote Link to comment https://forums.phpfreaks.com/topic/195338-transparent-layer/#findComment-1026979 Share on other sites More sharing options...
longtone Posted March 16, 2010 Share Posted March 16, 2010 I've got the same problem, and I was going to solve it by adding a link to the top layer with javascript, but adding a third layer is a much better way to do it IMHO Quote Link to comment https://forums.phpfreaks.com/topic/195338-transparent-layer/#findComment-1026984 Share on other sites More sharing options...
gerkintrigg Posted March 16, 2010 Author Share Posted March 16, 2010 yep, much much better. Quote Link to comment https://forums.phpfreaks.com/topic/195338-transparent-layer/#findComment-1027064 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.