Jump to content

Make Layer "invisible" for clicking but visible to see


Lumio

Recommended Posts

Hi!

I got a problem. I create a theme for smf and the nav is already nearly finished (see attached picture).

The problem is, that the backgroundpicture of that layer has transparent areas. If there is a link under that area, I can't click it. How can I tell the browser that I want to have the link clickable with CSS or at least HTML.

 

On the picture you see a MySQL button, PHP button and the copyright of smf. I can't click on all of them. How to change that?

 

Thanks

Link to comment
Share on other sites

Considering you're using z-layers already I guess another won't help.  Would it be possible to put another layer on top of the nav menu?  Then you could create an empty area the same height and width of the MySQL area, position it over the top and make it a link.

 

Just a thought :(

Link to comment
Share on other sites

 

Well if the z-index of the transparent image is higher then the image you want to click and the transparent image is wide/tall enough to cover the image below (that your wanting to click) - then your not going to be able to click that image below - that is just kind of how stacking images with z-index works.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.