-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
110 lines (97 loc) · 3.27 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>Dublin Traffic Cams</title>
<link rel="stylesheet" href="css/styles.css" type="text/css" media="screen" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; minimum-scale=1.0; user-scalable=no"/>
<meta name="description" content="Mobile optimised Dublin Traffic Cams" />
<meta name="keywords" content="Dublin, traffic, camera, livedrive, AA roadwatch, traffic cams" />
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />
<script src="jquery-1.6.1.min.js"></script>
<script src="jquery.scrollTo-1.4.2-min.js"></script>
<!--Analytics-->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-23963982-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<script type="text/javascript">
$(document).ready(function() {
$.scrollTo({top:0, left:1600},{duration:2000});
var $scrollingDiv = $("#container");
$(window).scroll(function(){
$scrollingDiv
.stop()
.animate({"left": ($(window).scrollLeft()) + "px"}, "slow" );
});
});
</script>
<script type="text/javascript">
$(document).ready(function() {
var $scrollingDiv = $("#container");
$(window).scroll(function(){
$scrollingDiv
.stop()
.animate({"left": ($(window).scrollLeft()) + "px"}, "slow" );
});
});
</script>
<script>
$(window).load(function() {
$('img').each(function() {
if (!this.complete) {
// image was broken, replace with your new image
this.src = 'images/placeholder.png';
}
});
}); </script>
<!--Database scripting, based on html5rocks (http://www.html5rocks.com/en/tutorials/webdatabase/todo/)-->
<script src="database.js"></script>
</head>
<body onload="initIndex();">
<!--[if lt IE 7]>
<script type="text/javascript">
alert ("Still using an old version of Internet Explorer!\nTo see our site correctly, please update it\n or maybe you can install Google Chrome or Firefox.")
</script>
<![endif]-->
<div class="" id="allimages">
<div class="Cam_name" id="Cam_name">
View of:
</div>
</div>
<div class="container" id="container">
<div class="about" id="about">
<a class="linktab" href="about.html">about</a>
</div>
<div class="changeCam" id="changeCam">
<a class="linktab" href="camera.html">cameras</a>
</div>
<div class="feedback" id="feedback">
<a class="linktab" href="feedback.html">feedback</a>
</div>
<div class="ad_mobile" id="ad_mobile">
<!--
<script type="text/javascript"><!--
// XHTML should not attempt to parse these strings, declare them CDATA.
/* <![CDATA[ */
window.googleAfmcRequest = {
client: 'ca-mb-pub-0058068697090854',
format: '320x50_mb',
output: 'html',
slotname: '8950700253',
};
/* ]]> */
//-->
<!--
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_afmc_ads.js"></script>-->
</div>
</div>
</body>
</html>