Chinaunix首页 | 论坛 | 博客
  • 博客访问: 550086
  • 博文数量: 107
  • 博客积分: 5229
  • 博客等级: 大校
  • 技术积分: 1158
  • 用 户 组: 普通用户
  • 注册时间: 2007-06-08 10:50
文章分类
文章存档

2015年(1)

2014年(1)

2012年(5)

2011年(22)

2010年(12)

2009年(13)

2008年(34)

2007年(19)

我的朋友

分类:

2011-03-03 17:07:33

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 = "\""+fileObj.name+"\"";
        var dirval = "";
        $("#up_cover_img").html("");
        $("#up_cover_img").append(img+dirval);
        },
});

Table Drag and Drop JQuery plugin
URL:
use:

   
   
   
   
   
   
1Onesome text
2Twosome text
3Threesome text
4Foursome text
5Fivesome text
6Sixsome text



FancyBox 图片效果
URL:
use:


    <script type="text/javascript" src=""></script>
    <script>
        !window.jQuery && document.write(' 阅读(2008) | 评论(1) | 转发(0) |

给主人留下些什么吧!~~

chinaunix网友2011-03-06 17:46:32

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com