Closed gvost closed 9 years ago
Sorry which links are you referring to? The navigation tab links? The navigation arrows?
The code you shared above is actually the code to toggle the navigation and arrows when you hover over the slider. It has nothing to do with the last slide.
the navigation tab links, that makes sense why it's not doing anything when i make changes to it. haha.
I'm still not 100% sure what you want, but here is a demo that hides all of the navigation links when the slider is on the last page.
$('#slider').anythingSlider({
infiniteSlides: false,
stopAtEnd: true,
onSlideComplete: function(slider) {
slider.$nav.toggle(slider.currentPage !== slider.pages);
}
});
Hey is there a way to make the links for the slide you are on become hidden when you reach the last slide?
I have narrowed it down to this piece of code...
but I am hitting a wall, what happens now is the navigation appears on load, but it immediately fades out. Thanks in advance for any help!