aboutsummaryrefslogtreecommitdiffhomepage
path: root/assets/js/preloader.js
diff options
context:
space:
mode:
authorMarco Alexander Fischer2018-09-09 16:33:00 +0200
committerMarco Alexander Fischer2018-09-09 16:33:00 +0200
commite5e10c26d0424504edc0c0efc4422ba9e8f872f4 (patch)
tree53570fb70f4f5b7a42531060929273cc928a8a29 /assets/js/preloader.js
parentbe131e1eddaeb36e4cb22797d15cb9b27d882f02 (diff)
Added a preloader :lipstick:
Diffstat (limited to 'assets/js/preloader.js')
-rw-r--r--assets/js/preloader.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/assets/js/preloader.js b/assets/js/preloader.js
new file mode 100644
index 0000000..3d5e8fc
--- /dev/null
+++ b/assets/js/preloader.js
@@ -0,0 +1,10 @@
+$(document).ready(function() {
+ $("#ud_dots")
+ .delay(750)
+ .fadeOut(300, function() {
+ $("#ud_bg_left").animate({ left: "-50%" }, 300);
+ $("#ud_bg_right").animate({ right: "-50%" }, 300, function() {
+ $("#ud_preloader").fadeOut(10);
+ });
+ });
+});