Jump to content

Help Creating Transparant Navigation


godster

Recommended Posts

Hi guys.

 

I'm trying to create a navigation which is initally semi transparant but on hovering over the link, displays full opacity. I was attempting to do this in Photoshop with no success. I have tried again and again to create both tiles as PNG-24, which i'd repeat across the Div in CSS, or preferably the transparant section slices that will form the completed navigation (primarily so that I can retain the rounded edges).

 

I have seen this implemented on some sites but cannt for the life of me figure out how i'd do this. Am I doing something wrong in Photoshop or the CSS itself? When I preview my web slices in Photoshop they are showing as solid and not transparant.

 

Some step by step tutorial would be great.

 

Thanks in advance.

Link to comment
Share on other sites

Apologies, no code to hand.

 

I have managed now to change the opacity by using the relevant CSS commands for IE and Firefox, but am still not able to fully create the style i was hoping to achieve.

 

It must be relatively simple to create a semi-transparent container/div over which I'd ad text for example. Have tried doing this with a 2x2 PNG-24 image with 70% opacity from Photopshop repeated across the contained to no avail.

 

Are there any tutorials that might help me figure out what I'm doing wrong?

Link to comment
Share on other sites

I've done this in the past using two images - a transparent one and an opaque one, swapping them with a rollover effect. This way you don't have to play with opacity of elements.

 

I've done the same using li:hover { background: url('./images/opaque.png'); }

 

seams to be the easiest and a lot less processor intensive on the user's PC

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.