Difference between revisions of "Dev/Page"
Revision as of 19:38, 29 January 2018
(
view source
)
Sifuentes anita
(
Talk
|
contribs
)
← Older edit
Revision as of 19:38, 29 January 2018
(
view source
)
Sifuentes anita
(
Talk
|
contribs
)
Newer edit →
Line 50:
Line 50:
−
setInterval(function() {
+
−
$( "ul.image_slider li:nth-child("+counter+")").toggleClass("current_image");
+
−
+
−
if( counter > total_number_of_images) {
+
−
counter=1;
+
−
}
+
−
else{
+
−
counter++;
+
−
}
+
−
}, 1000);
+
−
+
−
+
−
+
−
});
+
});
});
Revision as of 19:38, 29 January 2018
Loading...