-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (61 loc) · 2.36 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
---
stylesheets: ["/css/cover.css"]
layout: default
---
<div class="site-wrapper">
<div class="site-wrapper-inner bg">
<div class="cover-container">
<div class="masthead clearfix">
<div class="inner" style="padding: 0">
<div class="inner">
<div style="float:right" id="google_translate_element"></div>
</div>
</div>
</div>
<div class="inner cover">
<h1 class="cover-heading">Help us build a better LexingtonKy.gov</h1>
<p class="lead">The City of Lexington is rebuilding LexingtonKy.gov to better meet the needs of residents. To make this happen we want to hear from you!</p>
<p class="lead">
<a href="#" id="survey-link" style="display:none" class="btn btn-lg btn-default"></a>
</p>
</div>
<div class="mastfoot">
<div class="inner">
<p class="lighter"><i>"In many ways, LexingtonKy.gov is the face of City Hall. <br>Let’s make it simpler, clearer and faster to use."</i>
<p class="lighter">Aldona Valicenti, Chief Information Officer</p>
</div>
</div>
</div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<!--[if lt IE 9]>
<script src="js/jquery.backgroundSize.js"></script>
<script type="text/javascript">
$('.bg').css( "background-size", "cover" );
</script>
<![endif]-->
<script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'en', includedLanguages: 'en,es,fr', layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, 'google_translate_element');
}
$(function() {
var linkText = 'Take the Survey';
$('#survey-link').html(linkText).show(500);
$('#survey-link').click(function(e) {
var loc;
var text = $(e.target)[0].innerHTML;
if (text === linkText) {
loc = 'https://lexington.typeform.com/to/BofuZK';
} else if (text === 'Participez au sondage') {
loc = 'https://lexington.typeform.com/to/PgTLon';
} else {
// Spanish
loc = 'https://lexington.typeform.com/to/dogssi';
}
ga('send', 'event', 'button', 'click', 'survey');
document.location = loc;
});
});
</script>
<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>