jQuery Shuffle Plugin

联合创作 · 2023-10-02 15:44

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>
浏览 5
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报