diff --git a/dev/js/main/contentElements/parallax.js b/dev/js/main/contentElements/parallax.js index 89c2e85..c70e5ad 100644 --- a/dev/js/main/contentElements/parallax.js +++ b/dev/js/main/contentElements/parallax.js @@ -5,18 +5,20 @@ $(document).ready(function() { // Parallax // https://github.com/nk-o/jarallax - $('.parallax-img').jarallax({ - type: 'scroll', //scroll, scale, opacity, scroll-opacity, scale-opacit - speed: 0.5, - noAndroid: false, - noIos: true - }); - $('.parallax-video').jarallax({ - type: 'scroll', //scroll, scale, opacity, scroll-opacity, scale-opacit - speed: 0.5, - noAndroid: true, - noIos: true - }); + if (!$('html').hasClass('IE')) { // disabled in IE since scrolling looks jerky + $('.parallax-img').jarallax({ + type: 'scroll', //scroll, scale, opacity, scroll-opacity, scale-opacit + speed: 0.5, + noAndroid: false, + noIos: true + }); + $('.parallax-video').jarallax({ + type: 'scroll', //scroll, scale, opacity, scroll-opacity, scale-opacit + speed: 0.5, + noAndroid: true, + noIos: true + }); + } }); })(jQuery);