Raffales-LMS/public/trust/js/custom.js
2024-04-16 15:43:24 +05:45

8 lines
200 B
JavaScript
Vendored

// Toggle Animation by Class
$(window).scroll(function() {
if ($(document).scrollTop() > 100) {
$('nav').addClass('animate');
} else {
$('nav').removeClass('animate');
}
})