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
MobilyBlocks
Posted by: Marcin Dziewulski on 12.12.10
jQuery plugin (2KB) that allows you to create an unordered list as an animated circle.
Changelog:
25.1.2011 - fixes for hover event, added direction option (clockwise or counter-clockwise)
8.1.2011 - added hover trigger
13.12.2010 - fixes for click event
JavaScript:
$('.blocks').mobilyblocks({
trigger: 'click', // click or hover
direction: 'clockwise', // clockwise or counter
duration: 500, // duration of animation
zIndex: 50, // z-index value of 'li' elements
widthMultiplier: 1.15
});
HTML:
<div class="blocks"> <ul class="reset"> <li> .. </li> <li> .. </li> <li> .. </li> <!-- etc. --> </ul> </div>
CSS:
.blocks {
display:block;
width:;
height:; /* you need to specify width and height values */
position:relative;
cursor:pointer;
}
ul.reset,
ul.reset li {
display:block;
list-style:none;
padding:0;
margin:0;
}
ul.reset li {
position:absolute;
}
Comments:
Katherine Hague
27.08.11, 23:53Santhosh
26.08.11, 12:32Andrea
28.07.11, 14:33jack
22.07.11, 13:51Bernard TALLENT
07.05.11, 15:55Marc Alexander
01.05.11, 11:03Alex
29.03.11, 14:40Jim Browski
24.03.11, 11:50e11world
02.03.11, 19:48Abdulhakim Haliru
27.02.11, 11:46Write a Comment