Difference between revisions of "Dev/Page"

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...