skrollr plugin that adds some missing features to IE < 9
The plugin makes IE understand opacity
, rgb()
and hsl()
(the ones with alpha are mapped to them) and it creates a very simple document.querySelector
polyfill which only supports ID selectors (using getElementById
). Needed if you want to use data-anchor-target.
Include dist/skrollr.ie.min.js
after the core using conditional comments.
<script type="text/javascript" src="skrollr.min.js"></script>
<!--[if lt IE 9]>
<script type="text/javascript" src="skrollr.ie.min.js"></script>
<![endif]-->
- Fixed issues with opacity. The filter is now getting removed when opacity is 1 (#4).
- Reverted #3. Leaving the opacity filter on the element even with 100% keeps it from getting anti-aliasing (#1).
- Don't remove the opacity when it reaches 1 (#1, #3).
- Moved skrollr-ie to a dedicated repo.