iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-16-2005, 01:40 PM
WebProWorld Pro
 
Join Date: Sep 2004
Location: Tennessee
Posts: 121
TN Todd RepRank 0
Default Transparent gif button in Photoshop

I am trying to make the background of a few buttons transparent but nothing I am doing seems to get me the effect I am looking for.

Here is the page I am working on

http://www.computer-services.us/saf7/index6.html

What I am trying to do is make the design so that (at leaset) the top 4 buttons on the left hand navigation bar are semi-transparent and I will be able to see the background image slightly. This background image will change from category to category so I can't use a button image with the background image already already on there.

Here is the .psd file I am using if anyone needs to look at that

http://www.computer-services.us/saf7...tton-blue2.psd

Thanks in advance for any tips on getting this to work correctly.
__________________
Outdoors-411 - Outdoor Recreation Directory.
Reply With Quote
  #2 (permalink)  
Old 08-16-2005, 02:11 PM
WebProWorld Pro
 
Join Date: Jul 2003
Location: New Jersey, U.S.
Posts: 174
jdiben RepRank 0
Default

gifs cannot be semi-transparent. every pixel of a gif is either fully transparent or not transparent. To acheive the semi-transparent effect you would have to use a png. The only problem that you will run into using pngs is that internet explorer doesn't support their semi-transparancy. There is a work around for making internet explorer show pngs properly but I have never used it. you should be able to find more information on google for making pngs work in ie if no one here can help.
__________________
Joe
GimmeItNow.com
Shopping Directory
Gift Registry For Any Occassion
Reply With Quote
  #3 (permalink)  
Old 08-16-2005, 04:36 PM
WebProWorld Veteran
 
Join Date: Aug 2003
Location: Cornwall, UK
Posts: 972
speed RepRank 1
Default

For one of the fixes to make PNG work on IE see http://webfx.eae.net/dhtml/pngbehavior/pngbehavior.html, relies on JavaScript being enabled.

You can also use PNG8 which will behave in the same way as gif, solid or transparent, under IE but on other browsers will give you true transparency.

Third option and probably the safest is to create the top 4 buttons without the shadow, and instead make the shadow part of the background image, now you don't have to worry about transparency. If you want the whole button rather than just the shadow semitransparent then I'd create a different set for each category.
Reply With Quote
  #4 (permalink)  
Old 08-17-2005, 04:38 AM
WebProWorld New Member
 
Join Date: Feb 2004
Location: Cyprus
Posts: 16
pmhb RepRank 0
Default Trans/semitrans nav buttons

I agree with speed, why make life complex. Separate the drop shadow effect in PS and forget the semi transparency idea. It will keep download times down once the files are cached and will also prevent any conflict with possible readability if you have an image underlying navigation text.

I always design for the lowest common denominator so keep in mind the typical end user PC and connection speed.

However, if download times are not a major consideration for you, you could use flash to achieve exactly what you want but your nav. bar and top image would still require re-loading for every page. Two 3's of one and 6 of another really.
Reply With Quote
  #5 (permalink)  
Old 08-17-2005, 10:28 AM
WebProWorld Pro
 
Join Date: Nov 2004
Location: Westmoreland County, PA
Posts: 218
noel_x99 RepRank 0
Default

I agree with speed and pmhb. If the same image is always used on a page, make a set of three buttons for that page. The user can't tell if it's "real" tranparency or "fake" tranparency. It's sure to work, it's easy, and doesn't depend on a browser or javascript.
__________________
Jane Noel
http://www.InWestmoreland.com
Westmoreland County PA's Business Directory
Reply With Quote
  #6 (permalink)  
Old 08-17-2005, 12:10 PM
ADAM Web Design's Avatar
WebProWorld 1,000+ Club
 
Join Date: Dec 2003
Location: Toronto, Ontario, Canada
Posts: 2,181
ADAM Web Design RepRank 1
Default

Agreed with all of the above. Put your transparency layer underneath your button, with the background beneath said layer, and export. Then you have the option of GIF, JPG, or PNG.
Reply With Quote
  #7 (permalink)  
Old 08-19-2005, 09:10 PM
WebProWorld Pro
 
Join Date: Sep 2004
Location: Tennessee
Posts: 121
TN Todd RepRank 0
Default

Thanks for your help, that's what I was afraid of. :D
__________________
Outdoors-411 - Outdoor Recreation Directory.
Reply With Quote
  #8 (permalink)  
Old 08-30-2005, 08:41 AM
WebProWorld Pro
 
Join Date: Aug 2005
Location: Florida
Posts: 100
WebMasterKrames RepRank 0
Default

an alternative to PNGs is flash files can have transparency
Reply With Quote
Reply

  WebProWorld > Site Design > Graphics & Design Discussion Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 09:23 AM.



Search Engine Optimization by vBSEO 3.3.0