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
https://forums.phpfreaks.com/topic/167864-help-creating-transparant-navigation/
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?

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.