/* * Copyright (c) 2008 Flixn, Inc. * Authored by Samuel J. Greear * * Tri-licensed under the New BSD, MIT and LGPL licenses: * http://www.opensource.org/licenses/bsd-license.php * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/lgpl.html * * * NOTES: * * Script requires a blank/empty image file to be present * at /img/blank.gif, the location may be set below. * * Script limits itself to tiling an image 100 times in either * direction. 100x100 will cause the browser a great deal of pain * but it should keep it from hanging forever. For best performance * background images should be cut substantially wider/taller than * 1 pixel. * * IE would prefer not to load htc files cross-domain. * * USAGE EXAMPLES: * * Apply fix to all (non-background) images: * * img { * behavior: url('/js/fx-iepngfix.htc'); * } * * Repeating background: * * #header { * background-image: url('IMAGENAME.png'); * background-repeat: repeat-x; * behavior: url('/js/fx-iepngfix.htc'); * } * * Custom bullet for list item: * * ul li { * padding-left: 11px; * background-image: url('IMAGENAME.png'); * background-repeat: no-repeat; * background-position: 0% 5px; * behavior: url('/js/fx-iepngfix.htc'); * } */