1 | <!DOCTYPE html> |
---|
2 | <html lang="en"> |
---|
3 | <head> |
---|
4 | <title>Lightbox - Youtube Samples</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 | <script src="../explore/js/swfobject.js" type="text/javascript"></script> |
---|
17 | <link href="../../themes/wijmo/jquery.wijmo.wijlightbox.css" rel="stylesheet" type="text/css"/> |
---|
18 | <script src="../../wijmo/jquery.wijmo.wijlightbox.js" type="text/javascript"></script> |
---|
19 | |
---|
20 | |
---|
21 | <script type="text/javascript"> |
---|
22 | $(function () { |
---|
23 | $("#lightbox").wijlightbox({ |
---|
24 | controlsPosition: 'outside', |
---|
25 | textPosition: 'outside' |
---|
26 | }); |
---|
27 | }); |
---|
28 | </script> |
---|
29 | </head> |
---|
30 | |
---|
31 | <body class="demo-single"> |
---|
32 | <div class="container"> |
---|
33 | <div class="header"> |
---|
34 | <h2>Youtube</h2> |
---|
35 | </div> |
---|
36 | <div class="main demo"> |
---|
37 | <!-- Begin demo markup --> |
---|
38 | |
---|
39 | <div id="lightbox"> |
---|
40 | <a title="Keyboard Cat" href="https://www.youtube.com/v/J---aiyznGQ?version=3" rel="wijlightbox;player=swf"><img class=border alt="" src="http://cdn.wijmo.com/images/keyboardcat.png"/></a> |
---|
41 | <a title="Sneezing Panda" href="http://www.youtube.com/v/FzRH3iTQPrk?version=3" rel="wijlightbox;player=swf"><img class=border alt="" src="http://cdn.wijmo.com/images/panda.png"/></a> |
---|
42 | <a title="Talking Cats" href="http://www.youtube.com/v/z3U0udLH974?version=3" rel="wijlightbox;player=swf"><img class=border alt="" src="http://cdn.wijmo.com/images/talkingcats.png"/></a> |
---|
43 | </div> |
---|
44 | |
---|
45 | <!-- End demo markup --> |
---|
46 | <div class="demo-options"> |
---|
47 | <!-- Begin options markup --> |
---|
48 | |
---|
49 | <!-- End options markup --> |
---|
50 | </div> |
---|
51 | </div> |
---|
52 | <div class="footer demo-description"> |
---|
53 | <p>This sample demonstrates how the wijlightbox widget can be used to show videos.</p> |
---|
54 | </div> |
---|
55 | </div> |
---|
56 | </body> |
---|
57 | |
---|
58 | </html> |
---|