1 | <!DOCTYPE html> |
---|
2 | <html lang="en"> |
---|
3 | <head> |
---|
4 | <title>Lightbox - Overview</title> |
---|
5 | <meta charset="utf-8" /> |
---|
6 | <meta name="description" content="" /> |
---|
7 | <meta name="keywords" content="" /> |
---|
8 | <meta name="author" content="ComponentOne" /> |
---|
9 | |
---|
10 | <link href="../../themes/rocket/jquery-wijmo.css" rel="stylesheet" type="text/css" /> |
---|
11 | |
---|
12 | <script src="../../external/jquery-1.8.0.min.js" type="text/javascript"></script> |
---|
13 | <script src="../../external/jquery-ui-1.8.23.custom.min.js" type="text/javascript"></script> |
---|
14 | <link href="../../themes/wijmo/jquery.wijmo-open.2.2.2.css" rel="stylesheet" type="text/css" /> |
---|
15 | <script src="../../external/jquery.wijmo-open.all.2.2.2.min.js" type="text/javascript"></script> |
---|
16 | <link href="../../themes/wijmo/jquery.wijmo.wijlightbox.css" rel="stylesheet" type="text/css"/> |
---|
17 | <script src="../../wijmo/jquery.wijmo.wijlightbox.js" type="text/javascript"></script> |
---|
18 | |
---|
19 | |
---|
20 | <script type="text/javascript"> |
---|
21 | $(function () { |
---|
22 | $("#lightbox").wijlightbox({ |
---|
23 | textPosition: 'titleOverlay', |
---|
24 | counterType: 'sequence' |
---|
25 | }); |
---|
26 | }); |
---|
27 | </script> |
---|
28 | </head> |
---|
29 | |
---|
30 | <body class="demo-single"> |
---|
31 | <div class="container"> |
---|
32 | <div class="header"> |
---|
33 | <h2>Sequence Counter</h2> |
---|
34 | </div> |
---|
35 | <div class="main demo"> |
---|
36 | <!-- Begin demo markup --> |
---|
37 | <div id="lightbox"> |
---|
38 | <a href="http://lorempixum.com/600/400/sports/1" rel="wijlightbox[stock];player=img"> |
---|
39 | <img src="http://lorempixum.com/150/125/sports/1" title="Sports 1" alt="Sports 1" /></a> |
---|
40 | <a href="http://lorempixum.com/600/400/sports/2" rel="wijlightbox[stock];player=img"> |
---|
41 | <img src="http://lorempixum.com/150/125/sports/2" title="Sports 2" alt="Sports 2" /></a> |
---|
42 | <a href="http://lorempixum.com/600/400/sports/3" rel="wijlightbox[stock];player=img"> |
---|
43 | <img src="http://lorempixum.com/150/125/sports/3" title="Sports 3" alt="Sports 3" /></a> |
---|
44 | <a href="http://lorempixum.com/600/400/sports/4" rel="wijlightbox[stock];player=img"> |
---|
45 | <img src="http://lorempixum.com/150/125/sports/4" title="Sports 4" alt="Sports 4" /></a> |
---|
46 | </div> |
---|
47 | <!-- End demo markup --> |
---|
48 | <div class="demo-options"> |
---|
49 | <!-- Begin options markup --> |
---|
50 | |
---|
51 | <!-- End options markup --> |
---|
52 | </div> |
---|
53 | </div> |
---|
54 | <div class="footer demo-description"> |
---|
55 | <p>This sample demonstrates how to add a counter to the wijlightbox widget by setting the counterType option.</p> |
---|
56 | </div> |
---|
57 | </div> |
---|
58 | </body> |
---|
59 | |
---|
60 | </html> |
---|