-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
110 lines (90 loc) · 4.22 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html>
<head>
<title>NameThatStatus!</title>
<meta name="viewport" content="width=device-width, user-scalable=no">
<meta property="fb:app_id" content="1397744790494548" />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://namethatstatus.com" />
<meta property="og:title" content="NameThatStatus!" />
<meta property="og:image" content="http://namethatstatus.com/img/fb_share.jpg" />
<meta property="og:description" content="NameThatStatus is a fun quiz game using your friends' statuses. How well do you know YOUR friends?" />
<link rel="icon"
type="image/png"
href="/img/icon.png">
<link href='http://fonts.googleapis.com/css?family=Sigmar+One' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Francois+One' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="style/fbstyle.css">
</head>
<body>
<!-- Load the Facebook JavaScript SDK -->
<div id="fb-root"></div>
<script src="//connect.facebook.net/en_US/all.js"></script>
<script src="fb.js"></script>
<div id="title">
<h1>NameThatStatus!</h1>
</div>
<div id = "container">
<div id="content">
<div id = "description">
<h2>How well do you know your friends?</h2>
<p> Login with your Facebook account to find out </p>
</div>
<div id="status" style="display:none">
Loading...
</div>
<div id="share" style="visibility: hidden; display: none">
<input class = "button" id="share_button" type="button" value="Share this status!" onclick="share();"/>
</div>
<br>
<table id="names" style="display: none">
<tr>
<td id="name0" onclick="check(0)">
</td>
</tr>
<tr>
<td id="name1" onclick="check(1)">
</td>
</tr>
<tr>
<td id="name2" onclick="check(2)">
</td>
</tr>
<tr>
<td id="name3" onclick="check(3)">
</td>
</tr>
</table>
<input id="loginButton" type="button" onclick="authUser();" />
<!-- <input id="submit" type="button" value="Guess!" onclick="check();" /> -->
<input class = "button" id="next" type="button" value="Next" onclick="displayChoices();" style="display: none"/>
<div id = 'percent' style="display: none">
0% Correct
</div>
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style">
<a class="addthis_button_facebook_like" fb:like:layout="button"></a>
<a class="addthis_button_facebook_share" fb:share:layout="button_count"></a>
<a href="https://twitter.com/share" class="twitter-share-button" data-hashtags="NTS">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':
'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';
fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
</div>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-532604117b26f5a9"></script>
<!-- AddThis Button END -->
</div>
<div id="links">
<a href="about">About</a> <p class="logout" style="display: none"> | </p> <a class="logout" id="logout_button" onclick="user_logout()"
style="display: none">Logout</a>
</div>
</div>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-49049008-1', 'namethatstatus.com');
ga('send', 'pageview');
</script>
</body>
</html>