-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
34 lines (31 loc) · 1.78 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Google Map News Search</title>
<!--Get all the required javascript from yahoo so we can connect the ajax-->
<script src="http://yui.yahooapis.com/2.5.1/build/yahoo/yahoo-min.js" type="text/javascript"></script>
<script src="http://yui.yahooapis.com/2.5.1/build/event/event-min.js" type="text/javascript"></script>
<script src="http://yui.yahooapis.com/2.5.1/build/connection/connection-min.js" type="text/javascript"></script>
<script src="http://maps.google.com/maps?file=api&v=2&sensor=false&key=ABQIAAAAXneAXAbOkime8RBYAyeyjBRZMSkRUsZ6NLoaBxVQlRcN-aSvYBTVf50pgGPH7WDvUMWyTfcNMsEAJw" type="text/javascript"></script>
<script src="js/maps.js" type="text/javascript"></script>
<!--my style-->
<link rel="stylesheet" type="text/css" href="css/styles.css" media="all" />
</head>
<!--once the page is open, we need to tell the map what to do and what to display-->
<body onload="initialize()" onunload="GUnload()">
<div id="search">
<img src="images/happy.gif" alt="" width="200" height="109" /><!--image credited to http://www.purepartydjs.com/files/images/Silhouette%20Dancing%20People.jpg -->
<h3>News Search</h3>
<p>Enter a US zipcode below to find the current news feeds based off of google news.</p>
<p>Click the marker for your news to show up.</p>
<form action="#" method="post" onsubmit="go(this.address.value); return false;">
<input name="address" type="text" size="5" maxlength="5" />
<input type="submit" value="Go" />
</form>
<p><span id="error"></span></p>
</div>
<div id="map"></div>
</body>
</html>