A set of javascript tools to interact with Comet albums
These widgets depend on jQuery and Bootstrap to work.
Get the libraries with bower
bower install comet-widgets
Import it in your html
<!-- include css dependencies -->
<link rel="stylesheet" href="./bower_components/bootstrap/css/bootstrap.min.css" />
<!-- include js dependencies -->
<script src="./bower_components/jquery/dist/jquery.min.js"></script>
<script src="./bower_components/bootstrap/js/bootstrap.min.js"></script>
<!-- include comet-widget -->
<script src="./bower_components/comet-widgets/dist/comet-widgets.js"></script>
Automatically displays a fullscreen slideshow of the pictures existing in an album.
var carousel = new cometWidgets.carousel('ALBUM_ID');
carousel.start();
// use carousel.stop() to stop the slideshow
Thel ALBUM_ID
is either a comet short_id
if the album owns one, or the universal id
of this album.
Cf the example folder.
Check out the github page of the project.