Files
xStreamRepoWeb/js/functions.js
DWH-WFC 3bcf03ef26 - tmdb-helper-files included
- new design
2022-05-05 19:35:22 +02:00

22 lines
694 B
JavaScript

$( document ).ready(function() {
// PRELOADER
setTimeout(function(){
$('body').addClass('loaded');
}, 3000);
// SCROLL REVEAL
window.sr = new scrollReveal();
// SMOOTH SCROLL
smoothScroll.init({
speed: 900, // Integer. How fast to complete the scroll in milliseconds
easing: 'easeInOutCubic', // Easing pattern to use
updateURL: true, // Boolean. Whether or not to update the URL with the anchor hash on scroll
offset: 0, // Integer. How far to offset the scrolling anchor location in pixels
callbackBefore: function ( toggle, anchor ) {}, // Function to run before scrolling
callbackAfter: function ( toggle, anchor ) {} // Function to run after scrolling
});
});