diff options
author | Sebastian Silva <sebastian@sugarlabs.org> | 2011-10-12 00:54:31 (GMT) |
---|---|---|
committer | Sebastian Silva <sebastian@sugarlabs.org> | 2011-10-12 00:54:31 (GMT) |
commit | fe1a1eb79bf0f1df8bbc56d2402e32061af79d06 (patch) | |
tree | d39e3b7780e4b6949250d490a4a7a874f788981c /studio/static/init.html | |
parent | 5861585e94a32b3032ac473804bf90c6e1363940 (diff) |
Tidy up code a bit - added documentation
Diffstat (limited to 'studio/static/init.html')
-rw-r--r-- | studio/static/init.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/studio/static/init.html b/studio/static/init.html new file mode 100644 index 0000000..069b021 --- /dev/null +++ b/studio/static/init.html @@ -0,0 +1,26 @@ + <!DOCTYPE HTML> + <html lang="en-US"> + <head> + <meta charset="UTF-8" /> + <title></title> + <link rel="stylesheet" href="static/css/main.css" type="text/css" /> + <link rel="stylesheet" href="static/css/sugar-theme/jquery-ui-1.8.15.custom.css" /> + <script src="static/js/jquery-1.6.2.js" type="text/javascript"></script> + <script src="static/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> |