diff options
author | Marco Alexander Fischer | 2018-09-09 16:33:00 +0200 |
---|---|---|
committer | Marco Alexander Fischer | 2018-09-09 16:33:00 +0200 |
commit | e5e10c26d0424504edc0c0efc4422ba9e8f872f4 (patch) | |
tree | 53570fb70f4f5b7a42531060929273cc928a8a29 /assets/js/preloader.js | |
parent | be131e1eddaeb36e4cb22797d15cb9b27d882f02 (diff) |
Added a preloader :lipstick:
Diffstat (limited to 'assets/js/preloader.js')
-rw-r--r-- | assets/js/preloader.js | 10 |
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); + }); + }); +}); |