diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2019-11-30 12:40:35 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2019-11-30 12:40:35 -0500 |
| commit | e706e65318f760d9f0602a08f1badb67d77e5fb1 (patch) | |
| tree | f013b09cab3064a51fe5439cb98e24eace15224e /assets/js/transition.js | |
| parent | b99356105115fec32d75a43bfb5b054220d90141 (diff) | |
| download | alp-website-e706e65318f760d9f0602a08f1badb67d77e5fb1.tar.gz alp-website-e706e65318f760d9f0602a08f1badb67d77e5fb1.tar.bz2 alp-website-e706e65318f760d9f0602a08f1badb67d77e5fb1.zip | |
Switching to NextJS
Diffstat (limited to 'assets/js/transition.js')
| -rw-r--r-- | assets/js/transition.js | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/assets/js/transition.js b/assets/js/transition.js deleted file mode 100644 index 25c62e1..0000000 --- a/assets/js/transition.js +++ /dev/null @@ -1,24 +0,0 @@ -$(document).ready(function() { - $(".animsition").animsition({ - inClass: 'fade-in', - outClass: 'fade-out', - inDuration: 1500, - outDuration: 800, - linkElement: '.animsition-link', - // e.g. linkElement: 'a:not([target="_blank"]):not([href^="#"])' - loading: true, - loadingParentElement: 'body', //animsition wrapper element - loadingClass: 'animsition-loading', - loadingInner: '', // e.g '<img src="loading.svg" />' - timeout: true, - timeoutCountdown: 5000, - onLoadEvent: true, - browser: [ 'animation-duration', '-webkit-animation-duration'], - // "browser" option allows you to disable the "animsition" in case the css property in the array is not supported by your browser. - // The default setting is to disable the "animsition" in a browser that does not support "animation-duration". - overlay : false, - overlayClass : 'animsition-overlay-slide', - overlayParentElement : 'body', - transition: function(url){ window.location.href = url; } - }); -}); |
