forked from chrislkeller/nwsmkr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsis-form.html
200 lines (160 loc) · 5.34 KB
/
sis-form.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
<!DOCTYPE HTML>
<html lang="en">
<!-- BEGIN DOC HEADER -->
<head>
<!-- BEGIN META -->
<meta charset="utf-8" />
<title>nwsmkr</title>
<meta name="description" content="We'll change how you present news">
<meta name="keywords" content="visualizing connections, newsmakers, public figures, six degrees of separation">
<meta name="author" content="nwsmkr, © 2011">
<meta name="google-site-verification" content="ppHjGpSdVGKZmSCI1HdahgqU3faBzvgsOwLXZisQMo0" />
<meta name="robots" content="index,nofollow" />
<meta content="yes" name="apple-mobile-web-app-capable" />
<meta name="viewport" content="initial-scale = 0.5, width=device-width, maximum-scale=0.6667, user-scalable=yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<!-- END META -->
<!-- BEGIN FAVICON/MOBILE TOUCH ICON -->
<link rel="shortcut icon" href="favicon.ico">
<link rel="apple-touch-icon" href="icon.png">
<!-- END FAVICON/MOBILE TOUCH ICON -->
<!-- BEGIN CSS -->
<link href='http://fonts.googleapis.com/css?family=Open+Sans:600&v2' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/coming-soon.css">
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="css/ie-6.css" />
<![endif]-->
<!-- END CSS -->
<!-- BEGIN SCRIPTS -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" type="text/javascript"></script>
<script src="scripts/jquery.validate.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
$("#commentForm").validate({meta: "validate"});
});
</script>
</head>
<!-- END DOC HEADER -->
<!-- BEGIN BODY -->
<body>
<!-- BEGIN HEADER LOGO -->
<!-- <div id="header-logo">
<a href="http://www.nwsmkr.com/"><img src="images/logo.gif"></a>
</div> -->
<!-- BEGIN CONTENT -->
<div id="content">
<!-- <h2>We'll change how you present news</h2> -->
<!-- BEGIN FORM -->
<div id="contact-form">
<div class="ss-form">
<fieldset>
<script type="text/javascript">var submitted=false;</script>
<iframe name="hidden_iframe" id="hidden_iframe"
style="display:none;" onload="if(submitted)
{window.location='thank-you.html';}"></iframe>
<!-- <iframe name="hidden_iframe" id="hidden_iframe"
style="display:none;" onload="if(submitted)
{window.location='http://www.nwsmkr.com/thank-you.html';}"></iframe> -->
<form action="https://spreadsheets.google.com/spreadsheet/formResponse?formkey=dHlhUjVPYl9oUkZnMHI5UEc1d2wtc0E6MQ&ifq" method="POST"
target="hidden_iframe" id="commentForm" onsubmit="submitted=true;">
<br>
<div class="errorbox-good">
<div class="ss-item ss-item-required ss-select">
<div class="ss-form-entry">
<select name="entry.2.single" id="entry_2" class="select-menu" title="This is a title">
<option value=""> -- Select Connection -- </option>
<option value="#">Walmart</option>
<option value="duke">Michael T. Duke</option>
<option value="#">Susan Chambers</option>
<option value="#">Eduardo Castro-Wright</option>
<option value="#">Lee Scott</option>
<option value="#">Thomas M Schoewe</option>
</select>
</div>
</div>
<div class="errorbox-good">
<div class="ss-form-entry">
<input type="text" name="entry.0.single" value="Description" class="required" id="entry_0" onclick="clickclear(this, 'Description')" onblur="clickrecall(this,'Description')" title="This is a title" />
</div>
</div>
<br>
<div class="errorbox-good">
<div class="ss-form-entry">
<textarea rows="20" cols="51" style="font-size:18px; line-height:22px;">
Summary
</textarea>
</div>
</div>
</div>
<br>
<input type="hidden" name="pageNumber" value="0">
<input type="hidden" name="backupCache" value="">
<div class="ss-item ss-navigate">
<div class="ss-form-entry">
<input type="submit" id="submit" name="submit" class="form-submit-button" value="Submit" />
</div>
</div>
</fieldset>
</form>
<script type="text/javascript">
(function() {
var divs = document.getElementById('ss-form').
getElementsByTagName('div');
var numDivs = divs.length;
for (var j = 0; j < numDivs; j++) {
if (divs[j].className == 'errorbox-bad') {
divs[j].lastChild.firstChild.lastChild.focus();
return;
}
}
for (var i = 0; i < numDivs; i++) {
var div = divs[i];
if (div.className == 'ss-form-entry' &&
div.firstChild &&
div.firstChild.className == 'ss-q-title') {
div.lastChild.focus();
return;
}
}
})();
</script>
</div>
</div>
<!-- END FORM -->
<!-- <h2 style="text-align: center">-- 30 --</h2> -->
</div>
<!-- END CONTENT -->
<!-- BEGIN SCRIPTS -->
<script type="text/javascript">
//activate visualization button
$('#submit').click(function(){
document.location.href='thank-you.html';
})
function clickclear(thisfield, defaulttext) {
if (thisfield.value == defaulttext) {
thisfield.value = "";
}
}
function clickrecall(thisfield, defaulttext) {
if (thisfield.value == "") {
thisfield.value = defaulttext;
}
}
</script>
<!-- END SCRIPTS -->
<!-- BEGIN GOOGLE ANALYTICS CODE -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-24670839-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>
<!-- END GOOGLE ANALYTICS CODE -->
</body>
<!-- END BODY -->
</html>
<!-- END DOCUMENT -->