Home › Forums › JavaScript › Hide/Show Div's › Reply To: Hide/Show Div's
August 26, 2013 at 9:55 pm
#148199
g3logic
Participant
OK, I’m referencing the CodePen solution. Try this:
Remove this line:
slides.not(slides.eq(current)).hide();
And replace with these two lines:
slides.hide();
slides.eq(current).show();