No commit activity in last 3 years
No release in over 3 years
slideshow component
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.3
>= 0

Runtime

~> 4.2
 Project Readme

slideshow

Simple slideshow component

install

component install kaerus-component/slideshow

build from source

You need component.js to bundle the source files. As a prerequisite run npm i component -g if you don't alreadhy have component installed.

Then run make to install the dependencies and build into ./build

Run make gem to build a new version of the rubygem.

To remove all the build files run make distclean

usage

<!doctype html>
<html>
<head>
	<title>Carousel test</title>
	<link rel="stylesheet" type="text/css" href="slideshow.css">
</head>
<body>
	<div id="mySlides">
		<div><img src="s1.jpg"><span class="caption">Slide#1</span></div>
		<div><img src="s2.jpg"><span class="caption">Slide#2</span></div>
		<div><img src="s3.jpg"><span class="caption">Slide#3</span></div>
		<div><img src="s4.jpg"><span class="caption">Slide#4</span></div>
		<div><img src="s5.jpg"><span class="caption">Slide#5</span></div>
		<div><img src="s6.jpg"><span class="caption">Slide#6</span></div>
		<div><img src="s7.jpg"><span class="caption">Slide#7</span></div>
	</div>	

	<script src="build/build.js"></script>
	<script>
		var slideshow = require('slideshow');

		slideshow('mySlides').start();
	</script>
</body>
</html>