-
Notifications
You must be signed in to change notification settings - Fork 146
/
index.html
executable file
·140 lines (109 loc) · 3.99 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Moving Boxes</title>
<!-- Required CSS -->
<link href="css/movingboxes.css" rel="stylesheet">
<!--[if lt IE 9]>
<link href="css/movingboxes-ie.css" rel="stylesheet" media="screen">
<![endif]-->
<!-- Required script -->
<script src="http://code.jquery.com/jquery-1.8.0.min.js"></script>
<script src="js/jquery.movingboxes.js"></script>
<!-- Demo only -->
<link href="demo/demo.css" rel="stylesheet">
<script src="demo/demo.js"></script>
<style>
/* Overall & panel width defined using css in MovingBoxes version 2.2.2+ */
#slider-one { width: 300px; }
#slider-one > li { width: 150px; }
#slider-two { width: 500px; }
#slider-two > div { width: 360px; }
</style>
</head>
<body>
<div class="wrapper">
<h1 class="demo-title">Moving Boxes</h1>
<nav class="main-nav">
<a class="current" href="index.html">Main Demo</a>
<a href="basic.html">Basic Demo</a>
<a class="play" href="http://jsfiddle.net/DzvcZ/">Playground</a>
<a class="git" href="https://github.com/CSS-Tricks/MovingBoxes/wiki">Documentation</a>
<a class="git" href="https://github.com/CSS-Tricks/MovingBoxes/downloads">Download</a>
<a class="issue" href="https://github.com/CSS-Tricks/MovingBoxes/issues">Issues</a>
</nav>
<div class="dlinks">
Go to Panel: <span></span>
<button class="add"> Add Panel </button>
<button class="remove"> Remove Panel </button>
</div>
<!-- Slider #1 -->
<ul id="slider-one">
<li>
<img src="demo/1.jpg" alt="picture">
<h2>News Heading</h2>
<p>Add a short exerpt here... <a href="http://flickr.com/photos/justbcuz/112479862/">more</a></p>
</li>
<li>
<img src="demo/2.jpg" alt="picture">
<h2>News Heading</h2>
<p>Add a short exerpt here... <a href="http://flickr.com/photos/joshuacraig/2698975899/">more</a> and a whole lot more text goes here, so we can see the height adjust.</p>
</li>
<li>
<img src="demo/3.jpg" alt="picture">
<h2>News Heading</h2>
<p>Add a short exerpt here... <a href="http://flickr.com/photos/ruudvanleeuwen/468309897/">more</a></p>
</li>
<li>
<img src="demo/4.jpg" alt="picture">
<h2>News Heading</h2>
<p>Add a short exerpt here... <a href="http://flickr.com/photos/emikohime/294092478/">more</a></p>
</li>
<li>
<img src="demo/5.jpg" alt="picture">
<h2>News Heading</h2>
<p>Add a short exerpt here... <a href="http://www.flickr.com/photos/fensterbme/499006584/">more</a></p>
</li>
<li>
<img src="demo/6.jpg" alt="picture" id="astronaut">
<h2>News Heading</h2>
<p>Add a short exerpt here... <a href="#">more</a></p>
</li>
<li>
<img src="demo/7.jpg" alt="picture">
<h2>News Heading</h2>
<p>Add a short exerpt here... <a href="#">more</a></p>
</li>
</ul><!-- end Slider #1 -->
<!-- Slider #2 (images of slider #1 reversed) -->
<div id="slider-two">
<div>
<img src="demo/5.jpg" alt="picture">
<h2>News Heading - <span>Lisa</span></h2>
<p>Add a short exerpt here... <a href="http://flickr.com/photos/fensterbme/499006584/">more</a></p>
</div>
<div>
<img src="demo/4.jpg" alt="picture">
<h2>News Heading - <span>Monica</span></h2>
<p>Add a short exerpt here... <a href="http://flickr.com/photos/emikohime/294092478/">more</a></p>
</div>
<div>
<img src="demo/3.jpg" alt="picture">
<h2>News Heading - <span>Lin</span></h2>
<p>Add a short exerpt here... <a href="http://flickr.com/photos/ruudvanleeuwen/468309897/">more</a></p>
</div>
<div>
<img src="demo/2.jpg" alt="picture">
<h2>News Heading - <span>Shiela</span></h2>
<p>Add a short exerpt here... <a href="http://flickr.com/photos/joshuacraig/2698975899/">more</a></p>
</div>
<div>
<img src="demo/1.jpg" alt="picture">
<h2>News Heading - <span>Joanne</span></h2>
<p>Add a short exerpt here... <a href="http://flickr.com/photos/justbcuz/112479862/">more</a></p>
</div>
</div>
</div><!-- end wrapper -->
</body>
</html>