From 4a21347d01c6837159bc489a859fa494a6a8d339 Mon Sep 17 00:00:00 2001
From: moehm
Date: Mon, 3 Nov 2014 15:21:16 +0100
Subject: Added preloader javascript.
---
static/footer.php | 14 ++++++++++++++
1 file changed, 14 insertions(+)
(limited to 'static/footer.php')
diff --git a/static/footer.php b/static/footer.php
index 324964f..a0d1da4 100755
--- a/static/footer.php
+++ b/static/footer.php
@@ -13,7 +13,21 @@
+ ".file_get_contents("static/jquery-1.11.1.min.js") . file_get_contents("static/jquery-ui.min.js") . file_get_contents("static/bootstrap/js/bootstrap.min.js") . file_get_contents("js/functions.min.js")."
+ window.onload = function() {
+ var pl = document.createElement('iframe');
+ iframe.style.display = \"none\";
+ iframe.src = \"".DOMAIN."?page=preload\";
+ document.body.appendChild(iframe);
+ };
+ ";
+ } else {
+ ?>
+
+ }
--
cgit v1.2.3