j1m_gallery 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.md +21 -0
  3. data/README.md +41 -0
  4. data/_data/modules/default/j1_gallery-0.0.1/j1_justified_gallery.yml +285 -0
  5. data/_data/resources/default/j1_gallery-0.0.1/resource.yml +24 -0
  6. data/assets/images/gallery/down_the_water/1-1600.jpg +0 -0
  7. data/assets/images/gallery/down_the_water/2-1600.jpg +0 -0
  8. data/assets/images/gallery/down_the_water/3-1600.jpg +0 -0
  9. data/assets/images/gallery/justified_gallery/13824322785_104dc0968c_b.jpg +0 -0
  10. data/assets/images/gallery/justified_gallery/13824322785_104dc0968c_m.jpg +0 -0
  11. data/assets/images/gallery/justified_gallery/13824674674_ca1e482394_b.jpg +0 -0
  12. data/assets/images/gallery/justified_gallery/13824674674_ca1e482394_m.jpg +0 -0
  13. data/assets/images/gallery/justified_gallery/16961685188_f130144d60_b.jpg +0 -0
  14. data/assets/images/gallery/justified_gallery/16961685188_f130144d60_m.jpg +0 -0
  15. data/assets/images/gallery/justified_gallery/23753792354_bd75d8dabc_b.jpg +0 -0
  16. data/assets/images/gallery/justified_gallery/23753792354_bd75d8dabc_m.jpg +0 -0
  17. data/assets/images/gallery/justified_gallery/24014174029_2cfa940264_b.jpg +0 -0
  18. data/assets/images/gallery/justified_gallery/24014174029_2cfa940264_m.jpg +0 -0
  19. data/assets/images/gallery/justified_gallery/24096687789_c37d45712f_b.jpg +0 -0
  20. data/assets/images/gallery/justified_gallery/24096687789_c37d45712f_m.jpg +0 -0
  21. data/assets/images/gallery/justified_gallery/6791628438_affaa19e10_b.jpg +0 -0
  22. data/assets/images/gallery/justified_gallery/6791628438_affaa19e10_m.jpg +0 -0
  23. data/assets/images/gallery/justified_gallery/6798453217_72dea2d06e_b.jpg +0 -0
  24. data/assets/images/gallery/justified_gallery/6798453217_72dea2d06e_m.jpg +0 -0
  25. data/assets/images/gallery/justified_gallery/6806687375_07d2b7a1f9_b.jpg +0 -0
  26. data/assets/images/gallery/justified_gallery/6806687375_07d2b7a1f9_m.jpg +0 -0
  27. data/assets/images/gallery/justified_gallery/6812090617_5fd5bbdda0_b.jpg +0 -0
  28. data/assets/images/gallery/justified_gallery/6812090617_5fd5bbdda0_m.jpg +0 -0
  29. data/assets/images/gallery/justified_gallery/6840627709_92ed52fb41_b.jpg +0 -0
  30. data/assets/images/gallery/justified_gallery/6840627709_92ed52fb41_m.jpg +0 -0
  31. data/assets/images/gallery/justified_gallery/6841267340_855273fd7e_b.jpg +0 -0
  32. data/assets/images/gallery/justified_gallery/6841267340_855273fd7e_m.jpg +0 -0
  33. data/assets/images/gallery/justified_gallery/6876412479_6268c6e2aa_b.jpg +0 -0
  34. data/assets/images/gallery/justified_gallery/6876412479_6268c6e2aa_m.jpg +0 -0
  35. data/assets/images/gallery/justified_gallery/6880502467_d4b3c4b2a8_b.jpg +0 -0
  36. data/assets/images/gallery/justified_gallery/6880502467_d4b3c4b2a8_m.jpg +0 -0
  37. data/assets/images/gallery/justified_gallery/6916180091_9c9559e463_b.jpg +0 -0
  38. data/assets/images/gallery/justified_gallery/6916180091_9c9559e463_m.jpg +0 -0
  39. data/assets/images/gallery/justified_gallery/7002395006_29fdc85f7a_b.jpg +0 -0
  40. data/assets/images/gallery/justified_gallery/7002395006_29fdc85f7a_m.jpg +0 -0
  41. data/assets/images/gallery/justified_gallery/7062575651_b23918b11a_b.jpg +0 -0
  42. data/assets/images/gallery/justified_gallery/7062575651_b23918b11a_m.jpg +0 -0
  43. data/assets/images/gallery/justified_gallery/7822678460_ee98ff1f69_b.jpg +0 -0
  44. data/assets/images/gallery/justified_gallery/7822678460_ee98ff1f69_m.jpg +0 -0
  45. data/assets/images/gallery/justified_gallery/7948632554_01f6ae6b6f_b.jpg +0 -0
  46. data/assets/images/gallery/justified_gallery/7948632554_01f6ae6b6f_m.jpg +0 -0
  47. data/assets/images/gallery/justified_gallery/8157236803_78aa1698b6_b.jpg +0 -0
  48. data/assets/images/gallery/justified_gallery/8157236803_78aa1698b6_m.jpg +0 -0
  49. data/assets/images/gallery/justified_gallery/8400794773_932654a20e_b.jpg +0 -0
  50. data/assets/images/gallery/justified_gallery/8400794773_932654a20e_m.jpg +0 -0
  51. data/assets/images/gallery/justified_gallery/8811828736_88392f614a_b.jpg +0 -0
  52. data/assets/images/gallery/justified_gallery/8811828736_88392f614a_m.jpg +0 -0
  53. data/assets/images/gallery/justified_gallery/8842312290_f310d491f4_b.jpg +0 -0
  54. data/assets/images/gallery/justified_gallery/8842312290_f310d491f4_m.jpg +0 -0
  55. data/assets/images/gallery/old_times/image_01.jpg +0 -0
  56. data/assets/images/gallery/old_times/image_02.jpg +0 -0
  57. data/assets/images/gallery/old_times/image_03.jpg +0 -0
  58. data/assets/images/gallery/old_times/image_04.jpg +0 -0
  59. data/assets/themes/j1/j1/js/adapters/owl_carousel.js +206 -0
  60. data/assets/themes/j1/owl_carousel/LICENSE +20 -0
  61. data/assets/themes/j1/owl_carousel/README.md +74 -0
  62. data/assets/themes/j1/owl_carousel/bower.json +14 -0
  63. data/assets/themes/j1/owl_carousel/changelog.html +278 -0
  64. data/assets/themes/j1/owl_carousel/css/owl_carousel.css +86 -0
  65. data/assets/themes/j1/owl_carousel/css/owl_carousel.min.css +21 -0
  66. data/assets/themes/j1/owl_carousel/css/owl_transitions.css +178 -0
  67. data/assets/themes/j1/owl_carousel/css/owl_transitions.min.css +21 -0
  68. data/assets/themes/j1/owl_carousel/css/themes/j1_template.css +168 -0
  69. data/assets/themes/j1/owl_carousel/css/themes/sample/j1_sample.less +184 -0
  70. data/assets/themes/j1/owl_carousel/css/themes/sample/j1_samples.css +523 -0
  71. data/assets/themes/j1/owl_carousel/demo/assets/fullimage1.jpg +0 -0
  72. data/assets/themes/j1/owl_carousel/demo/assets/fullimage2.jpg +0 -0
  73. data/assets/themes/j1/owl_carousel/demo/assets/fullimage3.jpg +0 -0
  74. data/assets/themes/j1/owl_carousel/demo/assets/fullimage4.jpg +0 -0
  75. data/assets/themes/j1/owl_carousel/demo/assets/fullimage5.jpg +0 -0
  76. data/assets/themes/j1/owl_carousel/demo/assets/fullimage6.jpg +0 -0
  77. data/assets/themes/j1/owl_carousel/demo/assets/fullimage7.jpg +0 -0
  78. data/assets/themes/j1/owl_carousel/demo/assets/owl1.jpg +0 -0
  79. data/assets/themes/j1/owl_carousel/demo/assets/owl2.jpg +0 -0
  80. data/assets/themes/j1/owl_carousel/demo/assets/owl3.jpg +0 -0
  81. data/assets/themes/j1/owl_carousel/demo/assets/owl4.jpg +0 -0
  82. data/assets/themes/j1/owl_carousel/demo/assets/owl5.jpg +0 -0
  83. data/assets/themes/j1/owl_carousel/demo/assets/owl6.jpg +0 -0
  84. data/assets/themes/j1/owl_carousel/demo/assets/owl7.jpg +0 -0
  85. data/assets/themes/j1/owl_carousel/demo/assets/owl8.jpg +0 -0
  86. data/assets/themes/j1/owl_carousel/demo/autoHeight.html +335 -0
  87. data/assets/themes/j1/owl_carousel/demo/click.html +365 -0
  88. data/assets/themes/j1/owl_carousel/demo/custom.html +417 -0
  89. data/assets/themes/j1/owl_carousel/demo/customJson.html +358 -0
  90. data/assets/themes/j1/owl_carousel/demo/full.html +321 -0
  91. data/assets/themes/j1/owl_carousel/demo/images.html +325 -0
  92. data/assets/themes/j1/owl_carousel/demo/itemsCustom.html +372 -0
  93. data/assets/themes/j1/owl_carousel/demo/json.html +336 -0
  94. data/assets/themes/j1/owl_carousel/demo/json/customData.json +28 -0
  95. data/assets/themes/j1/owl_carousel/demo/json/data.json +18 -0
  96. data/assets/themes/j1/owl_carousel/demo/lazyLoad.html +338 -0
  97. data/assets/themes/j1/owl_carousel/demo/manipulations.html +515 -0
  98. data/assets/themes/j1/owl_carousel/demo/navOnTop.html +395 -0
  99. data/assets/themes/j1/owl_carousel/demo/navOnTop2.html +325 -0
  100. data/assets/themes/j1/owl_carousel/demo/one.html +318 -0
  101. data/assets/themes/j1/owl_carousel/demo/owlStatus.html +461 -0
  102. data/assets/themes/j1/owl_carousel/demo/progressBar.html +471 -0
  103. data/assets/themes/j1/owl_carousel/demo/randomOrder.html +416 -0
  104. data/assets/themes/j1/owl_carousel/demo/scaleup.html +328 -0
  105. data/assets/themes/j1/owl_carousel/demo/sync.html +569 -0
  106. data/assets/themes/j1/owl_carousel/demo/transitions.html +330 -0
  107. data/assets/themes/j1/owl_carousel/images/ajax-loader.gif +0 -0
  108. data/assets/themes/j1/owl_carousel/images/apple-touch-icon-114-precomposed.png +0 -0
  109. data/assets/themes/j1/owl_carousel/images/apple-touch-icon-144-precomposed.png +0 -0
  110. data/assets/themes/j1/owl_carousel/images/apple-touch-icon-57-precomposed.png +0 -0
  111. data/assets/themes/j1/owl_carousel/images/apple-touch-icon-72-precomposed.png +0 -0
  112. data/assets/themes/j1/owl_carousel/images/demo-slides/controls.png +0 -0
  113. data/assets/themes/j1/owl_carousel/images/demo-slides/css3.png +0 -0
  114. data/assets/themes/j1/owl_carousel/images/demo-slides/feather.png +0 -0
  115. data/assets/themes/j1/owl_carousel/images/demo-slides/grab.png +0 -0
  116. data/assets/themes/j1/owl_carousel/images/demo-slides/modern.png +0 -0
  117. data/assets/themes/j1/owl_carousel/images/demo-slides/multi.png +0 -0
  118. data/assets/themes/j1/owl_carousel/images/demo-slides/responsive.png +0 -0
  119. data/assets/themes/j1/owl_carousel/images/demo-slides/tons.png +0 -0
  120. data/assets/themes/j1/owl_carousel/images/demo-slides/touch.png +0 -0
  121. data/assets/themes/j1/owl_carousel/images/demo-slides/zombie.png +0 -0
  122. data/assets/themes/j1/owl_carousel/images/favicon.png +0 -0
  123. data/assets/themes/j1/owl_carousel/images/glyphicons-halflings-green.png +0 -0
  124. data/assets/themes/j1/owl_carousel/images/glyphicons-halflings-white.png +0 -0
  125. data/assets/themes/j1/owl_carousel/images/glyphicons-halflings.png +0 -0
  126. data/assets/themes/j1/owl_carousel/images/grabbing.png +0 -0
  127. data/assets/themes/j1/owl_carousel/images/owl-logo.png +0 -0
  128. data/assets/themes/j1/owl_carousel/images/owl.video.play.png +0 -0
  129. data/assets/themes/j1/owl_carousel/index.html +912 -0
  130. data/assets/themes/j1/owl_carousel/js/owl_carousel.js +1517 -0
  131. data/assets/themes/j1/owl_carousel/js/owl_carousel.min.js +57 -0
  132. data/assets/videos/gallery/example/video1-poster.jpg +0 -0
  133. data/assets/videos/gallery/example/video1-thumb.jpg +0 -0
  134. data/assets/videos/gallery/example/video1.mp4 +0 -0
  135. data/assets/videos/gallery/example/video2-poster.jpg +0 -0
  136. data/assets/videos/gallery/example/video2-thumb.jpg +0 -0
  137. data/assets/videos/gallery/example/video2.mp4 +0 -0
  138. data/assets/videos/gallery/example/video3-poster.jpg +0 -0
  139. data/assets/videos/gallery/example/video3-thumb.jpg +0 -0
  140. data/assets/videos/gallery/example/video3.mp4 +0 -0
  141. data/assets/videos/gallery/example/video4-poster.jpg +0 -0
  142. data/assets/videos/gallery/example/video4-thumb.jpg +0 -0
  143. data/assets/videos/gallery/example/video4.mp4 +0 -0
  144. data/exe/console +14 -0
  145. data/exe/setup +8 -0
  146. data/lib/j1m_gallery.rb +5 -0
  147. data/lib/j1m_gallery/version.rb +3 -0
  148. metadata +236 -0
