Difference between revisions of "Dev/Page"

Line 42: Line 42:
  
 
<script>
 
<script>
 
 
window.setInterval(function(){
 
  alert("test");
 
}, 1000);
 
  
  
Line 53: Line 48:
 
var counter = 1;
 
var counter = 1;
  
 +
alert(counter);
 
setInterval(function() {
 
setInterval(function() {
 
$( "ul.image_slider li:nth-child("+counter+")").toggleClass("current_image");
 
$( "ul.image_slider li:nth-child("+counter+")").toggleClass("current_image");

Revision as of 19:37, 29 January 2018

Loading...