-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.html
209 lines (194 loc) · 8.12 KB
/
contact.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
201
202
203
204
205
206
207
208
209
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Contact</title>
<link href='http://fonts.useso.com/css?family=Open+Sans:400,300,400italic,600,700' rel='stylesheet' type='text/css'>
<link href="css/font-awesome.min.css" rel="stylesheet">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/bootstrap-datetimepicker.min.css" rel="stylesheet">
<link href="css/flexslider.css" rel="stylesheet">
<link href="css/templatemo-style.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- Header -->
<div class="tm-header">
<div class="container">
<div class="row">
<div class="col-lg-6 col-md-4 col-sm-3 tm-site-name-container">
<a href="#" class="tm-site-name">Holiday</a>
</div>
<div class="col-lg-6 col-md-8 col-sm-9">
<div class="mobile-menu-icon">
<i class="fa fa-bars"></i>
</div>
<nav class="tm-nav">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="tours.html">Our Tours</a></li>
<li><a href="contact.html" class="active">Contact</a></li>
</ul>
</nav>
</div>
</div>
</div>
</div>
<!-- Banner -->
<section class="tm-banner">
<!-- Flexslider -->
<div class="flexslider flexslider-banner">
<ul class="slides">
<li>
<div class="tm-banner-inner">
<h1 class="tm-banner-title">Your <span class="tm-yellow-text">Special</span> Tour</h1>
<p class="tm-banner-subtitle">For Upcoming Holidays</p>
<a href="#more" class="tm-banner-link">Contact Us</a>
</div>
<img src="img/banner-3.jpg" alt="Banner 3" />
</li>
</ul>
</div>
</section>
<!-- gray bg -->
<section class="container tm-home-section-1" id="more">
<div class="row">
<!-- slider -->
<div class="flexslider effect2 effect2-contact tm-contact-box-1">
<ul class="slides">
<li>
<img src="img/world-map.png" alt="image" class="contact-image" />
<div class="contact-text">
<h2 class="slider-title">Lorem Isum Dolor</h2>
<h3 class="slider-subtitle">Gravida nibh vel velit auctor aliquet enean sollicitudin lorem quis auctor, nisi elit consequat ipsum</h3>
<p class="slider-description">Morbi accumsan ipsum velit. Nam nec tellus a odio tincidunt auctor a ornare odio. Sed non mauris vitae erat consequat auctor eu in elit. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. <br><br>
Mauris in erat justo. Nullam ac urna eu felis dapibus condimentum sit amet a augue. Sed non neque elit. Sed ut imperdiet nisi. Proin condimentum fermentum nunc. Etiam pharetra, erat sed fermentum feugiat, velit mauris gestas quam, ut aliquam massa nisi.</p>
<div class="slider-social">
<a href="#" class="tm-social-icon"><i class="fa fa-twitter"></i></a>
<a href="#" class="tm-social-icon"><i class="fa fa-facebook"></i></a>
<a href="#" class="tm-social-icon"><i class="fa fa-pinterest"></i></a>
<a href="#" class="tm-social-icon"><i class="fa fa-google-plus"></i></a>
</div>
</div>
</li>
</ul>
</div>
</div>
</section>
<!-- white bg -->
<section class="section-padding-bottom">
<div class="container">
<div class="row">
<div class="tm-section-header section-margin-top">
<div class="col-lg-4 col-md-3 col-sm-3"><hr></div>
<div class="col-lg-4 col-md-6 col-sm-6"><h2 class="tm-section-title">Contact Us</h2></div>
<div class="col-lg-4 col-md-3 col-sm-3"><hr></div>
</div>
</div>
<div class="row">
<!-- contact form -->
<form action="#" method="post" class="tm-contact-form">
<div class="col-lg-6 col-md-6">
<div id="google-map"></div>
<div class="contact-social">
<a href="#" class="tm-social-icon tm-social-facebook"><i class="fa fa-facebook"></i></a>
<a href="#" class="tm-social-icon tm-social-dribbble"><i class="fa fa-dribbble"></i></a>
<a href="#" class="tm-social-icon tm-social-twitter"><i class="fa fa-twitter"></i></a>
<a href="#" class="tm-social-icon tm-social-instagram"><i class="fa fa-instagram"></i></a>
<a href="#" class="tm-social-icon tm-social-google-plus"><i class="fa fa-google-plus"></i></a>
</div>
</div>
<div class="col-lg-6 col-md-6 tm-contact-form-input">
<div class="form-group">
<input type="text" id="contact_name" class="form-control" placeholder="NAME" />
</div>
<div class="form-group">
<input type="email" id="contact_email" class="form-control" placeholder="EMAIL" />
</div>
<div class="form-group">
<input type="text" id="contact_subject" class="form-control" placeholder="SUBJECT" />
</div>
<div class="form-group">
<textarea id="contact_message" class="form-control" rows="6" placeholder="MESSAGE"></textarea>
</div>
<div class="form-group">
<button class="tm-submit-btn" type="submit" name="submit">Submit now</button>
</div>
</div>
</form>
</div>
</div>
</section>
<footer class="tm-black-bg">
<div class="container">
<div class="row">
<p class="tm-copyright-text">Copyright © 2016.Company name All rights reserved.<a target="_blank" href="http://sc.chinaz.com/moban/">网页模板</a></p>
</div>
</div>
</footer>
<script type="text/javascript" src="js/jquery-1.11.2.min.js"></script> <!-- jQuery -->
<script type="text/javascript" src="js/bootstrap.min.js"></script> <!-- bootstrap js -->
<script type="text/javascript" src="js/jquery.flexslider-min.js"></script> <!-- flexslider js -->
<script type="text/javascript" src="js/templatemo-script.js"></script> <!-- Templatemo Script -->
<script>
/* Google map
------------------------------------------------*/
var map = '';
var center;
function initialize() {
var mapOptions = {
zoom: 14,
center: new google.maps.LatLng(37.769725, -122.462154),
scrollwheel: false
};
map = new google.maps.Map(document.getElementById('google-map'), mapOptions);
google.maps.event.addDomListener(map, 'idle', function() {
calculateCenter();
});
google.maps.event.addDomListener(window, 'resize', function() {
map.setCenter(center);
});
}
function calculateCenter() {
center = map.getCenter();
}
function loadGoogleMap(){
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&' + 'callback=initialize';
document.body.appendChild(script);
}
// DOM is ready
$(function() {
// https://css-tricks.com/snippets/jquery/smooth-scrolling/
$('a[href*=#]:not([href=#])').click(function() {
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
var target = $(this.hash);
target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
if (target.length) {
$('html,body').animate({
scrollTop: target.offset().top
}, 1000);
return false;
}
}
});
// Flexslider
$('.flexslider').flexslider({
controlNav: false,
directionNav: false
});
// Google Map
loadGoogleMap();
});
</script>
</body>
</html>