diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2020-07-16 23:25:01 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2020-07-16 23:25:01 -0300 |
commit | d219bf257bbb6739c677882cd7c92c4feff17fba (patch) | |
tree | 758e3ad72711940b1306c01af5b23bcd20ca7ff2 /docs/js/initGallery.js | |
parent | 0df6c68c4318c7d1b1a75ec82d96f03ccda8301b (diff) | |
download | PSP.git-d219bf257bbb6739c677882cd7c92c4feff17fba.tar.gz PSP.git-d219bf257bbb6739c677882cd7c92c4feff17fba.tar.xz PSP.git-d219bf257bbb6739c677882cd7c92c4feff17fba.zip |
PSP-UFu website update
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 + }) +}) |