Difference between revisions of "Template:Bielefeld-CeBiTec/js/stylesheet"

(Created page with "$(document).ready(function () { var shiftWindow = function() { scrollBy(0, -200) }; window.addEventListener("hashchange", shiftWindow); function load() { if (window.location.hash...")
 
Line 1: Line 1:
 
$(document).ready(function () {
 
$(document).ready(function () {
var shiftWindow = function() { scrollBy(0, -200) };
+
var shiftWindow = function() { scrollBy(0, -100) };
 
window.addEventListener("hashchange", shiftWindow);
 
window.addEventListener("hashchange", shiftWindow);
 
function load() { if (window.location.hash) shiftWindow(); }
 
function load() { if (window.location.hash) shiftWindow(); }
 
load();
 
load();
 
});
 
});

Revision as of 21:09, 16 August 2015

$(document).ready(function () { var shiftWindow = function() { scrollBy(0, -100) }; window.addEventListener("hashchange", shiftWindow); function load() { if (window.location.hash) shiftWindow(); } load(); });