jQuery 例子
加载
$(document).ready(function(){
.........
});
livequery
URL:
Use:
$("#id").livequery("click",function(){
jQuery.livequery.registerPlugin("after", "append", "attr","addClass","removeClass");
.....
});
uploadify
URL:
Use:
$('#up_cover').uploadify({
'uploader' : 'js/uploadify/uploadify.swf',
'script' : 'js/uploadify/uploadify.php',
'cancelImg' : 'js/uploadify/cancel.png',
'folder' : 'uploads',
'auto' : true,
'multi' : false,
'removeCompleted': true,
'fileDesc' : "Please select PNG, JPG, GIF, BMP, JPEG.",
'fileExt' : '*.png;*.jpg;*.gif;*.bmp;*.jpeg',
'onComplete' : function(eve, ID, fileObj, response, data) {
//alert($.cookie('bj'));
//alert($("#up_bj").val());
var img = "
";
var dirval = "
";
$("#up_cover_img").html("");
$("#up_cover_img").append(img+dirval);
},
});
Table Drag and Drop JQuery plugin
URL:
use:
1 | One | some text |
2 | Two | some text |
3 | Three | some text |
4 | Four | some text |
5 | Five | some text |
6 | Six | some text |
FancyBox 图片效果
URL:
use:
<script type="text/javascript" src=""></script>
<script>
!window.jQuery && document.write('
阅读(2051) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~
chinaunix网友2011-03-06 17:46:32
很好的, 收藏了
推荐一个博客,提供很多免费软件编程电子书下载:
http://free-ebooks.appspot.com
|