-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
203 lines (202 loc) · 7.94 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
<!DOCTYPE html>
<html>
<head>
<title>Yifan Ma</title>
<link rel="stylesheet" type="text/css" href="style.css" media="screen">
<link rel="stylesheet" type="text/css" href="resources/libraries/jquery-modal-master/jquery.modal.css">
<script type="text/javascript" src="resources/libraries/jquery-3.1.0.min.js"> </script>
<script type="text/javascript" src="script.js"></script>
<script type="text/javascript" src="mainAPI.js"></script>
<script type="text/javascript" src="resources/libraries/jquery-modal-master/jquery.modal.min.js"></script>
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?key=AIzaSyDivKjpnLNRiR9pQnE8ToLAGEb-XhyiQEk"></script>
<script type="text/javascript" src="https://www.google.com/books/jsapi.js?key=AIzaSyDivKjpnLNRiR9pQnE8ToLAGEb-XhyiQEk"></script>
<script src="https://query.yahooapis.com/v1/public/yql?q=select * from weather.forecast where woeid in (select woeid from geo.places(0) where text='waterloo, on, ca') and u='c'&format=json&callback=weatherFunction"></script>
<div id="head_name">
<p>Yifan Ma</p>
</div>
<div id="head_box"></div>
<div id="clock_date"></div>
<div id="clock_time"></div>
<div id="clock_newDate"></div>
<div id="clock_newTime"></div>
<small id="place">Waterloo, ON</small>
<div id="weather"></div>
<div id="weatherCondition"></div>
<img id="weatherIcon" height="30" width="30"></img>
<div id="weatherNext"></div>
<div id="weatherConditionNext"></div>
<a href="https://www.yahoo.com/?ilc=401" target="_blank" id="yahoo_logo"> <img src="https://poweredby.yahoo.com/purple.png" height="20" width="90"> </a>
<div id="header_line"></div>
<nav>
<div class="main_tabs">
<ul class="tabs">
<li id="projects_tab"><a href="projects.html">Other Work</a></li>
<li id="documents_tab"><a href="documents.html">Documents</a></li>
<li id="uwaterloo_tab"><a href="uwaterloo.html">UWaterloo</a></li>
<li id="me_tab"><a href="me.html">About Me</a></li>
<li id="home_tab"><a href="index.html">Home</a></li>
</ul>
</div>
</nav>
</head>
<body id="home_page">
<div id="sidebar">
<div id="sidebarContent">
</div>
</div>
<div id="sidebar_line">
</div>
<div class="text">
<p>
My first website. It's a pretty big mess because I was new and I was playing around with a bunch of stuff.
</p>
<p>
It has long been deprecated and most content has been removed. Please go to yifanma.me for my current website.
</p>
<p>
As of April 25, 2017, the APIs used on this page (weather, maps, books, stocks, currency, translator, dictionary, thesaurus) still seem to work.
</p>
<div id="map">
</div>
<div class="stock_area">
<div id="goog"></div>
<span></span>
<br>
<div id="aapl"></div>
<span></span>
<br>
<div id="fb"></div>
<span></span>
<br>
<div id="twtr"></div>
<span></span>
</div>
<form id="currencyArea">
<span>Convert </span><input type="text" id="inputCurrency" required><span> from</span>
<select id="currencyInputType" required>
<option value="AUD">AUD</option>
<option value="BGN">BGN</option>
<option value="BRL">BRL</option>
<option value="CAD" selected="selected">CAD</option>
<option value="CHF">CHF</option>
<option value="CNY">CNY</option>
<option value="CZK">CZK</option>
<option value="DKK">DKK</option>
<option value="EUR">EUR</option>
<option value="CAD">CAD</option>
<option value="GBP">GBP</option>
<option value="HKD">HKD</option>
<option value="HRK">HRK</option>
<option value="HUF">HUF</option>
<option value="IDR">IDR</option>
<option value="ILS">ILS</option>
<option value="INR">INR</option>
<option value="JPY">JPY</option>
<option value="KRW">KRW</option>
<option value="MXN">MXN</option>
<option value="MYR">MYR</option>
<option value="NOK">NOK</option>
<option value="NZD">NZD</option>
<option value="PHP">PHP</option>
<option value="PLN">PLN</option>
<option value="RON">RON</option>
<option value="RUB">RUB</option>
<option value="SEK">SEK</option>
<option value="SGD">SGD</option>
<option value="THB">THB</option>
<option value="TRY">TRY</option>
<option value="USD">USD</option>
<option value="ZAR">ZAR</option>
</select>
<span>to</span>
<select id="currencyOutputType" required>
<option value="AUD">AUD</option>
<option value="BGN">BGN</option>
<option value="BRL">BRL</option>
<option value="CAD">CAD</option>
<option value="CHF">CHF</option>
<option value="CNY">CNY</option>
<option value="CZK">CZK</option>
<option value="DKK">DKK</option>
<option value="EUR">EUR</option>
<option value="CAD">CAD</option>
<option value="GBP">GBP</option>
<option value="HKD">HKD</option>
<option value="HRK">HRK</option>
<option value="HUF">HUF</option>
<option value="IDR">IDR</option>
<option value="ILS">ILS</option>
<option value="INR">INR</option>
<option value="JPY">JPY</option>
<option value="KRW">KRW</option>
<option value="MXN">MXN</option>
<option value="MYR">MYR</option>
<option value="NOK">NOK</option>
<option value="NZD">NZD</option>
<option value="PHP">PHP</option>
<option value="PLN">PLN</option>
<option value="RON">RON</option>
<option value="RUB">RUB</option>
<option value="SEK">SEK</option>
<option value="SGD">SGD</option>
<option value="THB">THB</option>
<option value="TRY">TRY</option>
<option value="USD" selected="selected">USD</option>
<option value="ZAR">ZAR</option>
</select>
<span id="resultCurrency"></span>
</form>
<div id='stopColumn'></div>
<form id="translateArea">
<span>Translator </span><textarea maxlength='130' type="text" id="inputLanguage" cols="35" rows="5" required></textarea><span> from</span>
<select id="languageInputType" required>
</select>
<span>to</span>
<select id="languageOutputType" required>
</select>
<a href="qwerty" class="myButton" id="translateButton">Translate</a>
<textarea readonly type='text' cols='35' rows='5' id="resultLanguage"></textarea>
</form>
<form id="defineArea">
<span>Dictionary </span><input type="text" id="inputDefinition" required>
<a href="qwerty" class="myButton" id="defineButton">Define</a>
<textarea readonly cols='40' rows='8' id="resultDefinition"></textarea>
</form>
<form id="thesaurusArea">
<span>Thesaurus </span><input type="text" id="inputThesaurus" required>
<a href="qwerty" class="myButton" id="thesaurusButton">Find</a>
<textarea readonly cols='40' rows='8' id="resultThesaurus"></textarea>
</form>
<div id='bookArea'>
<span style='float:left'>Google Books </span>
<form id="bookForm">
<input type="text" maxlength="100" size="30" id="bookKeywords">
<input type="submit" value="Search" id="bookSubmit">
</form>
<br><br>
<div id="bookResults">
</div>
<div id="viewerCanvas"></div>
<a href="#" id="closeBookButton" class="myButton">Close Book</a>
</div>
<br><br>
</div>
</body>
<footer>
<a href="#modal-form" rel="modal:open" id="modalButton" class="myButton">List of things I used</a>
<form id="modal-form" style="display:none;" class="modal">
<p>This is where I put my list of services I used for this page. So far:</p>
<ul>
<li>Weather information : Yahoo</li>
<li>Weather icons : Alessio Atzeni</li>
<li>Market data : Quandl </li>
<li>Google Maps : Google </li>
<li>Google Books : Google</li>
<li>Currency data : Fixer.io</li>
<li>Translator service: Yandex Translate</li>
<li>Dictionary service: Mashape Words API</li>
<li>Thesaurus service: Big Huge Labs </li>
</ul>
</form>
</footer>
</html>