By kalin_s on
I found a great article in alistapart.com on this issue (hope it's not absolutely outdated- Cross-Browser Variable Opacity with PNG: A Real Solution http://www.alistapart.com/articles/pngopacity
I'm not sure which approch is the most suitable for Drupal and web standarts at the same time.
Anyone solved this one?
Comments
I have done this
Just put the following code in a file in your modules directory:
Make sure you enable the module and enable the filter for the different filter types or it won't do anything.
suitable for logo?
Hi, I've installed this modulo and set it up (enabled & activates as filter for all formats) but my webpage logo stills displays a white background isntead of a transparent one as it should be.
¿is this module just for nodes, comments, etc??
Thanks.
No, won't work for logo
Only nodes and comments. If you do some research on google, you can figure out how to do this for the entire page. I have done it before and with Drupal. I've forgotten the details, however. Sorry.
--
Get better help from Drupal's forums and read this.
More info if possible
Hi,
I've just started on drupal, and I'm totaly new to CMS & CSS. First thing I tried was to edit an existing theme to my need, when I stumbled on the 'transparency' bug in IE. This module looks like it might help me out, but I can't figure out how to implement/use it.
Any help is welcome
More details
Go to Drupal's "modules" directory.
1) Create a new file called iepng_filter.module and cut and paste the code above into it.
2) Activate the new module in admin -> modules
3) Activate the filter by going to admin -> input formats
4) Click configure for each of the input formats you wish to add the new filter to.
5) Enable the new filter by checking the box.
--
Get better help from Drupal's forums and read this.
Thanks
That did the trick.....
Thanks
Load javascript file to hook into page onload
I have just used an external javascript file incorporated into custom themes, but you could maybe use a module that adds the javascript link into the html head with drupal_set_html_head().
Then the png fix is executed by the client and applies to all pngs on the page. A drawback is sometimes there is a bit of flicker as the images are drawn with the wrong background, and then replaced with the corrected filtered version.
wish this worked with
wish this worked with Version 6
always check the
always check the modules.....
http://drupal.org/project/pngfix
===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime." -- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz