-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·138 lines (112 loc) · 6.3 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
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" type="text/css" href="css/page.css">
<script type="text/javascript" src="http://use.typekit.net/aob6rqa.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
<script type="text/javascript" src="js/main.js"></script>
<script src="js/vendor/modernizr-2.6.2.min.js"></script>
<style type="text/css">
html { height: 100% }
body { height: 100%; margin: 0; padding: 0 }
</style>
</head>
<body>
<!--[if lt IE 7]>
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
<![endif]-->
<!-- Add your site or application content here -->
<div class="omaha_geography">
<div id="header">
<img id="logo" src="img/logo.png"/>
<form>
<input type="text" />
<div id="go"><img src="img/go.png"/></div>
</form>
</div>
</div>
<div id="map_canvas" style="width:100%;"></div>
<div class="text_wrapper">
<div id="coloumn1">
<div class="article">
<div class="headline"><a href="http://www.nytimes.com/2013/02/16/nyregion/cuomo-spokeswoman-allison-gollust-quits-after-4-months.html">Australian Report Unveils Israel’s Prisoner X</a></div>
<div class="byline">By JODI RUDOREN</div>
<div class="article_body">JERUSALEM — The story had all the trappings of a spy thriller: an anonymous prisoner linked to Israel ’s secret service, Mossad, isolated in a top-security wing originally built for the assassin of a prime minister. A suicide — or was it a murder? — never officially reported. A gag order that barred journalists from even...</div>
</div>
<div class="article" id="article2">
<div class="headline"><a href=""http://www.nytimes.com/2013/02/15/nyregion/lottery-numbers-for-new-york-new-jersey-and-connecticut.html"">Australian Banks Try to Stimulate Home-Building</a></div>
<div class="byline">By WAYNE COLE | REUTERS</div>
<div class="article_body">SYDNEY — Australian banks are cutting the cost of fixed-rate mortgages to the lowest level in more than two decades as a marked drop in funding costs and fierce competition combine to offer a glimpse of light in a moribund housing market. Any easing in financial conditions, or use of lower interest rates or increased money supply to stimulate...</div>
</div>
<div class="article" id="article2">
<div class="headline"><a href="http://www.nytimes.com/2013/02/16/nyregion/cuomo-spokeswoman-allison-gollust-quits-after-4-months.html">Australian Leader Calls for Elections After Tough Year</a></div>
<div class="byline">By MATT SIEGEL</div>
<div class="article_body">SYDNEY, Australia — Prime Minister Julia Gillard announced on Wednesday that federal elections would be held in September, ending speculation over the timing with an unusually early announcement that will kick off what is sure to be a bruising, almost nine-month-long campaign season.
 
Ms. Gillard, Australia’s first female...</div>
</div>
</div>
<div id="column2">
<img src="img/australia_1.jpg"/>
<div class="slideshow_title">Tropical Cyclone Yasi Makes Landfall</div>
<img src="img/australia_2.jpg"/>
<div class="slideshow_title">Tropical Cyclone Yasi Makes Landfall</div>
<img src="img/australia_3.jpg"/>
<div class="slideshow_title">Tropical Cyclone Yasi Makes Landfall</div>
</div>
</div>
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyA01Jlq2uc3b-7Jn1zGkxH1FI7q4IorGz0&sensor=true"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script type="text/javascript">
function initialize() {
var latitude = -37.7833;
var longitude = 144.9667;
var mapOptions = {
center: new google.maps.LatLng(latitude, longitude),
zoom: 8,
mapTypeId: google.maps.MapTypeId.SATELLITE
};
var map = new google.maps.Map(document.getElementById("map_canvas"),
mapOptions);
var myLatlng = new google.maps.LatLng(latitude,longitude);
var marker = new google.maps.Marker({
position: myLatlng,
map: map,
title:"Hello World!"
});
}
$(document).ready(function(){
initialize();
baller();
})
function baller() {
var geo_key = "2f5910b2d12a5cb04004db0cd5dd42a0:9:67107182";
var article_key = "071f2dcd4d4d36bc6972b9ff31dad63f:10:67107182";
var search_base = "http://api.nytimes.com/svc/";
var geo_search = "semantic/v2/geocodes";
var article_search = "search/v1/article";
$.ajax({
url : 'geography.php',
data : {
type : 'article',
geo_location : 'AUSTRALIA'
}
}).done(function(data){
json_data = $.parseJSON(data);
console.log(json_data);
hi_omaha(json_data.results);
});
return;
}
</script>
</body>
</html>