I'm trying to use iosSlider, but I'm unable to link to the slides.
I'm using the following function here to add the current slide's number to the URL, which is working fine, but linking to these always loads the first slide instead of #3, #4...
function slideContentChange(args) {
window.location.href = '#' + args.currentSlideNumber
/* indicator (original code) */
$('.iosSliderButtons .button').removeClass('selected');
$('.iosSliderButtons .button:eq(' + args.currentSlideNumber + ')').addClass('selected');
}
What am I missing?