![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jquery
文章平均质量分 82
Rabbit誩
无
展开
-
详解jquery插件中(function ( $, window, document, undefined )的作用
在jquery插件中我们经常看到以下这段代码;(function ( $, window, document, undefined ){ //函数体内具体代码 })(jQuery, window,document);对于很多初学者来说很难明白这表示什么,下边我将为大家介绍其相应的作用。1、代码最前面的分号,可以防止多个文件压缩合并以为其他文件最后一行语句没加分号,而引起合并转载 2014-11-21 12:36:29 · 590 阅读 · 0 评论 -
jquery插件,回到顶部
/** * escrolltotop jquery回到顶部插件,平滑返回顶部、 * * 参数设置 * startline : 出现返回顶部按钮离顶部的距离 * scrollto : 滚动到距离顶部的距离,或者某个id元素的位置 * scrollduration : 平滑滚动时间 * fadeduration : 淡入淡出时间 eg:[ 500, 100转载 2014-11-21 23:55:52 · 520 阅读 · 0 评论 -
drap插件
;(function($,window,document,undefined) { var pluginName = "drag", defaults = { onDrag: function(event,elem){}, onMove: function(event,elem){}, onDrop: function(event,elem){} }, Plugin = fun原创 2014-11-21 22:21:58 · 497 阅读 · 0 评论 -
jQuery cxSelect
原文地址:https://github.com/ciaoca/cxSelect转载 2014-11-22 10:25:24 · 3554 阅读 · 0 评论 -
jQuery上传插件Uploadify的使用方法
下载免费的Uploadify包 :转载 2014-11-22 15:37:38 · 610 阅读 · 0 评论