Home › Forums › JavaScript › Jquery AnythingSlider inside link question › Re: Jquery AnythingSlider inside link question
Hi Mottie,
Thanks for the reply! I’m still at the basics with js and can’t see the solution in the demo? Currently I have external links to the sliders panels like so:
panel1
panel2
$("#slide-jump").click(function(){
$('#slider2').anythingSlider(1);
return false;
});
$("#slide-jump2").click(function(){
$('#slider2').anythingSlider(2);
return false;
});
If I wanted to have a link to panel2 within some text in the slider, I would think this would work:
go to panel2
$("#slide-jump3").click(function(){
$('#slider2').anythingSlider(2);
return false;
});
But this hasn’t worked? I’ve also tried changing the #ids to .classes, but to no avail. The slider responds in reloading the current panel and its fx, but not moving onto the next panel.
In the demo I see the fixed panelNav. I tried just the
2
with the additional js, but no joy.
Hmm. Bit stumped.. I know this must be possible, but I can’t see it.
Any laymen point in the right direction is much appreciated! Thank you.