Code Monkey home page Code Monkey logo

Comments (19)

BackuPs avatar BackuPs commented on May 26, 2024

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.

BackuPs avatar BackuPs commented on May 26, 2024

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.

davydkoff avatar davydkoff commented on May 26, 2024

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.

BackuPs avatar BackuPs commented on May 26, 2024

Hi Davyd,

Can you add a url so i can see your jerky issue on ie and edge?

from jarallax.

davydkoff avatar davydkoff commented on May 26, 2024

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.

BackuPs avatar BackuPs commented on May 26, 2024

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.

davydkoff avatar davydkoff commented on May 26, 2024

i see you are still using jarallax.js

Yes, because your code don't work on IE and Edge

from jarallax.

davydkoff avatar davydkoff commented on May 26, 2024

Now i use your "jquery.jarallax.js"
http://new.mixfmradio.ru/y3/test3.htm

from jarallax.

davydkoff avatar davydkoff commented on May 26, 2024

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.

BackuPs avatar BackuPs commented on May 26, 2024

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.

davydkoff avatar davydkoff commented on May 26, 2024

http://new.mixfmradio.ru/y3/test3.htm
Unfortunately, strobe effect remained, though smaller

from jarallax.

BackuPs avatar BackuPs commented on May 26, 2024

I have no further solution for you..... unfortunately.

from jarallax.

nk-o avatar nk-o commented on May 26, 2024

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.

BackuPs avatar BackuPs commented on May 26, 2024

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.

nk-o avatar nk-o commented on May 26, 2024

@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.

renet avatar renet commented on May 26, 2024

@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.

nk-o avatar nk-o commented on May 26, 2024

@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.

renet avatar renet commented on May 26, 2024

@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.

nk-o avatar nk-o commented on May 26, 2024

@renet this option was removed since v1.8.0. Parallax always uses transformations.

from jarallax.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.