files/js/init.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
$(document).ready(function() { $.slider(); $('#up-arrow').click(function(){ $.scrollTo('#header', 1000)}); $('#down-arrow').click(function(){ $.scrollTo('#footer', 1000)}); var change_opacity = function() { $(this).hover(function() { $(this).stop().animate({ opacity: 1.0 }, 300); }, function() { $(this).stop().animate({ opacity: 0.3 }, 300); } ); }; $('.half-hidden').each(change_opacity) $('.gsc-clear-button').each(change_opacity) }); |