jquery插件
专业前端小白
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
纯js实现loading覆盖层
纯js实现loading覆盖层,可在任意div内添加覆盖层,调用很方便原创 2022-09-27 09:57:46 · 1155 阅读 · 1 评论 -
jquery日历插件,可自定义日期内容
效果图:使用:<link href="static/css/raoCalendar.css" rel="stylesheet" type="text/css"><script src="static/js/jquery.min.js"></script><script src="static/js/raoCalendar.js"></script><script> var data = [ .原创 2022-05-31 17:13:24 · 2509 阅读 · 7 评论 -
jquery手写一个插件组件
先看下效果吧:插件代码:(function(){ $.fn.indexBanner = function (options) { //2.将调用时候传过来的参数和default参数合并 options = $.extend({}, $.fn.indexBanner.defaults, options || {}); //3.添加默认值 var target = $(this); target.e.原创 2020-06-18 17:19:55 · 399 阅读 · 0 评论 -
jquery插件写法实例
这里使用$.fn.extend的方法来制作jquery插件:(function($,window,document){ var defaults = { color: "red", fontSize: "15px", content: "你好", }; $.fn.extend({ fun: function(options){...原创 2018-12-29 09:24:32 · 190 阅读 · 1 评论 -
使用swiper+jquery制作移动端日期选择器插件
自己编写一个jquery工具,因为项目需要,编写了这么一个可以选择某天,某月,某年的移动端日期选择控件:直接上代码html:<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device原创 2019-02-26 13:25:07 · 1377 阅读 · 0 评论 -
mobile-touch实现时间轴特效
使用jquery-mobile插件能够很方便的监听到移动端的滑动事件,直接复制下面代码即可:<!DOCTYPE html><html lang="zh-CN"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=...原创 2019-02-21 12:49:53 · 526 阅读 · 0 评论 -
jquery弹出层遮罩层点击事件,点击遮罩隐藏弹框
html:<div class="submit_page"> <div class="submit_box"> <div class="submit_title"> <span id="title"><i class="glyphicon glyphicon-envelope&原创 2019-03-08 09:28:36 · 3241 阅读 · 0 评论 -
jquery制作五星好评插件
效果展示:直接上代码:<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-sc...原创 2019-03-28 16:26:33 · 693 阅读 · 0 评论
分享