Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
links not working in fade mode #346
In the main demo, when I click on the link inside the quote slide, it works properly.
Which browser is having this issue? Could you please share an example of a link not working.
The main reason the slider doesn't apply display none to panels is because of videos. When videos are hidden, they reset and therefore you cannot continue playing a video from its last position when it pauses on panel change.
I am having a similar issue. The 1st slide doesn't let me click on the link (the Heading at the top left corner of the slide). We've created a CMS to allow oruselves to create new slides easily from the backend as well as reorder them.
I've noticed that it doesnt' matter which is the 1st slide (if it contains a video or not), the link simply doesnt' work.
If I click next then back to the 1st slide, then the link is clickable just fine.
Does anyone have any solutions for this?
Here is a the demo: http://www.koopmancontemporaryart.com/form/carousel
Ok, we've found the bug. Basically the 1st panel should have Class: ActivePage on load.
If you load the page and look at the DOM with Google's Inspector you will see that all the panels have got class="panel" including the very first panel.
As soon as you click on next, the 2nd panel gets class="panel activePage". Then when you click back arrow, the 1st panel gets class="panel activePage" and the link works just fine.
So the solution is to asign activePage class to the first panel on Load.
If anyone could write the code here and let me know in which file this code should be inserted, that would be much appreciated.