Prototype-UI Release Candidate 0 |
CSSUtility functions for CSS/StyleSheet files access Authors
fixPNGFix transparency of PNG background of document stylesheets. (only on IE version<7, otherwise does nothing) Warning: All png background will not work as IE filter use for handling transparency in PNG is not compatible with all background. It does not support top/left position (so no CSS sprite) I recommend to create a special CSS file with png that needs to be fixed and call CSS.fixPNG on this CSS ExamplesCSS.fixPNG() // To fix all css CSS.fixPNG("mac_shadow.css") // to fix all css files with mac_shadow.css so mainly only on file CSS.fixPNG("shadow", "vista"); // To fix all css files with shadow or vista in their names Parameters patterns: (optional) list of pattern to filter css files |