Tiny Carousel is a lightweight carousel for sliding html based content. It was built using the javascript jQuery library. Tiny Carousel was designed to be a dynamic lightweight utility that gives webdesigners a powerfull way of enhancing a websites user interface.
If you need some more (advanced) examples you can find them here.
$(document).ready(function()
{
$('#slider1').tinycarousel();
});
$(document).ready(function()
{
$("#slider3").tinycarousel({
bullets : true
});
});
$(document).ready(function()
{
$("#slider4").tinycarousel({
bullets : true
, buttons : false
, animation : false
});
});
$(document).ready(function()
{
$("#slider5").tinycarousel({
axis : "y"
});
});
$(document).ready(function()
{
$("#slider7").tinycarousel({ interval: true });
var slider7 = $("#slider7").data("plugin_tinycarousel");
// The move method you can use to make a
// anchor to a certain slide.
//
$('#gotoslide4').click(function()
{
slider7.move(4);
return false;
});
// The start method starts the interval.
//
$('#startslider').click(function()
{
slider7.start();
return false;
});
// The stop method stops the interval.
//
$('#stopslider').click(function()
{
slider7.stop();
return false;
});
});
A list of all the available options and there default value
$(document).ready(function()
{
// You can access the methods and properties of your
// carousel instance straight after initialization.
//
$('#box').tinycarousel();
// This part you can do from whatever place in your
// code as long as the carousel allready is initialized.
//
var box = $('#box').data("plugin_tinycarousel");
// Now you have access to all the methods and properties.
//
// box.update();
// console.log(box.slideCurrent);
//
// etc..
});
$(document).ready(function()
{
var $box = $('#box');
var box = $box.tinycarousel();
$box.bind("move", function()
{
console.log("do something on every move to a new slide");
});
});
Tinycarousel is a free script its licensed under the MIT license. However a donation for my labor of love is greatly appreciated :)
The latest source is available on GitHub.
For a small fee I can help you implement the script in your project. Missing any features? I can build them for you