jQuery Shuffle Plugin
Overview
The jQuery jqShuffle Plugin allows you to take a list/group of photos/paragraphs and shuffle through them. When set, it provides a flash-like photo gallery effect.
The plugin is still in development as far as extras go. Base functionality will take your list and produce a shuffle effect similiar to the way you would shuffle a stack of photos, taking the top most photo, moving it to the left and then repositioning it to the bottom of the stack.
Quick Start Guide
1. Add a list of images
<ul class="imageBox">
<li><img src="/experiments/jqShuffle/common/pix/clippy3.jpg"/></li>
<li><img src="/experiments/jqShuffle/common/pix/happy.jpg"/></li>
<li><img src="/experiments/jqShuffle/common/pix/mycup.jpg"/></li>
<li><img src="/experiments/jqShuffle/common/pix/clippy3.jpg"/></li>
<li><img src="/experiments/jqShuffle/common/pix/happy.jpg"/></li>
<li><img src="/experiments/jqShuffle/common/pix/mycup.jpg"/></li>
</ul>
2. Include jQuery and jqShuffle in the head of your web page
<script type="text/javascript">
$(document).ready(function(){
$(".imageBox").jqShuffle();
});
</script>
评论