electerious / basicScroll

Standalone parallax scrolling for mobile and desktop with CSS variables.
https://basicscroll.electerious.com
MIT License
3.63k stars 148 forks source link

How can i exclude ie11 #50

Closed cimt closed 4 years ago

cimt commented 4 years ago

How can i exclude ie11. Browser detection to exclude the script does not work, always the syntax error! I'm testing on win7 / IE11

It doesn't have to work... simply exclude ie11!

grateful for any help

electerious commented 4 years ago

basicScroll shouldn't throw any errors when you use the transpiled version and install all required polyfills. Just make sure you aren't importing the untranspiled version as this one includes syntax that won't work in IE11.

This way you will get a working version of basicScroll (but without support for CSS variables because of IE11).