One issue is that IE does not correctly show the transparency for PNG.
There's actually a problem with that in the tree2 example which I'm
going to fix shortly by just changing the images to GIF.
The only fix that I am aware of is to use a style to apply to the image.
ex.
[HTML]
<html:img page="/images/spacer.gif" styleClass="blueFolderOpen"
height="16" width="16" styleId="tggl_rfdDetail"/>
[Style]
img.blueFolderOpen
{
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader
(src='<html:rewrite
page="/images/blue-folder-open.png"/>',sizingMethod='scale');
}
sean
On Thu, 3 Mar 2005 10:12:06 -0600, Heath Borders
<[EMAIL PROTECTED]> wrote:
> You could probably just extend the graphicImage renderer to check for
> the IE browser header and render the code accordingly.
>
> Incidentally, what is the issue with IE displaying PNG's, and what is the fix?
>
> On Thu, 03 Mar 2005 16:47:39 +0100, Werner Punz <[EMAIL PROTECTED]> wrote:
> > Hi, I just was wondering how people cover the Microsoft IE PNG bug over
> > here.
> > There has been a fix for ages which basically just is a javascript which
> > is triggered by an onLoad.
> > But myfaces does not seem to cover onload in its image tag.
> > (No blame here, sun left that out from the specs)
> > I just was wondering what the easiest way is to cover the problem.
> > As far as I can see probably a custom image component which adds the
> > trigger code in its renderer would be the best solution.
> >
> >
>
> --
> -Heath Borders-Wing
> [EMAIL PROTECTED]
>