summaryrefslogtreecommitdiffstats
path: root/js/globe.js
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2012-07-31 22:34:08 -0700
committerPatrick Davison <snapwilliam@gmail.com>2012-07-31 22:34:08 -0700
commit2d290b23c402561ef30c1de665895c120dd79483 (patch)
tree8bde5ebd953f3dd375abe88e61e40571df313b1f /js/globe.js
parent628c2e712e39fe85762583fd1ddc12609746fc58 (diff)
downloadpathery-2d290b23c402561ef30c1de665895c120dd79483.tar.xz
Everything related to the scoreboard.
New feedback page. Changed the speed of the pauses on checkpoints during a path animation. Changed how notifications are recieved.
Diffstat (limited to 'js/globe.js')
-rw-r--r--js/globe.js35
1 files changed, 35 insertions, 0 deletions
diff --git a/js/globe.js b/js/globe.js
new file mode 100644
index 0000000..7fcd6a7
--- /dev/null
+++ b/js/globe.js
@@ -0,0 +1,35 @@
+
+// !! Remember to preload images
+
+
+function showSignin() {
+ var div = document.createElement('div');
+ var pref = '<div class="notification" align="center">';
+ pref += '<div class="notification_close"><a href="javascript:" onclick="this.parentNode.parentNode.parentNode.removeChild(this.parentNode.parentNode);">[Close]</a> </div> ';
+ pref += '<div style="overflow:auto;height:295px;">';
+ var suff = '</div></div>';
+ //var suff = '<button onclick="">'
+ //suff += 'Close</button></div>';
+ div.innerHTML = pref+html+suff;
+ document.body.appendChild(div.firstChild);
+}
+
+
+var signinDiv = '<div class="wrapper" id="oid_wrapper" >
+<h2>Sign in</h2>
+ <div id="oid_box">
+ <h2 style="color:#333;">Do you have an account here?</h2>
+ <a href="#"><img id="oid_btn" src="images/btns/signin_Google.png" alt="Sign in with Google" /></a>
+ <a href="#"><img id="oid_btn" src="images/btns/signin_Yahoo.png" alt="Sign in with Yahoo" /></a>
+ <a href="http://openid.net/get-an-openid/what-is-openid/" style="position:absolute;color:#333;left:10px;bottom:10px;">Learn more about OpenID</a>
+ </div>
+</div>';
+
+
+
+
+
+
+
+
+