diff options
Diffstat (limited to 'app/static/init.html')
-rw-r--r-- | app/static/init.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/app/static/init.html b/app/static/init.html new file mode 100644 index 0000000..651b886 --- /dev/null +++ b/app/static/init.html @@ -0,0 +1,26 @@ + <!DOCTYPE HTML> + <html lang="en-US"> + <head> + <meta charset="UTF-8" /> + <title></title> + <link rel="stylesheet" href="css/main.css" type="text/css" /> + <link rel="stylesheet" href="css/sugar-theme/jquery-ui-1.8.15.custom.css" /> + <script src="js/jquery-1.6.2.js" type="text/javascript"></script> + <script src="js/jquery-ui-1.8.15.custom.min.js" type="text/javascript"></script> + <!--script src="js/websdk-1.js" type="text/javascript"></script--> + </head> + <body> + <img id="throbber" class="bling" src="images/throbber.gif"/> + <script> + jQuery.fn.center = function () { + this.css("position","absolute"); + this.css("top", (($(window).height() - this.outerHeight()) / 2) + $(window).scrollTop() + "px"); + this.css("left", (($(window).width() - this.outerWidth()) / 2) + $(window).scrollLeft() + "px"); + return this; + } + window.onload = function() { + $("#throbber").center().fadeIn(1000); + } + </script> +</body> +</html> |