Joomla! Discussion Forums



It is currently Thu Nov 26, 2009 2:05 pm (All times are UTC )

 


Forum rules

Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 28 posts ] 
Author Message
 Post subject: Transparent PNG Issue
Posted: Wed Sep 14, 2005 6:46 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Aug 18, 2005 6:57 pm
Posts: 26
Location: Chicago Suburbs, Illinois, USA
While this is only semi-related to Joomla!/Mambo, I figured the great community here would be able to provide the quickest response to my problem.

I am trying to use a PNG w/ transparency as a background image to my submenu items.  The problem is IE's lack of support for the PNG alpha channel.  Basically, I am looking for a solution to create a block of color around my links that still shows the table background image - through all browsers (well, IE5.5+).

Here are some example images. 

It works fine if FF 1.0.6:

Image

Doesn't work in IE 6
Image

Any help/suggestions will be greatly appreciated.

Thanks,

Conor


Top
  E-mail  
 
Posted: Wed Sep 14, 2005 6:54 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Fri Aug 19, 2005 6:19 am
Posts: 76
Location: Fos sur Mer, France
To correct the IE6 support for PNG alpha channel, you can use this script, placed just after the in the index.php file of your template.




Then call it with:

Quote:
Tux

or



Tux


Make sure to upload a file called blank.gif and change the path in the script above "var blankSrc = "/blank.gif";" to point to it. 

It worked beautifuly on my site:  http://www.podsafeaudio.com/&nbsp; The buttons use transparent PNGs.

Anyways, just another method.

-Justin O'Neill
http://www.podsafeaudio.com

Top
   
 
Posted: Fri Sep 30, 2005 8:49 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Aug 18, 2005 6:57 pm
Posts: 26
Location: Chicago Suburbs, Illinois, USA
Without dissecting both sets of code, I'm pretty sure this is what the PNG_Fix mode code uses as well. 

Also, for users with High-security enabled or ones that don't allow activex scripts to run, this may not work.  I believe in testing this fix, I got the "This page is trying to run..." yellow bar across the top of my page.

I don't think there is a 100% perfect solution for this problem - at least until no users use less than IE7+


Top
  E-mail  
 
Posted: Thu Dec 29, 2005 1:17 am 
I've been banned!
Offline

Joined: Thu Aug 18, 2005 12:37 am
Posts: 1139
Location: Melbourne, Australia
There might be a 100% solution.

Use Dean Edward's IE7 script:
http://dean.edwards.name/IE7/

That way, when IE7 comes out, the fixes will still be carried through. What the IE7 browser misses, the IE7 script will fix. 8)


Top
  E-mail  
 
Posted: Thu Jan 12, 2006 9:13 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Sep 01, 2005 10:24 pm
Posts: 96
so where would I put the ie7 code and would it be possible for an example?


Top
   
 
Posted: Thu Jan 12, 2006 9:32 pm 
User avatar
Joomla! Exemplar
Joomla! Exemplar
Offline

Joined: Thu Aug 18, 2005 9:07 am
Posts: 9305
Location: Assen, Netherlands
jloyzaga wrote:
so where would I put the ie7 code and would it be possible for an example?


I would like to know this too... I haven't managed to get it working yet.

_________________
Arjan Menger
http://www.welldotcom.nl - Professionele Joomla! Design, Ontwikkeling en Hosting
http://www.joomlaideal.nl - iDEAL betaalmethode voor Joomla! en Virtuemart


Top
  E-mail  
 
Posted: Thu Jan 12, 2006 10:38 pm 
I've been banned!
Offline

Joined: Thu Aug 18, 2005 12:37 am
Posts: 1139
Location: Melbourne, Australia
How to integrate IE7 script into Joomla, including an example:
http://forum.joomla.org/index.php/topic,1918.0.html

The only problem I've found in doing live site integration with this script is because it fixes everything wrong with IE in terms of integration, you might need to customise which IE script components you actually run, to help manage load times. The graphics JS file is the component which fiixes the PNG issue, to the best of my knowledge.


Last edited by absalom on Thu Jan 12, 2006 10:45 pm, edited 1 time in total.

Top
  E-mail  
 
Posted: Thu Mar 23, 2006 3:50 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Tue Aug 30, 2005 3:40 pm
Posts: 278
Location: United States of America
Interesting post, just what I was looking for.    ;D

The criminal conspirator (Microsoft) has an article on this issue in the MSDN resources.
http://support.microsoft.com/default.as ... -us;294714
and some info at http://office.microsoft.com/en-us/assis ... mode=print



Jared
Too bad there isn't enough power or resources to ban IE completely and give Microsoft a firm wakeup call of its ignorance.

Use FireFox.

_________________
Smart people bridge with Joomla, not integrate
http://www.jaredritchey.com


Top
   
 
Posted: Sat Jun 03, 2006 11:14 pm 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Thu Aug 18, 2005 10:11 pm
Posts: 1289
Location: San Juan - Argentina
hi guys
i got the pngfix module, installed and published it
however, none of the 3 options worked, because my png images are all set in css code, as backgrounds, etc.

To be honest, the ie7 method worked, but not all images were corrected. I'm using IE6 (thanks God I moved into FireFox long time ago)

:D

_________________
twitter.com/kabeza
Freelance Joomla/codeIgniter Developer
Portfolio: http://www.beza.com.ar


Top
  E-mail  
 
Posted: Tue Sep 05, 2006 5:45 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Jul 12, 2006 8:09 pm
Posts: 10
This Mambot fixed everything for me w/o touching any code....

http://extensions.joomla.org/component/ ... Itemid,35/


Top
   
 
Posted: Tue Oct 09, 2007 9:07 pm 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Mon Oct 08, 2007 6:46 am
Posts: 72
I suggest this link;
http://www.twinhelix.com/css/iepngfix/

It works great..I solved my png problem with this..The file has a guide..Also you can use it in css tag..img, div, etc..

_________________
Joomla! 1.0.15 / sh404SEF, Joomla! 1.5.13 / sh404SEF
Apache version: 1.3.41 (Unix), PHP version: 5.2.5, MySQL version:5.0.81-community on CENTOS Enterprise 5


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 28 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 53 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group