all repos — h3rald @ 50e9292b7c75ad4a14dfd7df053c75b884695f75

The sources of https://h3rald.com

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)
		});