随笔分类 - JQuery插件
JQuery插件使用
摘要:1, // vidwid = document.body.offsetWidth * 1 + "px"; // vidhig = document.body.offsetHeight * 1 + "px"; // 打开模型 // mylay = layer.open({ // type: 2, //
阅读全文
摘要:1, /* 设置layer背景透明 */ .shadows{background-color: transparent !important;box-shadow: 0 0 0 rgba(0,0,0,0) !important;} 确保弹窗视频上下居中 vcr = "hotdemo/video/vi
阅读全文
摘要:1, // // 打开模型 mylay = layer.open({ type: 2, title: false, zIndex: 1000, maxmin:false, closeBtn: 0, shade: true, shade: [0.5], shadeClose: false, area:
阅读全文
摘要:针对layer弹出框每次进行弹出操作时z-index不断加1的问题,手动设置过zIndex值不管用,每次关闭时清空layer对象也不管用。 修改layer.js文件图中位置即可。 layer 弹窗一直置顶的方法 //通过这种方式弹出的层,每当它被选择,就会置顶。 layer.open({ type:
阅读全文
摘要:layer.open({ type: 2, //title: '百度', title: false, //不显示标题栏 closeBtn: 0, //不显示关闭按钮 shade: false, // 默认是 19891014 zIndex: 1000, //shade: [0], //背景遮罩透明度
阅读全文