Git Product home page Git Product logo

Comments (6)

Gix075 avatar Gix075 commented on August 30, 2024

Give me some more info. I tested it on IE11 and works for me.
Which version of IE you are testing?
Which plugin animation are you using?

from jqueryintroloader.

tanveer12332 avatar tanveer12332 commented on August 30, 2024

i m using jQueryIntroLoader - v1.6.0 and my IE version is 11.0.96 and 11.26 and save issue in Edge

from jqueryintroloader.

Gix075 avatar Gix075 commented on August 30, 2024

Hi I tested v 1.7.1 in Explorer 11 and Edge and it works, including start and stop method. Have you a public link where I can see your page?

from jqueryintroloader.

tanveer12332 avatar tanveer12332 commented on August 30, 2024

yes see my projdect www.cloud.mybusinessmanager.com and open developers toolbar and see inline introloader function

from jqueryintroloader.

Gix075 avatar Gix075 commented on August 30, 2024

At now i can see that your page works on my IE11 and Edge.

Unable to get property 'stop' of undefined or null reference

Reading your code I'm seeing that you tried to stop plugin (at now is commented on your code) where plugin does not exists. This happens because you launch plugin only if window.localStorage.getItem('user') is null, and if not you try to stop plugin. For this reason you received the error message.
Read my comment on your code:

if (window.localStorage.getItem('user') == null) {
    $("#element").introLoader({
        [...]
    });
    // here plugin exists and you can use .stop() method
    var loader = $('#element').data('introLoader');
    loader.stop(); // this will work
} else {
    // here plugin NOT exists and you can't use .stop() method
    var loader = $('#element').data('introLoader');
    loader.stop(); // this will not work
}

So i think that the correct way to use this plugin in your scenario is to do exactly what you have done or something similar (not tested):

if (window.localStorage.getItem('user') == null) {
    $('body').append('<div id="element"></div>');
    $("#element").introLoader({
        [...]
    });
}

I hope that this can be helpful.

from jqueryintroloader.

tanveer12332 avatar tanveer12332 commented on August 30, 2024

yes is working thanks

from jqueryintroloader.

Related Issues (13)

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.