mind-overflow-website-ghost.../assets/js/arrow-fade.js

11 lines
257 B
JavaScript
Raw Normal View History

// JavaScript Document
$(document).ready(function(){
$(window).scroll(function(){
if($(this).scrollTop() > $(window).height()*0.3){
$(".arrow-down").css({"opacity" : "0"});
} else {
$(".arrow-down").css({"opacity" : "0.4"});
}
})
})