forked from CSS-Tricks/MovingBoxes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·146 lines (118 loc) · 4.1 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Moving Boxes</title>
<!-- Required CSS -->
<link href="css/movingboxes.css" media="screen" rel="stylesheet">
<!--[if lt IE 9]>
<link href="css/movingboxes-ie.css" rel="stylesheet" media="screen" />
<![endif]-->
<!-- Required script -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
<script src="js/jquery.movingboxes.js"></script>
<!-- Demo only -->
<link href="demo/demo.css" media="screen" rel="stylesheet">
<script src="demo/demo.js"></script>
<style>
/* Overall & panel width defined using css in MovingBoxes version 2.2.2+ */
ul#slider-one { width: 300px; }
ul#slider-one > li { width: 150px; }
div#slider-two { width: 500px; }
div#slider-two > div { width: 360px; }
</style>
</head>
<body>
<div id="wrapper">
<div id="title">
<a href="http://github.com/chriscoyier/MovingBoxes"><img src="demo/movingboxes.png" alt="moving boxes"></a>
</div>
<div id="nav">
<a class="current" href="index.html">Main Demo</a>
<a href="basic.html">Basic Demo</a>
<a class="play" href="http://jsfiddle.net/Mottie/jMXx3/">Playground</a>
<a class="git" href="https://github.com/chriscoyier/MovingBoxes/wiki">Documentation</a>
<a class="git" href="https://github.com/chriscoyier/MovingBoxes/downloads">Download</a>
<a class="issue" href="https://github.com/chriscoyier/MovingBoxes/issues">Issues</a>
</div>
<br>
<div class="dlinks">
Go to Panel: <span></span>
</div>
<br>
<div class="buttons">
<button class="add"> Add Panel </button>
<button class="remove"> Remove Panel </button>
</div>
<br>
<!-- 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">
<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 -->
<br><br>
<!-- 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>
<br><br>
</div> <!-- end wrapper -->
</body>
</html>