Comments (7)
Firstly, use console.log instead of
if (window.console && window.console.firebug){ console.debug(txt); } // added window.console.firebug to make this work in Opera
Still looking at the rest. Seems to happen in all browsers but chrome. I've had something like this happen before.
from anythingslider.
Okay I figured out the problem, and this will likely occur for everyone. Any links INSIDE the anythingSlider are being given a class 'focusedLink' due to the
// Fix tabing through page
block of code. I'm not exactly sure how this code fixes the tabbing issue we had a while back so I just commented it out for now.
What it was doing is locating all links on the panel and binding it's own click events to them. If you put alert(page); inside the gotoPage() method you will see it is being triggered twice the first time you click on the link (passing page 1, and then page 2) and then triggered once the next time you click.
Note to Mottie: We need to change that tabbing code so people can put external links INSIDE the slider. We also need to be careful where we use return false;
and instead use e.preventDefault()
so people can bind more events to links. This isn't important for anythingSlider controls, but it is important for arbitrarily binded links.
surferboy: I recommend commenting out that block regarding the tabbing. I don't think it's vital to the functionality of the slider anyways.
I will leave this ticket open as I don't have a proper fix yet for the latest slider
from anythingslider.
Hmmm, I guess this is an issue. The slider is set up so when you tab through the links in the panels, the slider automatically switches to that panel. So the first time you click on a link, it's trying to switch to the same panel. The extended click you referred to allows the animation (which you can't see happen) to finish, then the slider changes to the panel.
I fixed it, but the problem I've run into now is any links in the cloned panel (first and last) will take the slider to those cloned panels, which shouldn't happen - they are only meant for appearance sake. I guess I could replace all links in the cloned panels with a span, but then the colors would be off...
from anythingslider.
Thanks for the responses! Commenting out the block regarding the tabbing works. Not sure if you guys are working on a more proper fix so I'll keep checking back. Thanks again for looking into it!
from anythingslider.
I have a fix... but I have a few other changes I'm including in the update, so give me an hour to update the readme, etc :P
from anythingslider.
Ok, try version 1.5.1 :P
from anythingslider.
Thanks Mottie, I'll give v 1.5.1 a try!
from anythingslider.
Related Issues (20)
- FX demos aren't working HOT 2
- Slider height collapses by removing height from container class HOT 4
- Video demo doesn't work HOT 3
- Can't just use CSS HOT 2
- html5 video slider issue HOT 2
- Photos are being rotated HOT 4
- resizeContents false does not leave division at constant height HOT 6
- Metallic.css breaks slide show button HOT 2
- iframe not scrolling on iPad HOT 2
- Play button not Visible on IPad HOT 3
- jQuery .data() values are lost in cloned elements HOT 4
- JW Player is not working HOT 2
- Loading issue HOT 4
- undefined error when infiniteSlides = false and showMultiple = X HOT 2
- Can't get slider working... HOT 2
- Slider take a delay after video playing is complete HOT 4
- Single Video playing issue HOT 3
- jQuery 3 compatibility
- issue with window.location HOT 1
- Image stacking when using https:// HOT 1
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 anythingslider.