Comments (6)
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.
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.
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.
yes see my projdect www.cloud.mybusinessmanager.com and open developers toolbar and see inline introloader function
from jqueryintroloader.
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.
yes is working thanks
from jqueryintroloader.
Related Issues (13)
- Stop at custom time HOT 7
- not work wit jquery 3.2.1? HOT 1
- I have an issue with this plugin, [ " ISSUE FIXED, EVERYTHING WORKS PERFECTLY " ] :) ! HOT 3
- Without background HOT 1
- getting spinner is not defined HOT 1
- Spin Now working with Mootools HOT 3
- Trying to stop inside an Ajax call. HOT 5
- Custom spinner HOT 2
- $("#element").introLoader().stop(); not working HOT 7
- 'counterloader' not getting exit. Why? HOT 2
- White Screen with firefox add on "no script" HOT 3
- Custom GIF image in Letters loader HOT 6
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 jqueryintroloader.