All right reserved.
mobily.pl - marcin dziewulski © 2009 - 2012
Check out the new website with fresh and new jQuery plugins and tutorials!
Visit jscraft.net
Visit jscraft.net
MobilySlider
Posted by: Marcin Dziewulski on 20.01.11
MobilySlider is advanced slideshow plugin for jQuery (5KB).
- can add inline HTML content (awesome!)
- looping
- auto generated pagination
- auto generated arrows
- autoplay
- fade, horizontal, vertical slide transition effect
- pause on hover
- callback functions
Changelog:
03.10.2011 - fixed animation bug in FF6 and Chrome 02.02.2011 - added fade transition
Featured on:
JavaScript:
$('.slider').mobilyslider({
content: '.sliderContent', // class for slides container
children: 'div', // selector for children elements
transition: 'horizontal', // transition: horizontal, vertical, fade
animationSpeed: 300, // slide transition speed (miliseconds)
autoplay: false,
autoplaySpeed: 3000, // time between transitions (miliseconds)
pauseOnHover: false, // stop animation while hovering
bullets: true, // generate pagination (true/false, class: sliderBullets)
arrows: true, // generate next and previous arrow (true/false, class: sliderArrows)
arrowsHide: true, // show arrows only on hover
prev: 'prev', // class name for previous button
next: 'next', // class name for next button
animationStart: function(){}, // call the function on start transition
animationComplete: function(){} // call the function when transition completed
});
HTML:
<div class="slider"> <div class="sliderContent"> <div class="item"> <!-- any html content! --> </div> <!-- next slides --> </div> </div>
CSS:
.slider {
width:; /* specify width and height values */
height:;
position:relative;
}
.sliderContent {
width:; /* specify width and height values */
height:;
float:left;
position:relative;
overflow:hidden;
}
.sliderContent .item {
width:; /* specify width and height values */
height:;
position:absolute;
background:#fff;
}
Comments:
Limo
25.08.11, 14:02Harish
10.08.11, 10:05Cesar
04.08.11, 20:09randolph romero
30.04.11, 05:37Jan
18.04.11, 22:20Martijn
14.03.11, 11:55James
05.03.11, 19:27Graham
24.02.11, 21:15Marcin Dziewulski
23.02.11, 08:48TonyS
22.02.11, 18:35Write a Comment