[Seaside] IE 5.5 and 6 png "fix"

Philippe Marschall philippe.marschall at gmail.com
Wed Sep 19 16:03:05 UTC 2007


2007/9/19, Sebastian Sastre <ssastre at seaswork.com>:
>
>
> Hi there,
>
>     the IE's fact of the day bring us today the feature of being unable to
> properly render translucent PNGs. So.. what should I use to "fix" this?
>
>     I'm tempted by:
> http://homepage.ntlworld.com/bobosola/pnghowto.htm
>
>     and there one see that one can include that .js file and load it only
> for IE. That is made by making the include of that script commented like:
>
> <!--[if lt IE 7.]>
> <script defer type="text/javascript" src="pngfix.js"></script>
> <![endif]-->
>
>     how is the most unelegant way to introduce that in the head? I imagine
> to put that in the updateRoot: with a manual made tag open and close. Any
> better way?

aRoot if lessThan; ie7; do: [
   aRoot javascripts
       url: 'pngfix.js' ]

This doesn't do the deferer but could be added if you need it.

Cheers
Philippe

>     cheers,
>
>
>
> Sebastian Sastre
>
> PS: I think it's another candidate for Jetsam

I don't think so ;)

> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>


More information about the seaside mailing list