- 昵称:51助手
 - 博龄:6年11个月29天
 - 粉丝:122
 - 关注:108
 - +关注
 
搜索
文章分类
博客档案
搜索文本框输入提示,请输入关键词 显隐
摘要:<input name="key" type="text" placeholder="{:lang('请输入关键词')}" onfocus="$(this).attr('placeholder','
RippleButtons.js 点击水波样式
摘要:很好用,引入就可以ripple-master.zipripple.js 相关参数设置var colour = "#4285f4"; //水波颜色 var opacity = 0.3; //水波透明度 var ripple_within_eleme
js节流防抖
摘要: //节流防抖函数 function debounce(fun, delay) { return function (args) { let that = t
layer 获取子页面元素节点
摘要://例:var body = layer.getChildFrame('body', index); $('.add').click(function(){ layer.open({ title:'添加一级栏目', content:
获取layer 中content元素节点
摘要:layer.open({ title:'序号越小越靠前', content:'<input type="text" class="sortVal">', yes:function(index,layero
layer关闭页面刷新父级页面
摘要://子级页面js var index = parent.layer.getFrameIndex(window.name); //获取窗口索引 parent.layer.close(index); //关闭窗口 //父级页面js layer.open({ &nb
百度编辑器表格边框不显示
摘要:通过代码修改,自定义加上默认 utils.each(tables, function (table) { &nbs
js 数组之间的组合列表
摘要: let arr = [ [1, 2, 3], [4, 5, 6] ]; function cartesianProductOf() { return Array.pr
百度名片在线生成
摘要:地址 http://api.map.baidu.com/mapCard/setInformation.html