
jquery
使用jquery封装的技术知识
wenruns
走在路上迷了路。。。。。
展开
-
史上最牛的原生js实现ajax
废话不多说,直接上代码:let ajaxRequest = function({ url, method='GET', data = null, success= null, fail = null, ...原创 2020-04-03 10:06:25 · 172 阅读 · 0 评论 -
使用iframe实现多个页面之间的切换(iframe高度自适应)
效果展示实现代码1、ListSet对象if (typeof ListSet != 'undefined') { delete ListSet; } /** * * @param eleId * @param navs [{text: '',url: '',attributes: {}, style:{}, number:'', show: true},{text: '',url: '',attributes: {}, style:{},原创 2020-10-31 17:44:36 · 2433 阅读 · 1 评论 -
js实现抽奖滚动效果
本文介绍js实现抽奖滚动效果的实现过程。具体效果如下图:原创 2020-11-26 16:08:30 · 5218 阅读 · 3 评论 -
JS快速实现左侧菜单工具栏
一、描述该js脚本可帮助你快速实现左侧菜单工具栏。通过js封装成一个方法类,直接new该对象即可快速生成左侧菜单工具栏。二、Example1、html文件<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalab原创 2021-03-06 14:31:38 · 1949 阅读 · 0 评论 -
纯js实现流程进度显示——学习篇
一、效果展示二、上代码1、Progress对象if (typeof Progress != 'undefined') { delete Progress; } var Progress = function ({ eleId, data }) { this原创 2020-10-31 18:26:23 · 1914 阅读 · 2 评论