Comments (10)
Hey @ahmadux,
slidr.js should already support IE8/9. It's given me no errors when I've been testing it on IE10 running IE8/IE9 browser mode. Could you provide some sort of screenshot to the issues you're experiencing, and the IE version(s) that you're using?
from slidr.
Hey B,
Attaching three screenshots of the issue I am facing.
ErrorDesc: Shows what the error message is.
ScriptLocation: Shows the line location of the error and that it is the slidr.js file with the issue.
watchVariables: Shows the value of the variables. They seem to be ok but I dunno.
It works beautifully in IE 10 and all the other browsers. IE 8 seems to have something up it's a**.
Lemme know what you think.
Regards,
Usman Ahmad
mob:(+974 ) 55142382
Date: Mon, 10 Feb 2014 01:32:10 -0800
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [slidr] Support for IE 8/9? (#22)
Hey @ahmadux,
slidr.js should already support for IE8/9. It's given me no errors when I've been testing it on IE10 running IE8/IE9 browser mode. Could you provide some sort of screenshot to the issues you're experiencing, and the IE version(s) that you're using?
—
Reply to this email directly or view it on GitHub.
from slidr.
Hey @ahmadux,
Did you forget to attach the screenshots? I'm not seeing anything.
from slidr.
from slidr.
Hey @ahmadux,
Looks like you're running an IE version that's different than the browser compatibility mode packaged with IE10. Nonetheless, I've pushed a devel build with a potential fix here: https://github.com/bchanx/slidr/tree/devel. Could you give that a try and see if there's any progress?
from slidr.
Brilliant. It works. Needs a bit of work on the CSS but the script works like a charm.
Thanks a lot dude. You the man!
One last thing, Can we have a resume() function, so we can resume after a stop() call? Or maybe a pause() and resume() function would be better?
from slidr.
Hey @ahmadux,
Are you trying to implement pauseOnHover, or is this for an entirely different usecase? If it's the former, that feature will be added in the next release (in fact, it's already in the devel build you just tested).
Otherwise, calling .auto()
again after you .stop()
will resume the slidr as you were describing. You can also change the speed and direction on the resuming .auto()
call if you'd like. e.g. .auto(2000, 'left')
.
from slidr.
Hey.
Yeah I tried auto() and stop(). The only issue is, if I had initially passed in some parameters to auto() I need to pass them in again and that wouldn't be ideal, right? Ideally, I would like to call resume() and it would pick up from where it left off.
Also, what do you think of this idea where I could pass in a function() to pause(fn()) or start(...,fn()) which would be evaluated to true/false before the next slide animates in.
Regards,Usman Ahmadmob:(+974 ) 55142382
Date: Mon, 10 Feb 2014 03:51:31 -0800
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [slidr] Support for IE 8/9? (#22)
Hey @ahmadux,
Are you trying to implement pauseOnHover, or is this for an entirely different usecase? If it's the former, that feature will be added in the next release (in fact, it's already in the devel build you just tested).
Otherwise, calling .auto() again after you .stop() will resume the slidr as you were describing. You can also change the speed and direction on the resuming .auto() call if you'd like. e.g. .auto(2000, 'left').
—
Reply to this email directly or view it on GitHub.
from slidr.
Hey @ahmadux,
I'll implement it so auto() will reuse the previous input params if you call it a second time. Something like .auto(3000, 'right').stop().auto() will be able to resume the slidr accordingly, and .auto(3000, 'right').stop().auto(2000, 'left') to change directions.
I'm not sold on the idea of passing a check function to pause/start, since it complicates the API and I'd like to keep it simple. It's actually possible to implement what you're looking for with the current Slidr API, like so:
var s = slidr.create().start();
var timerId = setInterval(function() {
if (condition) s.slide('left/right/up/down');
}, 3000);
Which is just a matter of implementing your own timer to conditionally slide.
from slidr.
The changes to auto() have been implemented and released. Cheers!
from slidr.
Related Issues (20)
- Delay HOT 3
- Next Prev in auto mode
- Creating Sub Categorie Slider
- Slide names in breadcrumbs... HOT 1
- External CSS
- next page/part of content
- Controls not work in opera 20
- Eternal Slider
- Responsive ? HOT 2
- [Slidr] Error adding [horizontal] slides for [testimonials-slider]. HOT 2
- endless loop HOT 2
- href for images HOT 3
- Disable vertical touch only on mobile
- clean/remove all the slidr
- Uncaught TypeError in Chrome
- Slide in random direction and specific timings per slide HOT 4
- How to make multiple slides ?! HOT 1
- Centering slide images vertically HOT 2
- Loop
- Add perView property
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 slidr.