Roundcube Community Forum

Release Support => Release Discussion => Topic started by: RCK on July 21, 2007, 07:59:53 AM

Title: [howto] install improved pngbehavior IE fix
Post by: RCK on July 21, 2007, 07:59:53 AM
[ How to ]

There is already one pngbehavior library included with roundcube, however, it's one very old version and it suffer of the following bugs:

Here is the way to install the improved pngbehavior library into roundcube, in order to fix all those bugs:

[ To improve - if someone can help]

The only point that could be improved now is about background transparent images (defined in CSS): pngbehavior doesn't know how to process them. (result is that folder icons are not transparents)
I have found some other libraries which can do this, but their successfull roundcube integration make the background images blank instead of transparent, and I don't know why.
Here are the lib, if someone can make them working with roundcube it would be cool.

image-background png fix:
 - http://allinthehead.com/retro/289/sleight-update-alpha-png-backgrounds-in-ie
 - http://www.reinspire.net/blog/2006/03/25/ie_transparent_pngs/

img + image-background png fix:
 - http://dsandler.org/js/ds-sleight.js
 - http://www.twinhelix.com/css/iepngfix/demo/
Title: Re: [howto] install improved pngbehavior IE fix
Post by: Priet on October 28, 2007, 06:05:34 AM
I don't understand why step 1 is needed?

Quotestep1: Edit the .htaccess file and add << AddType text/x-component .htc >>

Can you explain this?
Title: [howto] install improved pngbehavior IE fix
Post by: rosali on October 31, 2008, 06:50:41 AM
Sorry for digging out this old post.

I have found a solution to fix it definitely for IE 5.5/6:

Beta Testing Area - TwinHelix (http://www.twinhelix.com/test/)

Follow the instructions in the package. Also link the js rollover (in ./skins/default/include/links.html). Comment out line 166 in iepngfix.htc and adjust the path for blank.gif.

Finally change in common.css

img
{
  behavior: url('skins/default/pngbehavior.htc');
  border:0;
}

to

img, div, li
{
  behavior: url('skins/default/iepngfix.htc');
  border:0;
}

Test here: RoundCube Webmail :: Welcome to RoundCube Webmail (http://liebl.ath.cx) ... user: demo ... pass: demo
Title: [howto] install improved pngbehavior IE fix
Post by: rosali on October 31, 2008, 01:21:18 PM
Forget it ... It freeze the browser when displaying certain html messages !!!