@@ -0,0 +1,416 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>Owl Carousel - Ramdom order and custom navi.</title>
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <meta name="description" content="jQuery Responsive Carousel - Owl Carusel">
8
+ <meta name="author" content="Bartosz Wojciechowski">
9
+
10
+ <link href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,400,300,600,700' rel='stylesheet' type='text/css'>
11
+ <link href="../assets/css/bootstrapTheme.css" rel="stylesheet">
12
+ <link href="../assets/css/custom.css" rel="stylesheet">
13
+
14
+ <!-- Owl Carousel Assets -->
15
+ <link href="../owl-carousel/owl.carousel.css" rel="stylesheet">
16
+ <link href="../owl-carousel/owl.theme.css" rel="stylesheet">
17
+
18
+ <link href="../assets/js/google-code-prettify/prettify.css" rel="stylesheet">
19
+
20
+ <!-- Le fav and touch icons -->
21
+ <link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
22
+ <link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
23
+ <link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
24
+ <link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
25
+ <link rel="shortcut icon" href="../assets/ico/favicon.png">
26
+ </head>
27
+ <body>
28
+
29
+ <div id="top-nav" class="navbar navbar-fixed-top">
30
+ <div class="navbar-inner">
31
+ <div class="container">
32
+ <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
33
+ <span class="icon-bar"></span>
34
+ <span class="icon-bar"></span>
35
+ <span class="icon-bar"></span>
36
+ </button>
37
+ <div class="nav-collapse collapse">
38
+ <ul class="nav pull-right">
39
+ <li><a href="../index.html"><i class="icon-chevron-left"></i> Back to Frontpage</a></li>
40
+ <li><a href="../owl.carousel.zip" class="download download-on" data-spy="affix" data-offset-top="450">Download</a></li>
41
+ </ul>
42
+ <ul class="nav pull-left">
43
+ </ul>
44
+ </div>
45
+ </div>
46
+ </div>
47
+ </div>
48
+ <div id="title">
49
+ <div class="container">
50
+ <div class="row">
51
+ <div class="span12">
52
+ <h1>Random order and custom navi.</h1>
53
+ </div>
54
+ </div>
55
+ </div>
56
+ </div>
57
+
58
+ <div id="demo">
59
+ <div class="container">
60
+ <div class="row">
61
+ <div class="span12">
62
+
63
+ <div id="owl-demo" class="owl-carousel">
64
+
65
+ <div class="item orange"><h1>1</h1></div>
66
+ <div class="item darkCyan"><h1>2</h1></div>
67
+ <div class="item yellow"><h1>3</h1></div>
68
+ <div class="item forestGreen"><h1>4</h1></div>
69
+ <div class="item dodgerBlue"><h1>5</h1></div>
70
+ <div class="item skyBlue"><h1>6</h1></div>
71
+ <div class="item zombieGreen"><h1>7</h1></div>
72
+ <div class="item violet"><h1>8</h1></div>
73
+ <div class="item steelGray"><h1>9</h1></div>
74
+ <div class="item dodgerBlue"><h1>10</h1></div>
75
+ <div class="item darkCyan"><h1>11</h1></div>
76
+ <div class="item zombieGreen"><h1>12</h1></div>
77
+ <div class="item orange"><h1>13</h1></div>
78
+ <div class="item forestGreen"><h1>14</h1></div>
79
+ <div class="item skyBlue"><h1>15</h1></div>
80
+ <div class="item darkCyan"><h1>16</h1></div>
81
+
82
+ </div>
83
+ </div>
84
+ </div>
85
+ </div>
86
+
87
+ </div>
88
+
89
+ <div id="example-info">
90
+ <div class="container">
91
+ <div class="row">
92
+ <div class="span12">
93
+ <h1>Setup</h1>
94
+ <p>A little play with <code>beforeInit</code> function. Refresh browser to see effect. Also check css to get idea how move navi buttons.
95
+ </p>
96
+ <ul class="nav nav-tabs" id="myTab">
97
+ <li class="active"><a href="#javascript">Javascript</a></li>
98
+ <li><a href="#HTML">HTML</a></li>
99
+ <li><a href="#CSS">CSS</a></li>
100
+ </ul>
101
+
102
+ <div class="tab-content">
103
+
104
+ <div class="tab-pane active" id="javascript">
105
+ <pre class="pre-show prettyprint linenums">
106
+ $(document).ready(function() {
107
+
108
+ //Sort random function
109
+ function random(owlSelector){
110
+ owlSelector.children().sort(function(){
111
+ return Math.round(Math.random()) - 0.5;
112
+ }).each(function(){
113
+ $(this).appendTo(owlSelector);
114
+ });
115
+ }
116
+
117
+ $("#owl-demo").owlCarousel({
118
+ navigation: true,
119
+ navigationText: [
120
+ "&lt;i class='icon-chevron-left icon-white'>&lt;/i&gt;",
121
+ "&lt;i class='icon-chevron-right icon-white'&gt;&lt;/i&gt;"
122
+ ],
123
+ beforeInit : function(elem){
124
+ //Parameter elem pointing to $("#owl-demo")
125
+ random(elem);
126
+ }
127
+
128
+ });
129
+
130
+ });
131
+ </pre>
132
+
133
+ </div>
134
+
135
+ <div class="tab-pane" id="HTML">
136
+ <pre class="pre-show prettyprint linenums">
137
+ &lt;div id="owl-demo" class="owl-carousel owl-theme"&gt;
138
+ &lt;div class="item orange"&gt;&lt;h1&gt;1&lt;/h1&gt;&lt;/div&gt;
139
+ &lt;div class="item darkCyan"&gt;&lt;h1&gt;2&lt;/h1&gt;&lt;/div&gt;
140
+ &lt;div class="item yellow"&gt;&lt;h1&gt;3&lt;/h1&gt;&lt;/div&gt;
141
+ &lt;div class="item forestGreen"&gt;&lt;h1&gt;4&lt;/h1&gt;&lt;/div&gt;
142
+ &lt;div class="item dodgerBlue"&gt;&lt;h1&gt;5&lt;/h1&gt;&lt;/div&gt;
143
+ &lt;div class="item skyBlue"&gt;&lt;h1&gt;6&lt;/h1&gt;&lt;/div&gt;
144
+ &lt;div class="item zombieGreen"&gt;&lt;h1&gt;7&lt;/h1&gt;&lt;/div&gt;
145
+ &lt;div class="item violet"&gt;&lt;h1&gt;8&lt;/h1&gt;&lt;/div&gt;
146
+ &lt;div class="item steelGray"&gt;&lt;h1&gt;9&lt;/h1&gt;&lt;/div&gt;
147
+ &lt;div class="item dodgerBlue"&gt;&lt;h1&gt;10&lt;/h1&gt;&lt;/div&gt;
148
+ &lt;div class="item darkCyan"&gt;&lt;h1&gt;11&lt;/h1&gt;&lt;/div&gt;
149
+ &lt;div class="item zombieGreen"&gt;&lt;h1&gt;12&lt;/h1&gt;&lt;/div&gt;
150
+ &lt;div class="item orange"&gt;&lt;h1&gt;13&lt;/h1&gt;&lt;/div&gt;
151
+ &lt;div class="item forestGreen"&gt;&lt;h1&gt;14&lt;/h1&gt;&lt;/div&gt;
152
+ &lt;div class="item skyBlue"&gt;&lt;h1&gt;15&lt;/h1&gt;&lt;/div&gt;
153
+ &lt;div class="item darkCyan"&gt;&lt;h1&gt;16&lt;/h1&gt;&lt;/div&gt;
154
+ &lt;/div&gt;
155
+ </pre>
156
+ </div>
157
+
158
+ <div class="tab-pane" id="CSS">
159
+ <pre class="pre-show prettyprint linenums">
160
+ #owl-demo .item{
161
+ display: block;
162
+ padding: 30px 0px;
163
+ margin: 5px;
164
+ color: #FFF;
165
+ -webkit-border-radius: 3px;
166
+ -moz-border-radius: 3px;
167
+ border-radius: 3px;
168
+ text-align: center;
169
+ }
170
+ .owl-theme .owl-controls .owl-buttons div {
171
+ padding: 5px 9px;
172
+ }
173
+
174
+ .owl-theme .owl-buttons i{
175
+ margin-top: 2px;
176
+ }
177
+
178
+ //To move navigation buttons outside use these settings:
179
+
180
+ .owl-theme .owl-controls .owl-buttons div {
181
+ position: absolute;
182
+ }
183
+
184
+ .owl-theme .owl-controls .owl-buttons .owl-prev{
185
+ left: -45px;
186
+ top: 55px;
187
+ }
188
+
189
+ .owl-theme .owl-controls .owl-buttons .owl-next{
190
+ right: -45px;
191
+ top: 55px;
192
+ }
193
+
194
+
195
+ </pre>
196
+ </div>
197
+ </div><!--End Tab Content-->
198
+
199
+ </div>
200
+ </div>
201
+ </div>
202
+ </div>
203
+
204
+ <div id="more">
205
+ <div class="container">
206
+
207
+ <div class="row">
208
+ <div class="span12">
209
+ <h1>More Demos</h1>
210
+ </div>
211
+ </div>
212
+
213
+ <div class="row demos-row">
214
+ <div class="span3">
215
+ <a href="images.html" class="demo-box">
216
+ <div class="demo-wrapper demo-images clearfix">
217
+ <div class="demo-slide"><div class="bg"></div></div>
218
+ <div class="demo-slide"><div class="bg"></div></div>
219
+ <div class="demo-slide"><div class="bg"></div></div>
220
+ </div>
221
+ <h3>Images</h3>
222
+ </a>
223
+ </div>
224
+
225
+ <div class="span3">
226
+ <a href="custom.html" class="demo-box">
227
+ <div class="demo-wrapper demo-custom clearfix">
228
+ <div class="demo-slide"><div class="bg"></div></div>
229
+ <div class="demo-slide"><div class="bg"></div></div>
230
+ <div class="demo-slide"><div class="bg"></div></div>
231
+ <div class="demo-slide"><div class="bg"></div></div>
232
+ <div class="demo-slide"><div class="bg"></div></div>
233
+ <div class="demo-slide"><div class="bg"></div></div>
234
+ <div class="demo-slide"><div class="bg"></div></div>
235
+ <div class="demo-slide"><div class="bg"></div></div>
236
+ <div class="demo-slide"><div class="bg"></div></div>
237
+ <div class="demo-slide"><div class="bg"></div></div>
238
+ </div>
239
+ <h3>Custom</h3>
240
+ </a>
241
+ </div>
242
+
243
+ <div class="span3">
244
+ <a href="itemsCustom.html" class="demo-box">
245
+ <div class="demo-wrapper demo-full clearfix">
246
+ <div class="demo-slide"><div class="bg"></div></div>
247
+ <div class="demo-slide"><div class="bg"></div></div>
248
+ <div class="demo-slide"><div class="bg"></div></div>
249
+ <div class="demo-slide"><div class="bg"></div></div>
250
+ </div>
251
+ <h3>Custom 2</h3>
252
+ </a>
253
+ </div>
254
+
255
+ <div class="span3">
256
+ <a href="one.html" class="demo-box">
257
+ <div class="demo-wrapper demo-one clearfix">
258
+ <div class="demo-slide"><div class="bg"></div></div>
259
+ </div>
260
+ <h3>One Slide</h3>
261
+ </a>
262
+ </div>
263
+
264
+ </div>
265
+ <div class="row demos-row">
266
+ <div class="span3">
267
+ <a href="json.html" class="demo-box">
268
+ <div class="demo-wrapper demo-Json clearfix">
269
+ <div class="demo-slide"><div class="bg"></div></div>
270
+ <div class="demo-slide"><div class="bg"></div></div>
271
+ <div class="demo-slide"><div class="bg"></div></div>
272
+ <div class="demo-slide"><div class="bg"></div></div>
273
+ <div class="demo-slide"><div class="bg"></div></div>
274
+ </div>
275
+ <h3>JSON</h3>
276
+ </a>
277
+ </div>
278
+
279
+ <div class="span3">
280
+ <a href="customJson.html" class="demo-box">
281
+ <div class="demo-wrapper demo-Json-custom clearfix">
282
+ <div class="demo-slide"><div class="bg"></div></div>
283
+ <div class="demo-slide"><div class="bg"></div></div>
284
+ <div class="demo-slide"><div class="bg"></div></div>
285
+ </div>
286
+ <h3>JSON Custom</h3>
287
+ </a>
288
+ </div>
289
+
290
+ <div class="span3">
291
+ <a href="lazyLoad.html" class="demo-box">
292
+ <div class="demo-wrapper demo-lazy clearfix">
293
+ <div class="demo-slide"><div class="bg"></div></div>
294
+ <div class="demo-slide"><div class="bg"></div></div>
295
+ <div class="demo-slide"><div class="bg"></div></div>
296
+ </div>
297
+ <h3>Lazy Load</h3>
298
+ </a>
299
+ </div>
300
+
301
+ <div class="span3">
302
+ <a href="autoHeight.html" class="demo-box">
303
+ <div class="demo-wrapper demo-height clearfix">
304
+ <div class="demo-slide"><div class="bg"></div></div>
305
+ </div>
306
+ <h3>Auto Height</h3>
307
+ </a>
308
+ </div>
309
+
310
+ </div>
311
+ </div>
312
+ </div>
313
+
314
+ <div id="footer">
315
+ <div class="container">
316
+ <div class="row">
317
+ <div class="span12">
318
+ <h5>Bartosz Wojciechowski 2013 / @OwlFonk /
319
+ <a href="mailto:owl@owlgraphic.com?subject=Hey Owl!">email</a> /
320
+ <a href="../changelog.html">changelog</a> /
321
+ <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=EFSGXZS7V2U9N">donate</a> /
322
+ <a href="https://twitter.com/share" class="twitter-share-button" data-url="http://owlgraphic.com/owlcarousel/" data-text="Awesome jQuery Owl Carousel Responsive Plugin" data-via="OwlFonk" data-count="none" data-hashtags="owlcarousel"></a>
323
+ <script>
324
+ var owldomain = window.location.hostname.indexOf("owlgraphic");
325
+ if(owldomain !== -1){
326
+ !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');
327
+ }
328
+ </script>
329
+ </h5>
330
+ </div>
331
+ </div>
332
+ </div>
333
+ </div>
334
+
335
+
336
+ <script src="../assets/js/jquery-1.9.1.min.js"></script>
337
+ <script src="../owl-carousel/owl.carousel.js"></script>
338
+
339
+
340
+ <!-- Demo -->
341
+
342
+ <style>
343
+ #owl-demo .item{
344
+ display: block;
345
+ padding: 30px 0px;
346
+ margin: 5px;
347
+ color: #FFF;
348
+ -webkit-border-radius: 3px;
349
+ -moz-border-radius: 3px;
350
+ border-radius: 3px;
351
+ text-align: center;
352
+ }
353
+ .owl-theme .owl-controls .owl-buttons div {
354
+ padding: 5px 9px;
355
+ }
356
+
357
+ .owl-theme .owl-buttons i{
358
+ margin-top: 2px;
359
+ }
360
+
361
+ /*To move navigation buttons outside use these settings:*/
362
+
363
+ .owl-theme .owl-controls .owl-buttons div {
364
+ position: absolute;
365
+ }
366
+
367
+ .owl-theme .owl-controls .owl-buttons .owl-prev{
368
+ left: -45px;
369
+ top: 55px;
370
+ }
371
+
372
+ .owl-theme .owl-controls .owl-buttons .owl-next{
373
+ right: -45px;
374
+ top: 55px;
375
+ }
376
+ </style>
377
+
378
+
379
+ <script>
380
+ $(document).ready(function() {
381
+
382
+ //Sort random function
383
+ function random(owlSelector){
384
+ owlSelector.children().sort(function(){
385
+ return Math.round(Math.random()) - 0.5;
386
+ }).each(function(){
387
+ $(this).appendTo(owlSelector);
388
+ });
389
+ }
390
+
391
+ $("#owl-demo").owlCarousel({
392
+ navigation: true,
393
+ navigationText: [
394
+ "<i class='icon-chevron-left icon-white'></i>",
395
+ "<i class='icon-chevron-right icon-white'></i>"
396
+ ],
397
+ //Call beforeInit callback, elem parameter point to $("#owl-demo")
398
+ beforeInit : function(elem){
399
+ random(elem);
400
+ }
401
+
402
+ });
403
+
404
+ });
405
+ </script>
406
+
407
+
408
+ <script src="../assets/js/bootstrap-collapse.js"></script>
409
+ <script src="../assets/js/bootstrap-transition.js"></script>
410
+ <script src="../assets/js/bootstrap-tab.js"></script>
411
+
412
+ <script src="../assets/js/google-code-prettify/prettify.js"></script>
413
+ <script src="../assets/js/application.js"></script>
414
+
415
+ </body>
416
+ </html>
@@ -0,0 +1,328 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>Owl Carousel - Items scale up</title>
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <meta name="description" content="jQuery Responsive Carousel - Owl Carusel">
8
+ <meta name="author" content="Bartosz Wojciechowski">
9
+
10
+ <link href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,400,300,600,700' rel='stylesheet' type='text/css'>
11
+ <link href="../assets/css/bootstrapTheme.css" rel="stylesheet">
12
+ <link href="../assets/css/custom.css" rel="stylesheet">
13
+
14
+ <!-- Owl Carousel Assets -->
15
+ <link href="../owl-carousel/owl.carousel.css" rel="stylesheet">
16
+ <link href="../owl-carousel/owl.theme.css" rel="stylesheet">
17
+
18
+ <!-- Prettify -->
19
+ <link href="../assets/js/google-code-prettify/prettify.css" rel="stylesheet">
20
+
21
+
22
+ <!-- Le fav and touch icons -->
23
+ <link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
24
+ <link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
25
+ <link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
26
+ <link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
27
+ <link rel="shortcut icon" href="../assets/ico/favicon.png">
28
+ </head>
29
+ <body>
30
+
31
+ <div id="top-nav" class="navbar navbar-fixed-top">
32
+ <div class="navbar-inner">
33
+ <div class="container">
34
+ <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
35
+ <span class="icon-bar"></span>
36
+ <span class="icon-bar"></span>
37
+ <span class="icon-bar"></span>
38
+ </button>
39
+ <div class="nav-collapse collapse">
40
+ <ul class="nav pull-right">
41
+ <li><a href="../index.html"><i class="icon-chevron-left"></i> Back to Frontpage</a></li>
42
+ <li><a href="../owl.carousel.zip" class="download download-on" data-spy="affix" data-offset-top="450">Download</a></li>
43
+ </ul>
44
+ <ul class="nav pull-left">
45
+
46
+ </ul>
47
+ </div>
48
+ </div>
49
+ </div>
50
+ </div>
51
+
52
+ <div id="title">
53
+ <div class="container">
54
+ <div class="row">
55
+ <div class="span12">
56
+ <h1>Auto Scale up Items</h1>
57
+ </div>
58
+ </div>
59
+ </div>
60
+ </div>
61
+
62
+ <div id="demo">
63
+ <div class="container">
64
+ <div class="row">
65
+ <div class="span12">
66
+
67
+ <div id="owl-demo" class="itemsScaleUp-true owl-carousel">
68
+ <div class="item"><img src="assets/owl1.jpg" alt="Owl Image"></div>
69
+ <div class="item"><img src="assets/owl2.jpg" alt="Owl Image"></div>
70
+ <div class="item"><img src="assets/owl3.jpg" alt="Owl Image"></div>
71
+ </div>
72
+
73
+ <div id="owl-demo" class="itemsScaleUp-false owl-carousel">
74
+ <div class="item"><img src="assets/owl1.jpg" alt="Owl Image"></div>
75
+ <div class="item"><img src="assets/owl2.jpg" alt="Owl Image"></div>
76
+ <div class="item"><img src="assets/owl3.jpg" alt="Owl Image"></div>
77
+ </div>
78
+
79
+ </div>
80
+ </div>
81
+ </div>
82
+
83
+ </div>
84
+
85
+ <div id="example-info">
86
+ <div class="container">
87
+ <div class="row">
88
+ <div class="span12">
89
+ <h1>Setup</h1>
90
+ <p>If you have less items in a viewport than declared and you don't want to auto-stretch items use <code>itemsScaleUp:true</code>.</p>
91
+ <ul class="nav nav-tabs" id="myTab">
92
+ <li class="active"><a href="#javascript">Javascript</a></li>
93
+ <li><a href="#HTML">HTML</a></li>
94
+ <li><a href="#CSS">CSS</a></li>
95
+ </ul>
96
+
97
+ <div class="tab-content">
98
+
99
+ <div class="tab-pane active" id="javascript">
100
+ <pre class="pre-show prettyprint linenums">
101
+ $(document).ready(function() {
102
+
103
+ $(".itemsScaleUp-true").owlCarousel({
104
+ items : 7,
105
+ itemsScaleUp:true
106
+ });
107
+
108
+ $(".itemsScaleUp-false").owlCarousel({
109
+ items : 7
110
+ });
111
+
112
+ });
113
+ </pre>
114
+
115
+ </div>
116
+
117
+ <div class="tab-pane" id="HTML">
118
+ <pre class="pre-show prettyprint linenums">
119
+ &lt;div id="owl-demo" class="itemsScaleUp-true owl-carousel"&gt;
120
+ &lt;div class="item"&gt;&lt;img src="assets/owl1.jpg" alt="Owl Image"&gt;&lt;/div&gt;
121
+ &lt;div class="item"&gt;&lt;img src="assets/owl2.jpg" alt="Owl Image"&gt;&lt;/div&gt;
122
+ &lt;div class="item"&gt;&lt;img src="assets/owl3.jpg" alt="Owl Image"&gt;&lt;/div&gt;
123
+ &lt;/div&gt;
124
+
125
+ &lt;div id="owl-demo" class="itemsScaleUp-false owl-carousel">
126
+ &lt;div class="item">&lt;img src="assets/owl1.jpg" alt="Owl Image">&lt;/div>
127
+ &lt;div class="item">&lt;img src="assets/owl2.jpg" alt="Owl Image">&lt;/div>
128
+ &lt;div class="item">&lt;img src="assets/owl3.jpg" alt="Owl Image">&lt;/div>
129
+ &lt;/div>
130
+ </pre>
131
+ </div>
132
+
133
+ <div class="tab-pane" id="CSS">
134
+ <pre class="pre-show prettyprint linenums">
135
+ #owl-demo .item{
136
+ margin: 3px;
137
+ }
138
+ #owl-demo .item img{
139
+ display: block;
140
+ width: 100%;
141
+ height: auto;
142
+ }
143
+ </pre>
144
+ </div>
145
+ </div><!--End Tab Content-->
146
+
147
+ </div>
148
+ </div>
149
+ </div>
150
+ </div>
151
+
152
+ <div id="more">
153
+ <div class="container">
154
+
155
+ <div class="row">
156
+ <div class="span12">
157
+ <h1>More Demos</h1>
158
+ </div>
159
+ </div>
160
+
161
+ <div class="row demos-row">
162
+ <div class="span3">
163
+ <a href="images.html" class="demo-box">
164
+ <div class="demo-wrapper demo-images clearfix">
165
+ <div class="demo-slide"><div class="bg"></div></div>
166
+ <div class="demo-slide"><div class="bg"></div></div>
167
+ <div class="demo-slide"><div class="bg"></div></div>
168
+ </div>
169
+ <h3>Images</h3>
170
+ </a>
171
+ </div>
172
+
173
+ <div class="span3">
174
+ <a href="custom.html" class="demo-box">
175
+ <div class="demo-wrapper demo-custom clearfix">
176
+ <div class="demo-slide"><div class="bg"></div></div>
177
+ <div class="demo-slide"><div class="bg"></div></div>
178
+ <div class="demo-slide"><div class="bg"></div></div>
179
+ <div class="demo-slide"><div class="bg"></div></div>
180
+ <div class="demo-slide"><div class="bg"></div></div>
181
+ <div class="demo-slide"><div class="bg"></div></div>
182
+ <div class="demo-slide"><div class="bg"></div></div>
183
+ <div class="demo-slide"><div class="bg"></div></div>
184
+ <div class="demo-slide"><div class="bg"></div></div>
185
+ <div class="demo-slide"><div class="bg"></div></div>
186
+ </div>
187
+ <h3>Custom</h3>
188
+ </a>
189
+ </div>
190
+
191
+ <div class="span3">
192
+ <a href="itemsCustom.html" class="demo-box">
193
+ <div class="demo-wrapper demo-full clearfix">
194
+ <div class="demo-slide"><div class="bg"></div></div>
195
+ <div class="demo-slide"><div class="bg"></div></div>
196
+ <div class="demo-slide"><div class="bg"></div></div>
197
+ <div class="demo-slide"><div class="bg"></div></div>
198
+ </div>
199
+ <h3>Custom 2</h3>
200
+ </a>
201
+ </div>
202
+
203
+ <div class="span3">
204
+ <a href="one.html" class="demo-box">
205
+ <div class="demo-wrapper demo-one clearfix">
206
+ <div class="demo-slide"><div class="bg"></div></div>
207
+ </div>
208
+ <h3>One Slide</h3>
209
+ </a>
210
+ </div>
211
+
212
+ </div>
213
+ <div class="row demos-row">
214
+ <div class="span3">
215
+ <a href="json.html" class="demo-box">
216
+ <div class="demo-wrapper demo-Json clearfix">
217
+ <div class="demo-slide"><div class="bg"></div></div>
218
+ <div class="demo-slide"><div class="bg"></div></div>
219
+ <div class="demo-slide"><div class="bg"></div></div>
220
+ <div class="demo-slide"><div class="bg"></div></div>
221
+ <div class="demo-slide"><div class="bg"></div></div>
222
+ </div>
223
+ <h3>JSON</h3>
224
+ </a>
225
+ </div>
226
+
227
+ <div class="span3">
228
+ <a href="customJson.html" class="demo-box">
229
+ <div class="demo-wrapper demo-Json-custom clearfix">
230
+ <div class="demo-slide"><div class="bg"></div></div>
231
+ <div class="demo-slide"><div class="bg"></div></div>
232
+ <div class="demo-slide"><div class="bg"></div></div>
233
+ </div>
234
+ <h3>JSON Custom</h3>
235
+ </a>
236
+ </div>
237
+
238
+ <div class="span3">
239
+ <a href="lazyLoad.html" class="demo-box">
240
+ <div class="demo-wrapper demo-lazy clearfix">
241
+ <div class="demo-slide"><div class="bg"></div></div>
242
+ <div class="demo-slide"><div class="bg"></div></div>
243
+ <div class="demo-slide"><div class="bg"></div></div>
244
+ </div>
245
+ <h3>Lazy Load</h3>
246
+ </a>
247
+ </div>
248
+
249
+ <div class="span3">
250
+ <a href="autoHeight.html" class="demo-box">
251
+ <div class="demo-wrapper demo-height clearfix">
252
+ <div class="demo-slide"><div class="bg"></div></div>
253
+ </div>
254
+ <h3>Auto Height</h3>
255
+ </a>
256
+ </div>
257
+
258
+ </div>
259
+ </div>
260
+ </div>
261
+
262
+
263
+
264
+ <div id="footer">
265
+ <div class="container">
266
+ <div class="row">
267
+ <div class="span12">
268
+ <h5>Bartosz Wojciechowski 2013 / @OwlFonk /
269
+ <a href="mailto:owl@owlgraphic.com?subject=Hey Owl!">email</a> /
270
+ <a href="../changelog.html">changelog</a> /
271
+ <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=EFSGXZS7V2U9N">donate</a> /
272
+ <a href="https://twitter.com/share" class="twitter-share-button" data-url="http://owlgraphic.com/owlcarousel/" data-text="Awesome jQuery Owl Carousel Responsive Plugin" data-via="OwlFonk" data-count="none" data-hashtags="owlcarousel"></a>
273
+ <script>
274
+ var owldomain = window.location.hostname.indexOf("owlgraphic");
275
+ if(owldomain !== -1){
276
+ !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');
277
+ }
278
+ </script>
279
+ </h5>
280
+ </div>
281
+ </div>
282
+ </div>
283
+ </div>
284
+
285
+
286
+ <script src="../assets/js/jquery-1.9.1.min.js"></script>
287
+ <script src="../owl-carousel/owl.carousel.js"></script>
288
+
289
+
290
+ <!-- Demo -->
291
+
292
+ <style>
293
+ #owl-demo .item{
294
+ margin: 3px;
295
+ }
296
+ #owl-demo .item img{
297
+ display: block;
298
+ width: 100%;
299
+ height: auto;
300
+ }
301
+ </style>
302
+
303
+
304
+ <script>
305
+ $(document).ready(function() {
306
+
307
+ $(".itemsScaleUp-false").owlCarousel({
308
+ items : 7
309
+ });
310
+
311
+ $(".itemsScaleUp-true").owlCarousel({
312
+ items : 7,
313
+ itemsScaleUp:true
314
+ });
315
+
316
+ });
317
+ </script>
318
+
319
+
320
+ <script src="../assets/js/bootstrap-collapse.js"></script>
321
+ <script src="../assets/js/bootstrap-transition.js"></script>
322
+ <script src="../assets/js/bootstrap-tab.js"></script>
323
+
324
+ <script src="../assets/js/google-code-prettify/prettify.js"></script>
325
+ <script src="../assets/js/application.js"></script>
326
+
327
+ </body>
328
+ </html>