First Commit

This commit is contained in:
2026-05-27 11:46:44 +09:00
commit b898b57d38
2351 changed files with 198344 additions and 0 deletions

View File

@ -0,0 +1,31 @@
$(document).ready(function(){ //start
//animate_elems
var $elems = $(".elm");
var winheight = $(window).height();
$elems.addClass('active');
$(window).scroll(function () {
animate_elems();
});
function animate_elems() {
wintop = $(window).scrollTop();
$elems.each(function () {
$elm = $(this);
topcoords = $elm.offset().top;
if (wintop >= (topcoords - (winheight * 0.5))) {
$elm.addClass('on');
}
});
}; // end animate_elems
// $(window).scroll(function(){
// if ($(window).scrollTop() >= 10) {
// $('.sub').addClass('sticky');
// }
// else {
// $('.sub').removeClass('sticky');
// }
// });
});//end