Skip to content

24 ways to impress your friends

Vote up?

Christopher Stewart

Hey,

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 :

http://www.poligraf.net/en/contact/

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,
Chris