aboutsummaryrefslogtreecommitdiffhomepage
path: root/assets/js/preLoader.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/preLoader.js')
-rw-r--r--assets/js/preLoader.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/assets/js/preLoader.js b/assets/js/preLoader.js
new file mode 100644
index 0000000..d2df8b5
--- /dev/null
+++ b/assets/js/preLoader.js
@@ -0,0 +1,9 @@
+$(window).on("load", () => {
+ $("#udDots")
+ .fadeOut(300, () => {
+ $("#udBgLeft").animate({left: "-50%"}, 300);
+ $("#udBgRight").animate({right: "-50%"}, 300, () => {
+ $("#udPreLoader").fadeOut(10);
+ });
+ });
+});