Line 42: | Line 42: | ||
<script> | <script> | ||
− | |||
$(document).ready(function() { | $(document).ready(function() { | ||
Line 49: | Line 48: | ||
alert(counter); | 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:38, 29 January 2018