Skip to content

24 ways to impress your friends

Vote down?

Christopher Stewart


First of all, many thanks for this awesome solution !

A few observations :

- I’ve added the following to fnLoadPngs to handle input elements of type ‘image’ :

// input elements
if (obj.tagName==‘INPUT’ && obj.src.match(/\.png$/i) !== null){ el_fnFixPng(obj);

- Strangely enough, the ‘submit’ button/image on the following page :

was resized to an height of 33px by the script when using the ‘scale’ sizingMethod. It works fine with the ‘image’ sizingMethod.

Hope it helps !

Best wishes,