Line 209: | Line 209: | ||
while(true){ | while(true){ | ||
if (x == 2){ | if (x == 2){ | ||
− | + | setTimeout(function(){ | |
window.location.hash = 'slider-image-2'; | window.location.hash = 'slider-image-2'; | ||
− | }, | + | }, 3000); |
x = 3; | x = 3; | ||
} | } | ||
if (x == 3){ | if (x == 3){ | ||
− | + | setTimeout(function(){ | |
window.location.hash = 'slider-image-3'; | window.location.hash = 'slider-image-3'; | ||
− | }, | + | }, 3000); |
x = 4; | x = 4; | ||
} | } | ||
if (x == 4){ | if (x == 4){ | ||
− | + | setTimeout(function(){ | |
window.location.hash = 'slider-image-1'; | window.location.hash = 'slider-image-1'; | ||
− | }, | + | }, 3000); |
x = 2; | x = 2; | ||
} | } |
Revision as of 14:07, 27 September 2017