diff options
Diffstat (limited to 'client/button.js')
| -rw-r--r-- | client/button.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/client/button.js b/client/button.js index adb83a0..542db24 100644 --- a/client/button.js +++ b/client/button.js @@ -1,3 +1,12 @@ +$(document).ready(function () { + if (window.location.pathname == '/') { + var i = 0; + setInterval(function() { + $('img.home-logo').attr('src', '/img/icons/1_' + ((++i%5)+1) + '.gif'); + }, 2000); + } +}); + function prepareDates() { var month = $('input[name=month]').val(); var year = $('input[name=year]').val(); |
