Sam wrote:
Is there a prototype / extension which will assist in cross-browser support of PNG images?

I've used this one before:

http://www.bazon.net/mishoo/articles.epl?art_id=430

Not prototype-based but simple. The only problem with all the Javascript-based solutions is that if a Javascript error occurs then the image might show messed up (more than before) and unless you get the onload handled right you might be waiting until everything is loaded before your images look decent.

There are some CSS-based solutions out there that will apply the filter with CSS. Those are nice because they apply as soon as the image is displayed and you don't have to worry about Javascript errors. I don't have a reference handy but if you can't find one I will see if I can dig one up.

Eric

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to