jekyll-theme-prettydocs 0.0.6 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (195) hide show
  1. checksums.yaml +5 -5
  2. data/LICENSE.txt +0 -0
  3. data/README.md +59 -178
  4. data/_includes/footer.html +6 -6
  5. data/_includes/home.html +122 -0
  6. data/_includes/promo-block.html +29 -86
  7. data/_layouts/home.html +36 -53
  8. data/_layouts/page.html +51 -5
  9. data/assets/.DS_Store +0 -0
  10. data/assets/css/.DS_Store +0 -0
  11. data/assets/css/styles.css +1373 -1267
  12. data/assets/images/.DS_Store +0 -0
  13. data/assets/images/demo/.DS_Store +0 -0
  14. data/assets/images/demo/fontawesome-icons.png +0 -0
  15. data/assets/images/demo/instance-promo.jpg +0 -0
  16. data/assets/images/demo/theme-atom.png +0 -0
  17. data/assets/images/demo/theme-decibel.png +0 -0
  18. data/assets/images/demo/theme-delta.png +0 -0
  19. data/assets/images/demo/theme-devstudio.png +0 -0
  20. data/assets/images/demo/theme-instance.png +0 -0
  21. data/assets/images/demo/theme-onboard.png +0 -0
  22. data/assets/images/demo/theme-orbit.png +0 -0
  23. data/assets/images/demo/theme-pillar.png +0 -0
  24. data/assets/images/demo/theme-sphere.png +0 -0
  25. data/assets/images/demo/theme-startupkit.png +0 -0
  26. data/assets/images/demo/theme-tempo.png +0 -0
  27. data/assets/images/demo/theme-trades.png +0 -0
  28. data/assets/images/empty.gif +0 -0
  29. data/assets/images/untitled folder/.DS_Store +0 -0
  30. data/assets/images/untitled folder/bootstrap-template-for-schools-academy.png +0 -0
  31. data/assets/images/untitled folder/crowdfunding-landing-page-onboard.png +0 -0
  32. data/assets/images/untitled folder/free-bootstrap-portfolio-theme-for-developers.png +0 -0
  33. data/assets/images/untitled folder/free-bootstrap-theme-appkit-landing.png +0 -0
  34. data/assets/images/untitled folder/free-bootstrap-theme-for-developers-devaid.png +0 -0
  35. data/assets/images/untitled folder/free-bootstrap-theme-for-develpers-prettydocs.png +0 -0
  36. data/assets/images/untitled folder/free-bootstrap-theme-for-documentation-prettydedocs.png +0 -0
  37. data/assets/images/untitled folder/free-bootstrap-theme-for-startups-developers-appkit-landing.png +0 -0
  38. data/assets/images/untitled folder/html5-website-template-college-green.png +0 -0
  39. data/assets/images/untitled folder/html5-website-template-placeholder.png +0 -0
  40. data/assets/images/untitled folder/restaurant-landing-page-epicure.png +0 -0
  41. data/assets/images/untitled folder/wedding-invitation-landing-page-matrimony.png +0 -0
  42. data/assets/js/.DS_Store +0 -0
  43. data/assets/js/main.js +42 -46
  44. data/assets/plugins/.DS_Store +0 -0
  45. data/assets/plugins/bootstrap/css/bootstrap-grid.css +1912 -0
  46. data/assets/plugins/bootstrap/css/bootstrap-grid.css.map +0 -0
  47. data/assets/plugins/bootstrap/css/bootstrap-grid.min.css +7 -0
  48. data/assets/plugins/bootstrap/css/bootstrap-grid.min.css.map +0 -0
  49. data/assets/plugins/bootstrap/css/bootstrap-reboot.css +331 -0
  50. data/assets/plugins/bootstrap/css/bootstrap-reboot.css.map +0 -0
  51. data/assets/plugins/bootstrap/css/bootstrap-reboot.min.css +8 -0
  52. data/assets/plugins/bootstrap/css/bootstrap-reboot.min.css.map +0 -0
  53. data/assets/plugins/bootstrap/css/bootstrap.css +7946 -5683
  54. data/assets/plugins/bootstrap/css/bootstrap.css.map +0 -0
  55. data/assets/plugins/bootstrap/css/bootstrap.min.css +4 -3
  56. data/assets/plugins/bootstrap/css/bootstrap.min.css.map +0 -0
  57. data/assets/plugins/bootstrap/js/bootstrap.bundle.js +6461 -0
  58. data/assets/plugins/bootstrap/js/bootstrap.bundle.js.map +0 -0
  59. data/assets/plugins/bootstrap/js/bootstrap.bundle.min.js +7 -0
  60. data/assets/plugins/bootstrap/js/bootstrap.bundle.min.js.map +0 -0
  61. data/assets/plugins/bootstrap/js/bootstrap.js +3448 -1867
  62. data/assets/plugins/bootstrap/js/bootstrap.js.map +0 -0
  63. data/assets/plugins/bootstrap/js/bootstrap.min.js +6 -6
  64. data/assets/plugins/bootstrap/js/bootstrap.min.js.map +0 -0
  65. data/assets/plugins/jquery-3.3.1.min.js +2 -0
  66. data/assets/plugins/lightbox/Gruntfile.js +84 -83
  67. data/assets/plugins/lightbox/ISSUE_TEMPLATE.md +9 -0
  68. data/assets/plugins/lightbox/LICENSE +21 -0
  69. data/assets/plugins/lightbox/README.md +15 -10
  70. data/assets/plugins/lightbox/bower.json +29 -38
  71. data/assets/plugins/lightbox/dist/ekko-lightbox.css +2 -62
  72. data/assets/plugins/lightbox/dist/ekko-lightbox.js +668 -400
  73. data/assets/plugins/lightbox/dist/ekko-lightbox.js.map +1 -0
  74. data/assets/plugins/lightbox/dist/ekko-lightbox.min.js +2 -7
  75. data/assets/plugins/lightbox/dist/ekko-lightbox.min.js.map +1 -0
  76. data/assets/plugins/lightbox/ekko-lightbox.js +671 -0
  77. data/assets/plugins/lightbox/ekko-lightbox.less +139 -64
  78. data/assets/plugins/lightbox/examples/bs3.html +596 -0
  79. data/assets/plugins/lightbox/index.html +659 -0
  80. data/assets/plugins/lightbox/package.json +57 -46
  81. data/assets/plugins/lightbox/webpack.config.js +89 -0
  82. data/assets/plugins/lightbox/yarn.lock +6683 -0
  83. data/assets/plugins/prism/min/prism-min.js +0 -0
  84. data/assets/plugins/stickyfill/.editorconfig +9 -0
  85. data/assets/plugins/stickyfill/.gitignore +1 -0
  86. data/assets/plugins/stickyfill/Gruntfile.js +106 -0
  87. data/assets/plugins/stickyfill/LICENSE +21 -0
  88. data/assets/plugins/stickyfill/README.md +229 -0
  89. data/assets/plugins/stickyfill/dist/stickyfill.es6.js +507 -0
  90. data/assets/plugins/stickyfill/dist/stickyfill.js +520 -0
  91. data/assets/plugins/stickyfill/dist/stickyfill.min.js +7 -0
  92. data/assets/plugins/stickyfill/package-lock.json +2109 -0
  93. data/assets/plugins/stickyfill/package.json +32 -0
  94. data/assets/plugins/stickyfill/src/stickyfill.js +500 -0
  95. data/assets/plugins/stickyfill/test/index.html +941 -0
  96. data/assets/plugins/stickyfill/test/js/jquery-3.1.1.min.js +4 -0
  97. data/assets/plugins/stickyfill/types/index.d.ts +17 -0
  98. data/assets/plugins/stickyfill/yarn.lock +1475 -0
  99. data/assets/scss/.DS_Store +0 -0
  100. data/assets/{less/base.less → scss/_base.scss} +283 -307
  101. data/assets/{less/doc.less → scss/_doc.scss} +747 -747
  102. data/assets/{less/landing.less → scss/_landing.scss} +231 -244
  103. data/assets/scss/_mixins.scss +175 -0
  104. data/assets/scss/config.codekit3 +2243 -0
  105. data/assets/scss/styles.scss +45 -0
  106. metadata +76 -96
  107. data/_includes/blue-doc-wrapper.html +0 -293
  108. data/_includes/blue-header.html +0 -17
  109. data/_includes/card-charts.html +0 -10
  110. data/_includes/card-components.html +0 -10
  111. data/_includes/card-faqs.html +0 -10
  112. data/_includes/card-license.html +0 -10
  113. data/_includes/card-quick.html +0 -10
  114. data/_includes/card-showcase.html +0 -10
  115. data/_includes/cards-section.html +0 -47
  116. data/_includes/doc-wrapper.html +0 -170
  117. data/_includes/fb-root.html +0 -9
  118. data/_includes/green-doc-wrapper.html +0 -484
  119. data/_includes/green-header.html +0 -17
  120. data/_includes/header-home.html +0 -21
  121. data/_includes/header.html +0 -70
  122. data/_includes/icon-github.html +0 -1
  123. data/_includes/landing-header.html +0 -22
  124. data/_includes/orange-doc-wrapper.html +0 -65
  125. data/_includes/orange-header.html +0 -17
  126. data/_includes/pink-doc-wrapper.html +0 -281
  127. data/_includes/pink-header.html +0 -17
  128. data/_includes/purple-doc-wrapper.html +0 -138
  129. data/_includes/purple-header.html +0 -17
  130. data/_layouts/blue.html +0 -53
  131. data/_layouts/default.html +0 -53
  132. data/_layouts/green.html +0 -53
  133. data/_layouts/orange.html +0 -53
  134. data/_layouts/pink.html +0 -53
  135. data/_layouts/post.html +0 -5
  136. data/_layouts/purple.html +0 -53
  137. data/assets/images/demo/a-complete-example-of-page.png +0 -0
  138. data/assets/less/mixins.less +0 -185
  139. data/assets/less/styles.less +0 -13
  140. data/assets/less/theme-default.less +0 -115
  141. data/assets/plugins/bootstrap/css/bootstrap-theme.css +0 -587
  142. data/assets/plugins/bootstrap/css/bootstrap-theme.css.map +0 -0
  143. data/assets/plugins/bootstrap/css/bootstrap-theme.min.css +0 -6
  144. data/assets/plugins/bootstrap/css/bootstrap-theme.min.css.map +0 -0
  145. data/assets/plugins/bootstrap/fonts/glyphicons-halflings-regular.eot +0 -0
  146. data/assets/plugins/bootstrap/fonts/glyphicons-halflings-regular.svg +0 -288
  147. data/assets/plugins/bootstrap/fonts/glyphicons-halflings-regular.ttf +0 -0
  148. data/assets/plugins/bootstrap/fonts/glyphicons-halflings-regular.woff +0 -0
  149. data/assets/plugins/bootstrap/fonts/glyphicons-halflings-regular.woff2 +0 -0
  150. data/assets/plugins/bootstrap/js/npm.js +0 -13
  151. data/assets/plugins/font-awesome/HELP-US-OUT.txt +0 -7
  152. data/assets/plugins/font-awesome/css/font-awesome.css +0 -2199
  153. data/assets/plugins/font-awesome/css/font-awesome.min.css +0 -4
  154. data/assets/plugins/font-awesome/fonts/FontAwesome.otf +0 -0
  155. data/assets/plugins/font-awesome/fonts/fontawesome-webfont.eot +0 -0
  156. data/assets/plugins/font-awesome/fonts/fontawesome-webfont.svg +0 -685
  157. data/assets/plugins/font-awesome/fonts/fontawesome-webfont.ttf +0 -0
  158. data/assets/plugins/font-awesome/fonts/fontawesome-webfont.woff +0 -0
  159. data/assets/plugins/font-awesome/fonts/fontawesome-webfont.woff2 +0 -0
  160. data/assets/plugins/font-awesome/less/animated.less +0 -34
  161. data/assets/plugins/font-awesome/less/bordered-pulled.less +0 -25
  162. data/assets/plugins/font-awesome/less/core.less +0 -12
  163. data/assets/plugins/font-awesome/less/fixed-width.less +0 -6
  164. data/assets/plugins/font-awesome/less/font-awesome.less +0 -18
  165. data/assets/plugins/font-awesome/less/icons.less +0 -733
  166. data/assets/plugins/font-awesome/less/larger.less +0 -13
  167. data/assets/plugins/font-awesome/less/list.less +0 -19
  168. data/assets/plugins/font-awesome/less/mixins.less +0 -60
  169. data/assets/plugins/font-awesome/less/path.less +0 -15
  170. data/assets/plugins/font-awesome/less/rotated-flipped.less +0 -20
  171. data/assets/plugins/font-awesome/less/screen-reader.less +0 -5
  172. data/assets/plugins/font-awesome/less/stacked.less +0 -20
  173. data/assets/plugins/font-awesome/less/variables.less +0 -744
  174. data/assets/plugins/font-awesome/scss/_animated.scss +0 -34
  175. data/assets/plugins/font-awesome/scss/_bordered-pulled.scss +0 -25
  176. data/assets/plugins/font-awesome/scss/_core.scss +0 -12
  177. data/assets/plugins/font-awesome/scss/_fixed-width.scss +0 -6
  178. data/assets/plugins/font-awesome/scss/_icons.scss +0 -733
  179. data/assets/plugins/font-awesome/scss/_larger.scss +0 -13
  180. data/assets/plugins/font-awesome/scss/_list.scss +0 -19
  181. data/assets/plugins/font-awesome/scss/_mixins.scss +0 -60
  182. data/assets/plugins/font-awesome/scss/_path.scss +0 -15
  183. data/assets/plugins/font-awesome/scss/_rotated-flipped.scss +0 -20
  184. data/assets/plugins/font-awesome/scss/_screen-reader.scss +0 -5
  185. data/assets/plugins/font-awesome/scss/_stacked.scss +0 -20
  186. data/assets/plugins/font-awesome/scss/_variables.scss +0 -744
  187. data/assets/plugins/font-awesome/scss/font-awesome.scss +0 -18
  188. data/assets/plugins/jquery-1.12.3.min.js +0 -5
  189. data/assets/plugins/lightbox/LICENSE.txt +0 -339
  190. data/assets/plugins/lightbox/dist/ekko-lightbox.min.css +0 -6
  191. data/assets/plugins/lightbox/ekko-lightbox.coffee +0 -353
  192. data/assets/plugins/lightbox/examples/index.html +0 -559
  193. data/assets/plugins/lightbox/examples/remote/page1.html +0 -9
  194. data/assets/plugins/lightbox/examples/remote/page2.html +0 -9
  195. data/assets/plugins/lightbox/examples/remote/readme.md +0 -1
