forked from akv2/MaxImage
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbasic.html
More file actions
194 lines (171 loc) · 5.93 KB
/
Copy pathbasic.html
File metadata and controls
194 lines (171 loc) · 5.93 KB
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
<!DOCTYPE html>
<!--[if lt IE 7]> <html lang="en" class="no-js ie6"> <![endif]-->
<!--[if IE 7]> <html lang="en" class="no-js ie7"> <![endif]-->
<!--[if IE 8]> <html lang="en" class="no-js ie8"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class='no-js' lang='en'>
<!--<![endif]-->
<head>
<meta charset='utf-8' />
<meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible' />
<title>MaxImage 2.0 - Demo</title>
<meta content='jQuery Plugin to make jQuery Cycle Plugin work as a fullscreen background image slideshow' name='description' />
<meta content='Aaron Vanderzwan' name='author' />
<meta name="distribution" content="global" />
<meta name="language" content="en" />
<meta content='width=device-width, initial-scale=1.0' name='viewport' />
<link rel="shortcut icon" href="http://www.stylexseating.com/favicon.ico" />
<link rel="apple-touch-icon" href="http://www.stylexseating.com/favicon.png" />
<link rel="stylesheet" href="lib/css/jquery.maximage.css?v=1.2" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="lib/css/screen.css?v=1.2" type="text/css" media="screen" charset="utf-8" />
<!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<style type="text/css" media="screen">
#maximage {
position:fixed !important;
}
/*I want to style my pager*/
#cycle-nav {
position:absolute;
right:10px;
top:10px;
}
#cycle-nav ul {
list-style-type:none;
}
#cycle-nav ul li {
border:1px solid #ffffcc;
float:left;
margin:4px;
}
#cycle-nav ul li a {
background:#ffffcc;
float:left;
height:10px;
margin:2px;
width:10px;
}
#cycle-nav ul li.activeSlide {
border:1px solid #ff6600;
}
/*Set my gradient above all images*/
#gradient {
left:0;
height:100%;
position:absolute;
top:0;
width:100%;
z-index:999;
}
/*Set my logo in bottom left*/
#logo {
bottom:30px;
height:auto;
left:30px;
position:absolute;
width:34%;
z-index:1000;
}
#logo img {
width:100%;
}
#arrow_left, #arrow_right {
bottom:30px;
height:67px;
position:absolute;
right:30px;
width:36px;
z-index:1000;
}
#arrow_left {
right:86px;
}
#arrow_left:hover, #arrow_right:hover {
bottom:29px;
}
#arrow_left:active, #arrow_right:active {
bottom:28px;
}
a {color:#666;text-decoration:none;}
a:hover {text-decoration:underline;}
.in-slide-content {
color:#333;
float:right;
font-family:'Helvetica Neue', helvetica;
font-size:60px;
font-weight:bold;
right:0;
margin:40px;
padding:20px;
position:absolute;
top:0;
width:700px;
z-index:9999; /* Show above .gradient */
text-shadow: 0 1px 0 #fff;
}
.light-text {color:#f0f0f0;text-shadow: 0 1px 0 #666;}
.smaller-text {font-size:40px;}
.youtube-video, video {
left:0;
position:absolute;
top:0;
}
</style>
<!--[if IE 6]>
<style type="text/css" media="screen">
/*I don't feel like messing with pngs for this browser... sorry*/
#gradient {display:none;}
</style>
<![endif]-->
</head>
<body>
<a href="http://www.aaronvanderzwan.com/blog/2011/11/maximage-2-0-beta1-release/" id="logo"><img src="lib/images/demo/logo.png" alt="MaxImage: Uses jQuery Cycle Plugin to create background slideshows" /></a>
<a href="" id="arrow_left"><img src="lib/images/demo/arrow_left.png" alt="Slide Left" /></a>
<a href="" id="arrow_right"><img src="lib/images/demo/arrow_right.png" alt="Slide Right" /></a>
<div id="maximage">
<img src="lib/images/demo/wall_portrait.jpg" alt="" class="max" />
<div class="video">
<img src="lib/images/demo/kissing.jpg" alt="" />
<video id="html5video" autoplay="autoplay" loop="loop" autobuffer="autobuffer" muted="muted" width="320" height="240">
<source src="lib/video/kissing.m4v" type="video/mp4" />
<source src="lib/video/kissing.webm" type="video/webm" />
<source src="lib/video/kissing.ogv" type="video/ogg" />
Your browser does not support the video tag.
</video>
</div>
<img src="lib/images/demo/coalesse.jpg" alt="Coalesse" data-href="http://www.google.com/" />
<img src="lib/images/demo/laughing.jpg" alt="" />
<div class="video">
<img src="lib/images/demo/pattern.jpg" alt="" />
<iframe width="100%" height="100%" src="http://www.youtube.com/embed/KVwSP51KVO8?wmode=opaque" frameborder="0" class="youtube-video" allowfullscreen></iframe>
</div>
<img src="lib/images/demo/roof_shooting.jpg" alt="" />
<img src="lib/images/demo/man.jpg" alt="" />
<img src="lib/images/demo/coffee_shop.jpg" alt="" />
<img src="lib/images/demo/gas_station.jpg" alt="" />
</div>
<script src='//ajax.googleapis.com/ajax/libs/jquery/1/jquery.js'></script>
<script src="lib/js/jquery.cycle.all.js" type="text/javascript" charset="utf-8"></script>
<script src="lib/js/jquery.maximage.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
$(function(){
// Trigger maximage
jQuery('#maximage').maximage();
// Helper function to Fill and Center the HTML5 Video
jQuery('#html5video').maximage('maxcontain');
// To show it is dynamic html text
jQuery('.in-slide-content').delay(1200).fadeIn();
});
</script>
<!-- DON'T USE THIS: Insert Google Analytics code here -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-733524-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>
</body>
</html>