
javascript插件
学海无涯书山有路
这个作者很懒,什么都没留下…
展开
-
vue.js学习资料链接
手机端uihttp://vue.ydui.org/demo/?from=singlemessage&isappinstalled=0#/原创 2017-12-20 18:51:05 · 269 阅读 · 0 评论 -
require.js及模块化编程相关概念
github地址:https://github.com/requirejs/requirejs好的文章:https://www.jianshu.com/p/8687f539642crequire.js 是一个JavaScript文件和模块加载器,也是模块管理工具requireJs 作用是什么,优势是什么? 它解决什么难题?1. 有效防止了命名冲突2. 声明了不同 JS 文件...原创 2019-12-07 22:36:36 · 164 阅读 · 0 评论 -
jquery的基础用法
如何自定义事件? <script> $(function(){ $('.son').on('myclick'function(){ alert('son') }) $('.s...原创 2019-12-05 18:09:47 · 116 阅读 · 0 评论 -
layer使用
1. 点击 打开 一个iframe 弹出层$("#add_group_s").click(function(){ layer.open({ title:'选择要奖励的群 --> 选择群成员', type: 2, area: ['970px', '725px'], content: '/coupon/group_wid原创 2017-09-14 17:16:36 · 599 阅读 · 0 评论 -
ajax分页封装为jquery插件
;(function($, window, document,undefined) { var AjaxPage = function(ele, opt) { this.$element = ele, this.defaults = { 'targetData': 'target_href', 'contentElem转载 2017-12-15 17:42:27 · 329 阅读 · 0 评论 -
上那些网站寻找javascript插件?
http://www.jq22.comhttps://plugins.jquery.comgithub.com原创 2017-12-15 17:59:31 · 470 阅读 · 0 评论 -
扩展jQuery右键默认事件
(function($){ //隐藏作用域 避免和$冲突$.event.rightclickDisabled = $([]); //禁用列表//定义特殊事件对象$.event.special.rightclick = { eventType : 'rightclick', //定义事件类型 /* data namespaces *原创 2017-12-16 22:48:18 · 415 阅读 · 0 评论