Comments (19)
Hi Davy,
Just try and do NOT remove the default user background image in the timer function for any IE browser was the solution for me. Try attached files. It should fix at least most of the choppyness. It did work fine for me.
Note do a hard refresh in your browser to load the new scripts. !
jarallax-modded-for-ie-v172.zip
Let me know if that works for you
Best regards,
BackuPs
from jarallax.
Note: i reuploaded the zip file in my first reply to you and applied the fix only to the timer function. Its working fine now in my install. In case you already downloaded the zip please redownload again. Sorry for the inconvenience.
ps. i renamed the files (on purpose) to jquery.jarallax.js so you still have the original ones :-)
from jarallax.
Let me know if that works for you
Hello! Thanks for your answer, but your fixed js not work on Edge & IE... Maybe i do wrong something? Just use your jquery.jarallax.js... In Opera, Chrome works fine, but in Edge & IE images still.
from jarallax.
Hi Davyd,
Can you add a url so i can see your jerky issue on ie and edge?
from jarallax.
Can you add a url so i can see your jerky issue on ie and edge?
http://new.mixfmradio.ru/y3/test.htm
If i change position: fixed
to relative in "jarallax.js" on line 587, no slows... but wrong positon calculate...
http://new.mixfmradio.ru/y3/test2.htm
from jarallax.
i see you are still using jarallax.js..
change this code in that script and try again for y3/test.htm
// timeout to fix IE blinking setTimeout(function () { if(_this.$item) { // remove default user background _this.css(_this.$item, { 'background-image' : 'none', 'background-attachment' : 'scroll', 'background-size' : 'auto' }); } }, 0);
to this
// timeout to fix IE blinking setTimeout(function () { if(_this.$item) { // remove default user background if(!isIElt10 && !isIE11 && !isIE10 && !isEdge ) { _this.css(_this.$item, { 'background-image' : 'none', 'background-attachment' : 'scroll', 'background-size' : 'auto' }); } } }, 0);
from jarallax.
i see you are still using jarallax.js
Yes, because your code don't work on IE and Edge
from jarallax.
Now i use your "jquery.jarallax.js"
http://new.mixfmradio.ru/y3/test3.htm
from jarallax.
If you are mind to off jarallax on IE & Edge, thats work, but i requested change position: fixed
to another & fix the code to make it work on IE & Edge faster :)
from jarallax.
Its not working because you forgot to set a z-index to the footer_bg
add z-index:0;
.header_bg, .footer_bg {
background-position: 50% 0;
background-image: url('../images/triangles_bgOLD.png');
position: relative;
z-index:0;
}
from jarallax.
http://new.mixfmradio.ru/y3/test3.htm
Unfortunately, strobe effect remained, though smaller
from jarallax.
I have no further solution for you..... unfortunately.
from jarallax.
We tested all variations and the best for performance - is fixed position. You can make parallax on IE using background-position - just set enableTransform option to false on IE https://github.com/nk-o/jarallax#options
from jarallax.
I am sorry but the script should do this automatically on IE as it is really a problem on IE as described by davidkoff. If one sets enable transform to false by default it is disabled on all browsers. This is not a good solution.
from jarallax.
@BackuPs as I told, we tested it and for us on IE Jarallax working better with transformations and with fixed position. If for you - not, you can try to disable transformations. There is no necessary to disable it on all browsers, you can make it only for IE.
var isIE = /MSIE 9/i.test(navigator.userAgent) || /rv:11.0/i.test(navigator.userAgent) || /MSIE 10/i.test(navigator.userAgent) || /Edge\/\d+/.test(navigator.userAgent);
$('.jarallax').jarallax({
enableTransform: !isIE
});
from jarallax.
@nk-o Would you please consider updating the demo site with this? Probably the easiest way to see how it works. Thank you! :)
from jarallax.
@renet with this? Updated jarallax script to the latest version on the demo. For demo site used files from this directory https://github.com/nk-o/jarallax/tree/master/demo
from jarallax.
@nk-o I meant with enableTransform
set to false
in case of IE. Shouldn't that eventually even be added to the core?
from jarallax.
@renet this option was removed since v1.8.0. Parallax always uses transformations.
from jarallax.
Related Issues (20)
- Don't force usage of 'jarallax-img' HOT 1
- add async support HOT 1
- "Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube-nocookie.com') does not match the recipient window's origin ('https://myapp.com')" HOT 2
- Replace deprecated Vimeo Simple API usage HOT 2
- ChainAlert: npm package release (2.0.0) has no matching tag in this repo
- Error with Permissions-Policy header: Unrecognized feature: 'ch-ua-full-version-list'. HOT 1
- WebP detection with Modernizr HOT 1
- videoPlayOnlyVisible HOT 1
- Image is not changing when used picture tag on resize, its working only for page reload HOT 1
- Unable to override jQuery defaults with data attributes - since it works partially, it's a BUG, not a FR HOT 1
- Image horizontal background position ignored HOT 1
- Glitching on scroll HOT 3
- Possible wrong documentation about picture tags HOT 2
- is there any way to pause video by default.I tried with autoplay option but it is not working... HOT 1
- Image Height Calculation is Off using Data Attribute HOT 1
- Options: multiple types simultaneously on an element HOT 1
- 500 document is not defined at Object (getWindowSize.js) HOT 1
- Disable Parallax or Disable Video Does not work when using data-disable-parallax="true"
- Module '"jarallax"' has no exported member 'jarallaxVideo'. HOT 2
- Jarallax video doesnt work on phone
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jarallax.