-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathentry.html
134 lines (118 loc) · 3.34 KB
/
entry.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
<!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>
<title></title>
<style type="text/css">
.widget {
height: 225px;
width: 180px;
font-family: Verdana, Geneva, sans-serif;
font-size: 13px;
line-height: 14px;
background-image: url(images/ef_bg2.png);
background-repeat: no-repeat;
padding-top: 10px;
padding-right: 10px;
padding-bottom: 5px;
padding-left: 10px;
color: #000;
font-weight: normal;
position: relative;
border: 3px solid #0059B2;
}
.txt {
display: block;
clear: both;
margin: 10px 0 0;
padding: 3px;
position: relative;
width: 174px;
color: #999;
}
.btn {
background-color: #044b8d;
border: 1px solid #CCCCCC;
clear: both;
color: #fff;
display: block;
float: left;
font-size: 15px;
font-weight: bold;
margin: 8px 0 0;
padding: 5px;
position: relative;
}
form {
display: block;
margin-top: 8px;
margin-bottom: 10px;
}
.placeholder { color: #aaa;}
label {
font-size: 14px;
color: #093;
font-weight: bold;
margin: 10px 0px;
display: block;
}
.widget .title {
display: block;
height: auto;
text-align: center;
margin-bottom: 8px;
}
a img {
border: 0;
}
</style>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-16484610-7']);
_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);
})();
function verify(frm) {
if (frm.wherestr.value == frm.wherestr.defaultValue) {
alert("Please input a location.");
return false;
} else {
return true;
}
}
</script>
</head>
<body>
<div class="widget">
<div class="title"><img src="https://ejscreen.epa.gov/mapper/images/ejscreen.png" width="129" height="24" alt="EJSREEN" /></div>
Check out EPA’s environmental justice screening and mapping tool today!
<form action="https://ejscreen.epa.gov/mapper/index.html" method="get" target="_blank" onsubmit="return verify(this);">
<label>Input a Location</label>
<input type="text" name="wherestr" value="e.g.: city, state, zip" onfocus="clearMe(this)" onblur="setdefault(this)" class="txt"/>
<input type="submit" value="Search" class="btn"/>
</form>
<div style="clear:both;margin:0;padding:0;"></div>
<div style="clear:both; margin:10px 0 0;width:100%;">
<div style="float:left;">
<a target="_blank" href="https://www.epa.gov"><img style="border:0;margin:0;padding:0;float:left;" src="https://ejscreen.epa.gov/mapper/images/epa_logo.png"></a>
</div>
<div style="width:20px; float:right;">
<a target="_blank" href="https://www.epa.gov/ejscreen"><img style="border:0;margin:0;padding:0;float:left;" src="https://ejscreen.epa.gov/mapper/images/info.png"></a>
</div>
</div>
</div>
<script type="text/javascript">
function clearMe(formfield){
if (formfield.defaultValue==formfield.value)
formfield.value = ""
}
function setdefault(formfield) {
if (formfield.value == "") {
formfield.value = formfield.defaultValue;
}
}
</script>
</body>
</html>