[Seaside] IE 5.5 and 6 png "fix"

Sebastian Sastre ssastre at seaswork.com
Wed Sep 19 18:25:09 UTC 2007


That’s one of the most elegat hacks I've seen for html so far.
Question: by #javascripts you actually mean to say #addScript: ? (I see no
implementors of javascripts in my Seaside 2.8a1 image jmt.480)
Question: defer could be added.. But where do you mean?

Sebastian



Sebastian Sastre

> -----Mensaje original-----
> De: seaside-bounces at lists.squeakfoundation.org 
> [mailto:seaside-bounces at lists.squeakfoundation.org] En nombre 
> de Philippe Marschall
> Enviado el: Miércoles, 19 de Septiembre de 2007 13:03
> Para: Seaside - general discussion
> Asunto: Re: [Seaside] IE 5.5 and 6 png "fix"
> 
> 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
> >
> >
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the seaside mailing list