From d219bf257bbb6739c677882cd7c92c4feff17fba Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Thu, 16 Jul 2020 23:25:01 -0300 Subject: PSP-UFu website update --- docs/js/initGallery.js | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 docs/js/initGallery.js (limited to 'docs/js/initGallery.js') 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 + }) +}) -- cgit