diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2021-03-10 19:49:57 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2021-03-10 19:49:57 -0300 |
commit | 089431d81620abd54b1788df6d5fac43adfee36c (patch) | |
tree | 3a398a910c0a00fc0baacb08135193c3070078ba /docs/pt/js/initGallery.js | |
parent | efdeac15fac0cda809586d617d936f29bfc924ce (diff) | |
download | PSP.git-089431d81620abd54b1788df6d5fac43adfee36c.tar.gz PSP.git-089431d81620abd54b1788df6d5fac43adfee36c.tar.xz PSP.git-089431d81620abd54b1788df6d5fac43adfee36c.zip |
PSP-UFU site i18n
with docusaurus
Diffstat (limited to 'docs/pt/js/initGallery.js')
-rw-r--r-- | docs/pt/js/initGallery.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/docs/pt/js/initGallery.js b/docs/pt/js/initGallery.js new file mode 100644 index 0000000..735bfcf --- /dev/null +++ b/docs/pt/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 + }) +}) |