- 昵称:51助手
- 博龄:6年5个月23天
- 粉丝:122
- 关注:108
- +关注
搜索
文章分类
博客档案
OwlCarousel2-2.3.4 快速使用
摘要:html<link rel="stylesheet" href="OwlCarousel2-2.3.4/dist/assets/owl.carousel.min.css"> <link rel="stylesheet&q
Ignored attempt to cancel a touchstart event with cancelable=false, for example because scrolling is in pr
摘要:jquery-ui 拖动元素过快报错解决方法添加样式更改将滑动报错的标签样式添加: touch-action: none;或者设置全局公共样式: *{touch-action: none;}touch-action :当你触摸并按住触摸目标时候,禁止或显示系统默认菜单。 touch-action有两种取值:none:系统默认菜单被禁用&n
js判断手势上下左右滑动
摘要:<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> &
js输入框获取焦点隐藏默认提示文字
摘要:<input type="text" name="key" value="请输入搜索关键词!" onBlur="if(this.value == '') this.value='
百度编辑器表格自适应优化
摘要:当我们让表格自适应页面宽度时,发现表格给的是固定宽度,将固定宽度改成100%,实现真正的自适应ueditor设置表格属性时,将按页面宽度自适应设置为100%的方法:修改ueditor.all.js (注意,如果您调用的是ueditor.all.min.js,则修改这个对应文件),找到table.setAttribute('width', ge
jquery 倒计时60秒获取验证码按钮
摘要:html<input class="getCode" type="button" value="获取验证码"/>css.getCode{ position: absolute; right: 0px; top: 0p
layer弹窗子父页面元素获取
摘要:layer是一款近年来备受青睐的web弹层组件,官网地址是:http://layer.layui.com/可以从官网上下载最新版本。当layer以iframe层的方式弹出新的窗口(子页面),如何在子页面中访问父页面的元素和函数。1、访问父页面元素值var parentId=parent.$("#id").val();//访问父页面元素值2