@@ -1,64 +1,139 @@
1
- /*!
2
- * Lightbox for Bootstrap 3 by @ashleydw
3
- * https://github.com/ashleydw/lightbox
4
- *
5
- * License: https://github.com/ashleydw/lightbox/blob/master/LICENSE
6
- */
7
-
8
- .ekko-lightbox {
9
- &-container {
10
- position:relative;
11
- }
12
-
13
- &-nav-overlay {
14
- z-index:100;
15
- position: absolute;
16
- top:0;
17
- left:0;
18
- width:100%;
19
- height:100%;
20
-
21
- a {
22
- opacity: 0;
23
- -webkit-transition: opacity 0.5s;
24
- -moz-transition: opacity 0.5s;
25
- -o-transition: opacity 0.5s;
26
- transition: opacity 0.5s;
27
- color:#fff;
28
- font-size:30px;
29
- height: 100%;
30
- width:49%;
31
- display:block;
32
- text-shadow: 2px 2px 4px #000;
33
- filter: dropshadow(color=#000, offx=2, offy=2);
34
- z-index:100;
35
-
36
- &:empty {
37
- width:49%;
38
- }
39
- }
40
- }
41
-
42
- a:hover {
43
- opacity: 1;
44
- text-decoration: none;
45
- }
46
-
47
- .glyphicon-chevron-left {
48
- padding-left:15px;
49
- float:left;
50
- left:0;
51
- text-align: left;
52
- }
53
-
54
- .glyphicon-chevron-right {
55
- padding-right:15px;
56
- float:right;
57
- right:0;
58
- text-align: right;
59
- }
60
-
61
- .modal-footer {
62
- text-align: left;
63
- }
64
- }
1
+ .ekko-lightbox {
2
+ display: flex !important;
3
+ align-items: center;
4
+ justify-content: center;
5
+ padding-right: 0px!important;
6
+
7
+ &-container {
8
+ position:relative;
9
+ > div.ekko-lightbox-item {
10
+ position:absolute;
11
+ top:0;
12
+ left:0;
13
+ bottom:0;
14
+ right:0;
15
+ width:100%;
16
+ }
17
+ }
18
+
19
+ iframe {
20
+ width: 100%;
21
+ height: 100%;
22
+ }
23
+
24
+ &-nav-overlay {
25
+ z-index:100;
26
+ position: absolute;
27
+ top:0;
28
+ left:0;
29
+ width:100%;
30
+ height:100%;
31
+ display: flex;
32
+
33
+ a {
34
+ flex: 1;
35
+ display:flex;
36
+ align-items: center;
37
+
38
+ opacity: 0;
39
+ transition: opacity 0.5s;
40
+ color: #fff;
41
+ font-size:30px;
42
+ z-index:100;
43
+
44
+ > * {
45
+ flex-grow:1;
46
+ &:focus {
47
+ outline: none;
48
+ }
49
+ }
50
+ span {
51
+ padding:0 30px;
52
+ }
53
+ &:last-child span {
54
+ text-align: right;
55
+ }
56
+ &:hover {
57
+ text-decoration: none;
58
+ }
59
+ &:focus {
60
+ outline: none;
61
+ }
62
+ &.disabled {
63
+ cursor: default;
64
+ visibility: hidden;
65
+ }
66
+ }
67
+ }
68
+
69
+ a:hover {
70
+ opacity: 1;
71
+ text-decoration: none;
72
+ }
73
+ .modal-dialog {
74
+ display:none;
75
+ }
76
+ .modal-footer {
77
+ text-align: left;
78
+ }
79
+
80
+ // http://tobiasahlin.com/spinkit/
81
+ &-loader {
82
+ position:absolute;
83
+ top:0;
84
+ left:0;
85
+ bottom:0;
86
+ right:0;
87
+ width:100%;
88
+
89
+ display: flex; /* establish flex container */
90
+ flex-direction: column; /* make main axis vertical */
91
+ justify-content: center; /* center items vertically, in this case */
92
+ align-items: center;
93
+
94
+ > div {
95
+ width: 40px;
96
+ height: 40px;
97
+
98
+ position: relative;
99
+ text-align: center;
100
+
101
+ > div {
102
+ width: 100%;
103
+ height: 100%;
104
+ border-radius: 50%;
105
+ background-color: #fff;
106
+ opacity: 0.6;
107
+ position: absolute;
108
+ top: 0;
109
+ left: 0;
110
+
111
+ animation: sk-bounce 2.0s infinite ease-in-out;
112
+ &:last-child {
113
+ animation-delay: -1.0s;
114
+ }
115
+ }
116
+ }
117
+ }
118
+
119
+ .modal-dialog &-loader {
120
+ > div > div {
121
+ background-color:#333;
122
+ }
123
+ }
124
+
125
+ @-webkit-keyframes sk-bounce {
126
+ 0%, 100% { -webkit-transform: scale(0.0) }
127
+ 50% { -webkit-transform: scale(1.0) }
128
+ }
129
+
130
+ @keyframes sk-bounce {
131
+ 0%, 100% {
132
+ transform: scale(0.0);
133
+ -webkit-transform: scale(0.0);
134
+ } 50% {
135
+ transform: scale(1.0);
136
+ -webkit-transform: scale(1.0);
137
+ }
138
+ }
139
+ }
@@ -0,0 +1,596 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Bootstrap Lightbox</title>
5
+
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+
8
+ <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
9
+ <link href="../dist/ekko-lightbox.css" rel="stylesheet">
10
+
11
+ <!-- for documentation only -->
12
+ <style type="text/css">
13
+ div.row > div > div.row {
14
+ margin-bottom: 15px;
15
+ }
16
+
17
+ html {
18
+ background-color: #02709e;
19
+ }
20
+ body {
21
+ background: #fefefe;
22
+ padding-bottom: 50px;
23
+ }
24
+
25
+ div.top-container {
26
+ padding-top:100px;
27
+ background-color: #02709e;
28
+ color:#ccc;
29
+ }
30
+ div.top-container h1 {
31
+ color:white;
32
+ }
33
+ div.top-container a {
34
+ color:#ccc;
35
+ border-bottom:1px dotted white;
36
+ }
37
+ div.top-container a:hover {
38
+ color: white;
39
+ cursor:pointer;
40
+ border-bottom:1px solid white;
41
+ text-decoration: none;
42
+ }
43
+ div.top-header {
44
+ margin-bottom:100px;
45
+ }
46
+
47
+ h2 {
48
+ background-color:#02709e;
49
+ color:white;
50
+ display:inline-block;
51
+ padding:6px;
52
+ margin-top:100px;
53
+ }
54
+
55
+ h3 {
56
+ padding-bottom:5px;
57
+ margin-bottom:10px;
58
+ border-bottom:1px solid #f2f2f2;
59
+ margin-top: 50px;
60
+ }
61
+
62
+ h4 {
63
+ margin-top:25px;
64
+ }
65
+
66
+ figure {
67
+ position: relative;
68
+ }
69
+
70
+ figure figcaption {
71
+ font-size: 22px;
72
+ color: #fff;
73
+ text-decoration: none;
74
+ bottom: 10px;
75
+ right: 20px;
76
+ position: absolute;
77
+ background-color: #000;
78
+ }
79
+ code[data-code], code.block-code {
80
+ display:block;
81
+ overflow:scroll;
82
+ font-size:12px;
83
+ white-space: pre;
84
+ }
85
+
86
+ table {
87
+ font-size:12px;
88
+ }
89
+ .footer {
90
+ text-align: center;
91
+ }
92
+ .footer span {
93
+ margin-top:100px;
94
+ font-size:12px;
95
+ background-color:#02709e;
96
+ color:white;
97
+ display:inline-block;
98
+ padding:6px;
99
+ }
100
+ .footer span a {
101
+ color:#ccc;
102
+ border-bottom:1px dotted white;
103
+ }
104
+ .footer span a:hover {
105
+ cursor:pointer;
106
+ color: white;
107
+ border-bottom:1px solid white;
108
+ text-decoration: none;
109
+ }
110
+ a.anchorjs-link {
111
+ color:black;
112
+ }
113
+ a.anchorjs-link:hover {
114
+ color:#02709e;
115
+ text-decoration: none;
116
+ }
117
+ </style>
118
+ </head>
119
+ <body>
120
+
121
+ <div class="bs3-notice">
122
+ <p><strong>NB!:</strong> This page is intended to demonstrate that the lightbox works with Bootstrap 3 - the CSS classes for the layout use BS4 so this page won't display correctly.</p>
123
+ <p>Use this page only to check the lightbox works with BS3.</p>
124
+ </div>
125
+
126
+ <div class="top-container">
127
+
128
+ <div class="container">
129
+ <div class="row">
130
+ <div class="col-md-10 offset-md-1">
131
+
132
+ <div class="top-header">
133
+ <h1>Lightbox for Bootstrap</h1>
134
+ <p class="lead">Utilizes Bootstraps modal plugin to implement a lightbox gallery - <a href="//github.com/ashleydw/lightbox">GitHub</a></p>
135
+ <div class="text-center">
136
+ <iframe src="http://ghbtns.com/github-btn.html?user=ashleydw&repo=lightbox&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100 " height="20"></iframe>
137
+ <iframe src="http://ghbtns.com/github-btn.html?user=ashleydw&repo=lightbox&type=fork&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100" height="20"></iframe>
138
+ <iframe src="http://ghbtns.com/github-btn.html?user=ashleydw&repo=lightbox&type=follow&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="160" height="20"></iframe>
139
+ </div>
140
+ </div>
141
+
142
+ </div>
143
+ </div>
144
+ </div>
145
+ </div>
146
+
147
+ <div class="container">
148
+ <div class="row">
149
+ <div class="col-md-10 offset-md-1">
150
+
151
+ <h2>Install</h2>
152
+ <p>Grab the latest CSS / JS files from the CDN: <a href="https://cdnjs.com/libraries/ekko-lightbox">https://cdnjs.com/libraries/ekko-lightbox</a>.</p>
153
+ <p>Or, with bower: <code>bower install ekko-lightbox --save</code></p>
154
+ <p>Or, download the files directly: <a href="https://github.com/ashleydw/lightbox/tree/master/dist">https://github.com/ashleydw/lightbox/tree/master/dist</a></p>
155
+ <br /><br />
156
+ <p>Place this near on your page, probably near the end of the body section:</p>
157
+ <code class="block-code">$(document).on('click', '[data-toggle="lightbox"]', function(event) {
158
+ event.preventDefault();
159
+ $(this).ekkoLightbox();
160
+ });</code>
161
+ <br /><br />
162
+ <p>Then simply add <code>data-toggle</code> to your anchor tags.</p>
163
+ <code class="block-code">&lt;a href=&quot;https://unsplash.it/1200/768.jpg?image=251&quot; data-toggle=&quot;lightbox&quot;&gt;
164
+ &lt;img src=&quot;https://unsplash.it/600.jpg?image=251&quot; class=&quot;img-fluid&quot;&gt;
165
+ &lt;/a&gt;
166
+ </code>
167
+ <br /><br />
168
+ <p>Obviously, you need Bootstrap. Made for Bootstrap v4 but *should* work with v3.</p>
169
+
170
+ <h2>Options</h2>
171
+ <p>Options are passed down to the modal object so you can also use any of the <a href="http://getbootstrap.com/javascript/#modals-usage">original modal options</a>.</p>
172
+ <p>Pass the options to the calling function as an object, or set defaults using <code>$.fn.ekkoLightbox.defaults</code> (excluding modal default options, notable: title, footer, remote)</p>
173
+ <div class="table-responsive">
174
+ <table class="table table-bordered">
175
+ <thead>
176
+ <tr>
177
+ <th>Name</th>
178
+ <th>type</th>
179
+ <th>default</th>
180
+ <th>description</th>
181
+ <th>data-*</th>
182
+ </tr>
183
+ </thead>
184
+ <tbody>
185
+ <tr>
186
+ <td>leftArrow / rightArrow</td>
187
+ <td>html</td>
188
+ <td><code>&#10094;</code> / <code>&#10095;</code></td>
189
+ <td>HTML for the arrows</td>
190
+ <td></td>
191
+ </tr>
192
+ <tr>
193
+ <td>width / height</td>
194
+ <td>integer</td>
195
+ <td></td>
196
+ <td>Force the width / height</td>
197
+ <td><code>data-(width|height)="[0-9]+"</code></td>
198
+ </tr>
199
+ <tr>
200
+ <td>alwaysShowClose</td>
201
+ <td>boolean</td>
202
+ <td><code>false</code></td>
203
+ <td>Always show the close button, even if no title is present</td>
204
+ <td></td>
205
+ </tr>
206
+ <tr>
207
+ <td>loadingMessage</td>
208
+ <td>html</td>
209
+ <td>A fancy loader</td>
210
+ <td>HTML injected for loading</td>
211
+ <td></td>
212
+ </tr>
213
+ <tr>
214
+ <td>showArrows</td>
215
+ <td>bool</td>
216
+ <td>true</td>
217
+ <td>Disable the navigation overlay</td>
218
+ <td></td>
219
+ </tr>
220
+ </tbody>
221
+ </table>
222
+ </div>
223
+ <code class="block-code">$(this).ekkoLightbox({
224
+ alwaysShowClose: true,
225
+ onShown: function() {
226
+ console.log('Checking our the events huh?');
227
+ },
228
+ onNavigate: function(direction, itemIndex)
229
+ console.log('Navigating '+direction+'. Current item: '+itemIndex);
230
+ }
231
+ ...
232
+ });</code>
233
+ <br /><br />
234
+ <p>The following options are specified per element.</p>
235
+ <div class="table-responsive">
236
+ <table class="table table-bordered">
237
+ <thead>
238
+ <tr>
239
+ <th>Name</th>
240
+ <th>Description</th>
241
+ <th>Example</th>
242
+ </tr>
243
+ </thead>
244
+ <tbody>
245
+ <tr>
246
+ <td>remote</td>
247
+ <td>If you can't/don't want to set the href property of an element</td>
248
+ <td><code>data-remote="http://www...."</code></td>
249
+ </tr>
250
+ <tr>
251
+ <td>gallery</td>
252
+ <td>For grouping elements</td>
253
+ <td><code>data-gallery="gallery-name"</code></td>
254
+ </tr>
255
+ <tr>
256
+ <td>type</td>
257
+ <td>Force the lightbox into image/YouTube mode.</td>
258
+ <td><code>data-type="(image|youtube|vimeo)"</code></td>
259
+ </tr>
260
+ </tbody>
261
+ </table>
262
+ </div>
263
+ <code class="block-code">&lt;a href=&quot;https://unsplash.it/1200/768.jpg?image=251&quot; data-toggle=&quot;lightbox&quot; data-gallery=&quot;example-gallery&quot; data-type=&quot;image&quot;&gt;
264
+ &lt;img src=&quot;https://unsplash.it/600.jpg?image=251&quot; class=&quot;img-fluid&quot;&gt;
265
+ &lt;/a&gt;</code>
266
+
267
+ <h2>Events</h2>
268
+ <p>Events can be hooked into, set the the same as options above.</p>
269
+ <div class="table-responsive">
270
+ <table class="table table-bordered">
271
+ <thead>
272
+ <tr>
273
+ <th>Name</th>
274
+ <th>Description</th>
275
+ </tr>
276
+ </thead>
277
+ <tbody>
278
+ <tr>
279
+ <td>onContentLoaded</td>
280
+ <td>Fired when content (image/video/remote page etc) has been fully loaded.</td>
281
+ </tr>
282
+ <tr>
283
+ <td>onNavigate</td>
284
+ <td>Fired before navigating a gallery.</td>
285
+ </tr>
286
+ <tr>
287
+ <td>onShow/onShown/onHide/onHidden</td>
288
+ <td>Inherited from the bootstrap modal.</td>
289
+ </tr>
290
+ </tbody>
291
+ </table>
292
+ </div>
293
+
294
+ <h2>Examples</h2>
295
+ <p>Thanks to <a href="https://unsplash.it/">https://unsplash.it/</a> for the images.</p>
296
+ <ul>
297
+ <li><a href="#single-image">Single Image</a></li>
298
+ <li><a href="#image-gallery">Image Gallery</a></li>
299
+ <li><a href="#videos">Videos</a></li>
300
+ <li><a href="#videos-gallery">Gallery of Videos</a></li>
301
+ <li><a href="#mixed-gallery">Mixed gallery</a></li>
302
+ <li><a href="#programatically-call">Programmatically call</a></li>
303
+ <li><a href="#data-remote">Via <code>data-remote</code></a></li>
304
+ <li><a href="#force-type">Force type</a></li>
305
+ <li><a href="#hidden-elements">Hidden elements</a></li>
306
+ <li><a href="#remote-content">Remote content</a></li>
307
+ </ul>
308
+
309
+ <h3 id="single-image">Single Image</h3>
310
+ <p>Note: uses modal plugin title option via <code>data-title</code>, and the custom footer tag using <code>data-footer</code></p>
311
+ <div class="row">
312
+ <div class="offset-sm-4 col-sm-3" data-code="example-1">
313
+ <a href="https://unsplash.it/1200/768.jpg?image=250" data-toggle="lightbox" data-title="A random title" data-footer="A custom footer text">
314
+ <img src="https://unsplash.it/600.jpg?image=250" class="img-fluid">
315
+ </a>
316
+ </div>
317
+ </div>
318
+ <code class="html" data-code="example-1"></code>
319
+
320
+ <h3 id="image-gallery">Image Gallery</h3>
321
+ <p>Galleries are created by adding the <code>data-gallery</code> attribute.</p>
322
+ <div data-code="example-2">
323
+ <div class="row">
324
+ <div class="offset-md-2 col-md-8">
325
+ <div class="row">
326
+ <a href="https://unsplash.it/1200/768.jpg?image=251" data-toggle="lightbox" data-gallery="example-gallery" class="col-sm-4">
327
+ <img src="https://unsplash.it/600.jpg?image=251" class="img-fluid">
328
+ </a>
329
+ <a href="https://unsplash.it/1200/768.jpg?image=252" data-toggle="lightbox" data-gallery="example-gallery" class="col-sm-4">
330
+ <img src="https://unsplash.it/600.jpg?image=252" class="img-fluid">
331
+ </a>
332
+ <a href="https://unsplash.it/1200/768.jpg?image=253" data-toggle="lightbox" data-gallery="example-gallery" class="col-sm-4">
333
+ <img src="https://unsplash.it/600.jpg?image=253" class="img-fluid">
334
+ </a>
335
+ </div>
336
+ <div class="row">
337
+ <a href="https://unsplash.it/1200/768.jpg?image=254" data-toggle="lightbox" data-gallery="example-gallery" class="col-sm-4">
338
+ <img src="https://unsplash.it/600.jpg?image=254" class="img-fluid">
339
+ </a>
340
+ <a href="https://unsplash.it/1200/768.jpg?image=255" data-toggle="lightbox" data-gallery="example-gallery" class="col-sm-4">
341
+ <img src="https://unsplash.it/600.jpg?image=255" class="img-fluid">
342
+ </a>
343
+ <a href="https://unsplash.it/1200/768.jpg?image=256" data-toggle="lightbox" data-gallery="example-gallery" class="col-sm-4">
344
+ <img src="https://unsplash.it/600.jpg?image=256" class="img-fluid">
345
+ </a>
346
+ </div>
347
+ </div>
348
+ </div>
349
+ </div>
350
+ <code class="html" data-code="example-2"></code>
351
+
352
+ <h3 id="videos">Videos</h3>
353
+ <h4>YouTube</h4>
354
+ <p>You can use various YouTube URL formats, the regex used is: <code>/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/</code></p>
355
+ <div data-code="example-3">
356
+ <p><a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ" data-toggle="lightbox">Justin Bieber - Love Yourself</a></p>
357
+ <p><a href="http://youtu.be/b0jqPvpn3sY" data-toggle="lightbox">Tame Impala - Elephant (using youtu.be link)</a></p>
358
+ <p><a href="https://www.youtube.com/watch?v=oyEuk8j8imI&rel=0" data-toggle="lightbox">Justin Bieber - Love Yourself</a> (suppress related videos with <code>&rel=0</code>)</p>
359
+ </div>
360
+ <code data-code="example-3" data-trim="all"></code>
361
+ <h4>Vimeo</h4>
362
+ <p>You cannot embed Vimeo videos using the standard url (ie http://vimeo.com/80629469); you must link to the embed source (ie player.vimeo.com/video/80629469). This will mean your link url - if the JavaScript fails, will open the full screen player (try opening the first link below in a new tab); the solution to this is to set the lightbox source directly - the second link below does this.</p>
363
+ <div data-code="example-3-b">
364
+ <p><a href="http://player.vimeo.com/video/80629469" data-toggle="lightbox">City Lights - from Colin Rich (using embed link)</a></p>
365
+ <p><a href="http://vimeo.com/80629469" data-remote="http://player.vimeo.com/video/80629469" data-toggle="lightbox">City Lights - from Colin Rich</a> (with reccommended <code>data-remote</code> setting)</p>
366
+ </div>
367
+ <code data-code="example-3-b" data-trim="all"></code>
368
+ <h4>Instagram</h4>
369
+ <p></p>
370
+ <div data-code="example-3-c">
371
+ <p><a href="http://instagram.com/p/pZfG1fPfuX/" data-toggle="lightbox" data-title="Plug for our new service">GOtags.co.uk</a></p>
372
+ <p>This also works with photos: <a href="//instagram.com/p/0wbypvPfmQ/" data-toggle="lightbox">GOtags.co.uk</a></p>
373
+ </div>
374
+ <code data-code="example-3-c" data-trim="all"></code>
375
+ <h4>Forcing width</h4>
376
+ <p>Set the width of the video</p>
377
+ <div data-code="example-3-d">
378
+ <p><a href="https://www.youtube.com/watch?v=e-ORhEE9VVg" data-toggle="lightbox">Taylor Swift - Blank Space (standard)</a></p>
379
+ <p><a href="https://www.youtube.com/watch?v=e-ORhEE9VVg" data-toggle="lightbox" data-width="640">Taylor Swift - Blank Space (640 x 360)</a></p>
380
+ <p><a href="https://www.youtube.com/watch?v=e-ORhEE9VVg" data-toggle="lightbox" data-width="1280">Taylor Swift - Blank Space (1280 x 780)</a></p>
381
+ </div>
382
+ <code data-code="example-3-d" data-trim="all"></code>
383
+
384
+ <!-- i hope your coworkers think you're listening to some justin and taylor -->
385
+
386
+ <h3 id="videos-gallery">Gallery of Videos</h3>
387
+ <div class="row">
388
+ <div class="offset-md-1 col-md-10">
389
+ <div class="row" data-code="example-4">
390
+ <a href="http://www.youtube.com/watch?v=k6mFF3VmVAs" data-toggle="lightbox" data-gallery="youtubevideos" class="col-sm-4">
391
+ <img src="//i1.ytimg.com/vi/yP11r5n5RNg/mqdefault.jpg" class="img-fluid">
392
+ </a>
393
+ <a href="http://youtu.be/iQ4D273C7Ac" data-toggle="lightbox" data-gallery="youtubevideos" class="col-sm-4">
394
+ <img src="//i1.ytimg.com/vi/iQ4D273C7Ac/mqdefault.jpg" class="img-fluid">
395
+ </a>
396
+ <a href="//www.youtube.com/embed/b0jqPvpn3sY" data-toggle="lightbox" data-gallery="youtubevideos" class="col-sm-4">
397
+ <img src="//i1.ytimg.com/vi/b0jqPvpn3sY/mqdefault.jpg" class="img-fluid">
398
+ </a>
399
+ </div>
400
+ </div>
401
+ </div>
402
+ <code data-code="example-4"></code>
403
+
404
+ <h3 id="mixed-gallery">Mixed gallery</h3>
405
+ <div class="row">
406
+ <div class="offset-md-1 col-md-10">
407
+ <div class="row flex-items-xs-center" data-code="example-5">
408
+ <a href="http://www.youtube.com/watch?v=k6mFF3VmVAs" data-toggle="lightbox" data-gallery="mixedgallery" class="col-sm-4">
409
+ <img src="//i1.ytimg.com/vi/yP11r5n5RNg/mqdefault.jpg" class="img-fluid">
410
+ </a>
411
+ <a href="https://unsplash.it/1200/768.jpg?image=257" data-toggle="lightbox" data-gallery="mixedgallery" class="col-sm-4">
412
+ <img src="https://unsplash.it/600.jpg?image=257" class="img-fluid">
413
+ </a>
414
+ <a href="http://vimeo.com/80629469" data-remote="http://player.vimeo.com/video/80629469" data-toggle="lightbox" data-gallery="mixedgallery" class="col-sm-4">
415
+ <img src="//b.vimeocdn.com/ts/458/070/458070637_200.jpg" class="img-fluid">
416
+ </a>
417
+ </div>
418
+ </div>
419
+ </div>
420
+ <code data-code="example-5"></code>
421
+
422
+ <h3 id="programatically-call">Programmatically call</h3>
423
+ <p>These two examples are opened via the JavaScript at the bottom of the source.</p>
424
+ <div class="row">
425
+ <div class="offset-md-1 col-md-10">
426
+ <div class="row" data-code="example-6">
427
+ <a href="https://unsplash.it/1200/768.jpg?image=258" id="open-image" class="col-sm-4">
428
+ <img src="https://unsplash.it/600.jpg?image=258" class="img-fluid">
429
+ </a>
430
+ <a href="http://youtu.be/iQ4D273C7Ac" id="open-youtube" class="col-sm-4">
431
+ <img src="//i1.ytimg.com/vi/iQ4D273C7Ac/mqdefault.jpg" class="img-fluid">
432
+ </a>
433
+ </div>
434
+ </div>
435
+ </div>
436
+ <code data-code="example-6"></code>
437
+ <code class="block-code">$(&#39;#open-image&#39;).click(function (e) {
438
+ e.preventDefault();
439
+ $(this).ekkoLightbox();
440
+ });
441
+ $(&#39;#open-youtube&#39;).click(function (e) {
442
+ e.preventDefault();
443
+ $(this).ekkoLightbox();
444
+ });</code>
445
+
446
+ <h3 id="data-remote">Via <code>data-remote</code></h3>
447
+ <p>Neither of these are <code>&lt;a /&gt;</code> tags, so both rely on the <code>data-remote</code> attribute.</p>
448
+ <div class="row">
449
+ <div class="offset-md-1 col-md-10">
450
+ <div class="row" data-code="example-7">
451
+ <img src="https://unsplash.it/600.jpg?image=259" data-toggle="lightbox" data-remote="https://unsplash.it/1200/768.jpg?image=259" class="img-fluid col-sm-4">
452
+ <img src="//i1.ytimg.com/vi/b0jqPvpn3sY/mqdefault.jpg" data-toggle="lightbox" data-remote="//www.youtube.com/embed/b0jqPvpn3sY" class="img-fluid col-sm-4">
453
+ </div>
454
+ </div>
455
+ </div>
456
+ <code data-code="example-7"></code>
457
+
458
+ <h3 id="force-type">Force type</h3>
459
+ <p>If the images you are linking to have no extension, the lightbox cannot detect that is an image; therefore you need to tell the lightbox what <code>data-type</code> it is.</p>
460
+ <p>Current allowed types are: <code>['image', 'youtube', 'vimeo', 'instagram', 'video', 'url']</code></p>
461
+ <div data-code="example-8">
462
+ <p><a href="https://unsplash.it/1200/768?image=260" data-title="Force image display" data-footer="The remote of this modal has no extension (https://unsplash.it/1200/768?image=260) but works because the type is forced." data-toggle="lightbox" data-type="image">Click here for an image, but with no extension.</a></p>
463
+ <p><a href="https://unsplash.it/1200/768?image=261" data-footer="Without the type forced, the lightbox will remote load the content" data-toggle="lightbox">This link is missing the type attribute, and will iframe the image.</a></p>
464
+ <p><a href="http://www.youtube.com/watch?v=b0jqPvpn3sY" data-toggle="lightbox" data-type="image">This link is linking to a YouTube video, but forcing an image.</a></p>
465
+ </div>
466
+ <code data-code="example-8"></code>
467
+
468
+ <h3 id="hidden-elements">Hidden elements</h3>
469
+ <p>Facebook style, only show a few images but have a large gallery</p>
470
+ <div class="row">
471
+ <div class="offset-md-2 col-md-8">
472
+ <div class="row" data-code="example-9">
473
+ <a href="https://unsplash.it/1200/768.jpg?image=263" data-toggle="lightbox" data-gallery="hidden-images" class="col-sm-4">
474
+ <img src="https://unsplash.it/600.jpg?image=263" class="img-fluid">
475
+ </a>
476
+ <a href="https://unsplash.it/1200/768.jpg?image=264" data-toggle="lightbox" data-gallery="hidden-images" class="col-sm-4">
477
+ <img src="https://unsplash.it/600.jpg?image=264" class="img-fluid">
478
+ </a>
479
+ <a href="https://unsplash.it/1200/768.jpg?image=265" data-toggle="lightbox" data-gallery="hidden-images" class="col-sm-4">
480
+ <img src="https://unsplash.it/600.jpg?image=265" class="img-fluid">
481
+ </a>
482
+ <!-- elements not showing, use data-remote -->
483
+ <div data-toggle="lightbox" data-gallery="hidden-images" data-remote="https://unsplash.it/1200/768.jpg?image=264" data-title="Hidden item 1"></div>
484
+ <div data-toggle="lightbox" data-gallery="hidden-images" data-remote="//www.youtube.com/embed/b0jqPvpn3sY" data-title="Hidden item 2"></div>
485
+ <div data-toggle="lightbox" data-gallery="hidden-images" data-remote="https://unsplash.it/1200/768.jpg?image=265" data-title="Hidden item 3"></div>
486
+ <div data-toggle="lightbox" data-gallery="hidden-images" data-remote="https://unsplash.it/1200/768.jpg?image=266" data-title="Hidden item 4"></div>
487
+ <div data-toggle="lightbox" data-gallery="hidden-images" data-remote="https://unsplash.it/1200/768.jpg?image=267" data-title="Hidden item 5"></div>
488
+ </div>
489
+ </div>
490
+ </div>
491
+ <code data-code="example-9"></code>
492
+
493
+ <h3 id="remote-content">Remote content</h3>
494
+ <p>Given a URL, that is not an image or video (including unforced types), load the content using an iFrame.</p>
495
+ <div class="row">
496
+ <div class="offset-md-1 col-md-10" data-code="example-10">
497
+ <div class="row">
498
+ <p class="col-sm-3"><a href="http://getbootstrap.com" data-title="Bootstrap" data-width="1200" data-toggle="lightbox" data-gallery="remoteload">Bootstrap Docs</a></p>
499
+ </div>
500
+ </div>
501
+ </div>
502
+ <code data-code="example-10"></code>
503
+
504
+ <p class="footer"><span>Built by me, <a href="https://ashleyd.ws">ashleydw</a></span></p>
505
+ </div>
506
+ </div>
507
+ </div>
508
+
509
+
510
+ <script src="//ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js" integrity="sha384-THPy051/pYDQGanwU6poAc/hOdQxjnOEXzbT+OuUAFqNqFjL+4IGLBgCJC3ZOShY" crossorigin="anonymous"></script>
511
+ <script src="//cdnjs.cloudflare.com/ajax/libs/tether/1.2.0/js/tether.min.js" integrity="sha384-Plbmg8JY28KFelvJVai01l8WyZzrYWG825m+cZ0eDDS1f7d/js6ikvy1+X+guPIB" crossorigin="anonymous"></script>
512
+ <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
513
+ <script src="../dist/ekko-lightbox.js"></script>
514
+
515
+ <!-- for documentation only -->
516
+ <script src="//cdnjs.cloudflare.com/ajax/libs/anchor-js/3.2.1/anchor.min.js"></script>
517
+ <script type="text/javascript">
518
+ $(document).ready(function ($) {
519
+ // delegate calls to data-toggle="lightbox"
520
+ $(document).on('click', '[data-toggle="lightbox"]:not([data-gallery="navigateTo"])', function(event) {
521
+ event.preventDefault();
522
+ return $(this).ekkoLightbox({
523
+ onShown: function() {
524
+ if (window.console) {
525
+ return console.log('Checking our the events huh?');
526
+ }
527
+ },
528
+ onNavigate: function(direction, itemIndex) {
529
+ if (window.console) {
530
+ return console.log('Navigating '+direction+'. Current item: '+itemIndex);
531
+ }
532
+ }
533
+ });
534
+ });
535
+
536
+ //Programmatically call
537
+ $('#open-image').click(function (e) {
538
+ e.preventDefault();
539
+ $(this).ekkoLightbox();
540
+ });
541
+ $('#open-youtube').click(function (e) {
542
+ e.preventDefault();
543
+ $(this).ekkoLightbox();
544
+ });
545
+
546
+ // navigateTo
547
+ $(document).on('click', '[data-toggle="lightbox"][data-gallery="navigateTo"]', function(event) {
548
+ event.preventDefault();
549
+
550
+ return $(this).ekkoLightbox({
551
+ onShown: function() {
552
+
553
+ this.modal().on('click', '.modal-footer a', function(e) {
554
+
555
+ e.preventDefault();
556
+ this.navigateTo(2);
557
+
558
+ }.bind(this));
559
+
560
+ }
561
+ });
562
+ });
563
+
564
+
565
+ /**
566
+ * Documentation specific - ignore this
567
+ */
568
+ anchors.options.placement = 'left';
569
+ anchors.add('h3');
570
+ $('code[data-code]').each(function() {
571
+
572
+ var $code = $(this),
573
+ $pair = $('div[data-code="'+$code.data('code')+'"]');
574
+
575
+ $code.hide();
576
+ var text = $code.text($pair.html()).html().trim().split("\n");
577
+ var indentLength = text[text.length - 1].match(/^\s+/)
578
+ indentLength = indentLength ? indentLength[0].length : 24;
579
+ var indent = '';
580
+ for(var i = 0; i < indentLength; i++)
581
+ indent += ' ';
582
+ if($code.data('trim') == 'all') {
583
+ for (var i = 0; i < text.length; i++)
584
+ text[i] = text[i].trim();
585
+ } else {
586
+ for (var i = 0; i < text.length; i++)
587
+ text[i] = text[i].replace(indent, ' ').replace(' ', '');
588
+ }
589
+ text = text.join("\n");
590
+ $code.html(text).show();
591
+
592
+ });
593
+ });
594
+ </script>
595
+ </body>
596
+ </html>