Why?
If your client insists on supporting IE 5, 6 or 7 and they expect PNG transparency, we have a module that might save your day.
OK, what does it do? ¬¬
SuperSleight adds a number of new and useful features that have come from the day-to-day needs of working with PNGs.
Works with both inline and background images, replacing the need for both sleight and bgsleight
Will automatically apply position: relative to links and form fields if they don’t already have position set. (Can be disabled.)
Can be run on the entire document, or just a selected part where you know the PNGs are. This is better for performance.
Detects background images set to no-repeat and sets the scaleMode to crop rather than scale.
Can be re-applied by any other JavaScript in the page – useful if new content has been loaded by an Ajax request.
Can't I just drop it in my theme and call it a day?
-- Yes! If you are comfortable doing theming, you can go ahead and do that.
This lightweight module simply provides a drush alias to download and implement the SuperSleight script that comes in the original or jQuery versions.
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.- Project categories: Developer tools
- By rmontero on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.
