-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdemo3.html
66 lines (63 loc) · 3 KB
/
demo3.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
<!DOCTYPE html>
<html>
<head>
<title>Demo 3</title>
<link href="themes/3/js-image-slider.css" rel="stylesheet" type="text/css" />
<script src="themes/3/js-image-slider.js" type="text/javascript"></script>
<link href="generic.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.cap {width:190px;height:240px;display:inline-block;background:white url(images/caption1.gif) no-repeat 0 0;border-radius:4px;}
.cap2 {background-image:url(images/caption2.gif)}
.cap3 {background-image:url(images/caption3.gif)}
.cap4 {background-image:url(images/caption4.gif)}
</style>
</head>
<body>
<div class="div1"><h2>Demo 3</h2> - Apple-like Image Slider
<p>Demos: <a href="demo1.html">1</a><a href="demo2.html">2</a><a href="demo3.html" class="current">3</a><a href="demo4.html">4</a>
<a href="demo5.html">5</a><a href="demo6.html">6</a><a href="demo7.html">7</a><a href="demo8.html">8</a></p>
</div>
<div id="sliderFrame">
<div id="slider">
<a href="http://www.menucool.com/"><img src="images/slider-1.jpg" alt="#htmlcaption1" /></a>
<a class="lazyImage" href="images/slider-2.jpg" title="#htmlcaption2">slide 2</a>
<a href="http://www.menucool.com/javascript-image-slider">
<b data-src="images/slider-3.jpg" data-alt="#htmlcaption3">Image Slider</b>
</a>
<a class="lazyImage" href="images/slider-4.jpg" title="#htmlcaption4">slide 4</a>
</div>
<!--thumbnails-->
<div id="thumbs">
<div class="thumb"><img src="images/thumb-1.gif" /></div>
<div class="thumb"><img src="images/thumb-2.gif" /></div>
<div class="thumb"><img src="images/thumb-3.gif" /></div>
<div class="thumb"><img src="images/thumb-4.gif" /></div>
</div>
<!--captions-->
<div style="display: none;">
<div id="htmlcaption1">
<div class="cap"></div>
</div>
<div id="htmlcaption2">
<div class="cap cap2"></div>
</div>
<div id="htmlcaption3">
<div class="cap cap3"></div>
</div>
<div id="htmlcaption4">
<div class="cap cap4"></div>
</div>
</div>
</div>
<div class="div2">
<ul>
<li><img src="themes/3/active-bg.png" alt="" style="float:right;" />The hovered thumbnail style is achieved simply through a background image:<br /><br />
<span class="green">#thumbs .thumb-on {background-image: url(active-bg.png);}</span><br />
</li>
<li>Visit online <a href="http://www.menucool.com/slider/javascript-image-slider-demo3">Demo 3</a> and
<a href="http://www.menucool.com/javascript-image-slider" target="_blank">JavaScript Image Slider</a> for detailed instructions.</li>
<li>This demo requires a license for its advanced features.</li>
</ul>
</div>
</body>
</html>