-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
207 lines (190 loc) · 7.96 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="stylesheet" href="css/bootstrap-responsive.css" type="text/css" media="screen" title="no title" charset="utf-8">
<link rel="stylesheet" href="css/bootstrap.css" type="text/css" media="screen" title="no title" charset="utf-8">
<link rel="stylesheet" href="css/tlg.css" type="text/css" media="screen" title="no title" charset="utf-8">
<!--
<link href='http://fonts.googleapis.com/css?family=News+Cycle' rel='stylesheet' type='text/css'>
-->
<script src="js/jquery-1.7.2.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/jquery-ui-1.8.18.custom.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
<script src="js/bootstrap-carousel.js" type="text/javascript" charset="utf-8"></script>
<title>Home: The Light Garden, Nature Illuminated</title>
</head>
<body>
<header>
<div id="logo">
<div class="container">
<div class="row">
<div class="span4">
<div id="fix_logo">
<img src="img/tlg_simple.png" alt="Nature Illuminated" />
</div>
</div>
<div class="span10">
<ul id="menu_bar" class="nav nav-pills pull-right">
<li class="active"><a href="#">Home</a></li>
<li><a href="#">Products</a></li>
<li><a href="#">Shows</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
</div>
</div>
</div>
</div>
</header>
<div id="image_holder">
<div class="container" style="width: 1000px">
<div class="row">
<div id="back_image"></div>
<div id="above_div"> <!-- Above div -->
<div class="span6">
<div class="hero-unit">
<h1>Welcome to</h1>
<h2>The Light Garden</h2>
<p>
We offer the country's largest and most diverse collection
of illuminated floral design products and accesories. Our
floral innovations are revolutionazing the concept and style
of interior lighting.
</p>
<a href="#" class="btn" onclick="launch_video()">View Video</a>
</div>
</div>
</div> <!-- Above div -->
</div>
</div>
</div>
<footer>
<div class="container" style="width:990px">
<div class="row">
<div class="span4 car-container">
<h2 class="tlg-header">Featured Products</h2>
<small><a><i class="icon-th-list icon-white"></i> See all products </a></small>
<div class="carousel-frame">
<div id="tlg-carousel" class="carousel">
<!-- Carousel items -->
<div class="carousel-inner">
<div class="active item">
<img src="img/im1.jpg">
<div class="carousel-caption">
<h4>Light Tree</h4>
<p>Perfect for weddings</p>
</div>
</div>
<div class="item"><img src="img/im2.jpg">
<div class="carousel-caption">
<h4>Flower Lamp</h4>
<p>Elegant interior decor</p>
</div>
</div>
<div class="item"><img src="img/im3.jpg">
<div class="carousel-caption">
<h4>Cuper Candle</h4>
<p>Soft ambient light</p>
</div>
</div>
</div>
<!-- Carousel nav -->
<a class="carousel-control left" href="#tlg-carousel" data-slide="prev">‹</a>
<a class="carousel-control right" href="#tlg-carousel" data-slide="next">›</a>
</div>
</div>
</div>
<div class="span4 car-container">
<h2 class="tlg-header">Monthly Specials</h2>
<small><a><i class="icon-gift icon-white"></i> More offers </a></small>
<p class="tlg-history" style="margin-right: 8px">
Lorem ipsum dolor sit amet, consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua
</p>
<p></p>
<h2 class="tlg-header">Customer Reviews</h2>
<small><a><i class="icon-user icon-white"></i> James Harrison</a></small>
<blockquote>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.</p>
<small>WallMart</small>
</blockquote>
</div>
<div class="span4" style="margin-top: 20px; min-height: 230px">
<h2 class="tlg-header">About Us</h2>
<small><a><i class="icon-leaf icon-white"></i> Our history </a></small>
<p class="tlg-history">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
</p>
<p class="tlg-history">
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris
</p>
<a href="#" class="btn btn-mini">Read More</a>
</div>
</div>
<div class="row">
<div class="span12">
<div class="row green">
<div class="span2" style="border-right: 2px groove #8fa16d; height: 86px">
<h2 class="tlg-header">My Account</h2>
<a href="#" class="btn btn-mini">Forgotten password?</a>
</div>
<div class="span6" style="border-right: 2px groove #8fa16d; height: 86px">
<form action="/products" id="login-form" class="form-inline">
<div style="margin-right: 10px; display: inline-block">
<label for="username">Email:</label><br/>
<input type="text" name="username" value="" id="username" placeholder="" class="input-medium">
</div>
<div style="display: inline-block">
<label for="username">Password:</label><br/>
<input type="password" name="password" value="" id="password" placeholder="" class="input-medium">
</div>
<div style="margin-left: 10px; display: inline-block">
<button class="btn"> <i class="icon-lock"></i> Login</button>
</div>
</form>
</div>
<div class="span3" style="margin-left: 30px">
<h2 class="tlg-header">Not a member?</h2>
<a href="#" class="btn"> <i class="icon-plus-sign"></i> Register Now</a>
</div>
</div>
</div>
</div>
</div>
<div id="channel_youtube" style="display: none; z-index: 1; position: relative; top: 35px">
<iframe width="980" height="545" src="" frameborder="0" allowfullscreen></iframe>
</div>
</footer>
<script>
var images = ["img/header_1.jpg", "img/header_2.jpg", "img/header_3.jpg", "img/header_4.jpg", "img/header_5.jpg"];
var image_counter = 0;
var back_interval;
function Slider(parameter) {
image_counter = ++image_counter % images.length
$("#back_image").animate({
opacity: 0
}, 2000, function() {
$("#back_image").css("background-image", "url('"+images[image_counter]+"')");
$("#back_image").animate({
opacity: 1
}, 1500);
});
}
function launch_video() {
window.clearInterval(back_interval);
$("#channel_youtube iframe").attr("src", "http://www.youtube.com/embed/vLf6AXjPJc8?rel=0;autoplay=1");
$("#above_div").fadeOut();
$("#back_image").css("background-color", "black").css("background-image", "none");
$("#back_image").append($("#channel_youtube").show());
return false;
}
$(document).ready(function() {
back_interval = setInterval(Slider, 6000);
$('.carousel').carousel('pause');
});
</script>
</body>
</html>