Tinycircleslider is a circular slider / carousel. That was built to provide webdevelopers with a cool but subtle alternative to all those standard carousels. Tiny Circleslider can blend in on any wepage. It was built using the javascript jQuery library.
Anything is possible! For a small fee i can help you implement the script in your project. Missing any features? I can build them for you!!
$(document).ready(function()
{
$('#circleslider1').tinycircleslider();
});
$(document).ready(function()
{
$("#circleslider2").tinycircleslider({
interval : true
, dotsSnap : true
});
});
Note: There is no lightbox natively in tiny circleslider for this example fancybox was used.
$(document).ready(function()
{
$("#circleslider3").tinycircleslider({
dotsSnap : true
, radius : 170
, dotsHide : false
});
$("#circleslider3").find("a").fancybox();
});
To get a better understanding of how it all comes together I made a (corny) styled example. If someone can make a nicer design it would be greatly appreciated :)
$(document).ready(function()
{
$("#circleslider4").tinycircleslider({
dotsSnap : true
, radius : 215
, dotsHide : false
, interval : true
});
});
A list of all the available options and there default value
The image below displays how you calculate the radius of your circleslider. The center of your slider to the center of the outside circle is your radius.
$(document).ready(function()
{
// You can access the methods and properties of your
// slider instance straight after initialization.
//
$('#box').tinycircleslider();
// This part you can do from whatever place in your
// code as long as the slider allready is initialized.
//
var box = $('#box').data("plugin_tinycircleslider");
// 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.tinycircleslider();
$box.bind("move", function()
{
console.log("do something on every move to a new slide");
});
});
Tinycircleslider 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.