forked from jquerytools/www
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvertical.htm
More file actions
73 lines (54 loc) · 1.98 KB
/
vertical.htm
File metadata and controls
73 lines (54 loc) · 1.98 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
<%-- :mode=jsp: --%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ include file="../standalone.jsf" %>
<!-- styling -->
<link rel="stylesheet" type="text/css" href="${cdn}${jqt}/css/scrollable-vertical.css?v=1" />
</head>
<body>
<c:set var="images" value="3650/3323058611_d35c894fab, 3635/3323893254_3183671257, 3624/3323893148_8318838fbd, 28/66523124_b468cf4978, 164/399223606_b875ddf797, 163/399223609_db47d35b7c, 135/321464104_c010dbf34c, 40/117346184_9760f3aabc, 153/399232237_6928a527c1, 50/117346182_1fded507fa, 3629/3323896446_3b87a8bf75, 3023/3323897466_e61624f6de" />
<!-- HTML structures -->
<div id="actions">
<a class="prev">« Back</a>
<a class="next">More pictures »</a>
</div>
<!-- root element for scrollable -->
<div class="scrollable vertical">
<!-- root element for the items -->
<div class="items">
<div>
<c:forTokens items="${images}" delims=", " var="img" varStatus="i">
<c:if test="${i.index > 0 && i.index % 3 == 0}">
</div>
<!-- next page -->
<div></c:if>
<div class="item">
<img src="http://farm1.static.flickr.com/${img}_m.jpg" />
<h3>${i.index + 1}. Barcelona Pavilion</h3>
<strong>
The German Pavilion in Barcelona, designed by Ludwig Mies van der Rohe
and built for the International Exposition in 1929.
</strong>
<p>
The Pavilion was not only a pioneer for construction forms with a fresh, disciplined
understanding of space, but also for modeling new opportunities for an exciting
association of free art and architecture.
</p>
<p>
<a href="#">Read more</a> <a href="#">Show in map</a>
</p>
</div>
</c:forTokens>
</div>
</div>
</div>
<!-- javascript coding -->
<c:set var="js">
<script>
// execute your scripts when DOM is ready. this is a good habit
$(function() {
// initialize scrollable with mousewheel support
$(".scrollable").scrollable({ vertical: true, mousewheel: true });
});
</script>
</c:set>
${js}