diff options
Diffstat (limited to 'docs/js/initGallery.js')
-rw-r--r-- | docs/js/initGallery.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/docs/js/initGallery.js b/docs/js/initGallery.js new file mode 100644 index 0000000..735bfcf --- /dev/null +++ b/docs/js/initGallery.js @@ -0,0 +1,23 @@ +/* + * blueimp Gallery Demo JS + * https://github.com/blueimp/Gallery + * + * Copyright 2013, Sebastian Tschan + * https://blueimp.net + * + * Licensed under the MIT license: + * https://opensource.org/licenses/MIT + */ + +/* global blueimp, $ */ + +$(function () { + 'use strict' + // Initialize the Gallery as video carousel: + // eslint-disable-next-line new-cap + blueimp.Gallery(document.getElementById('links').getElementsByTagName('a'), { + //container: '#__docusaurus div div #blueimp-gallery-carousel', + container: document.getElementById('blueimp-gallery-carousel'), + carousel: true + }) +}) |