Difference between revisions of "Template:Team:Bielefeld-CeBiTec/JS"

m (fixed source)
m (hide scroll top button at beginning if needed)
Line 211: Line 211:
 
$("#cover-box-text").css({"background":"rgba(255, 255, 255, 1)"});
 
$("#cover-box-text").css({"background":"rgba(255, 255, 255, 1)"});
 
 
 +
if ($(window).scrollTop() == 0) {
 +
$("#page-arrow-top").css("display", "none");
 +
} else {
 +
$("#page-arrow-top").css("display", "block");
 +
}
 
});
 
});
  

Revision as of 17:19, 14 October 2017