12 2019 档案

摘要:html部分: 1 for(var i = 0; i<chList.length; i++){ 2 $(".modal-body ul").append("<li class='rowWrap item' >" + 3 "<input class='chooseInput' type='checkb 阅读全文
posted @ 2019-12-30 16:20 微光半夏星 阅读(485) 评论(0) 推荐(0) 编辑
摘要:取父窗口的元素方法:$(selector, window.parent.document);那么你取父窗口的父窗口的元素就可以用:$(selector, window.parent.parent.document);类似的,取其它窗口的方法大同小异 1 $(selector, window.top. 阅读全文
posted @ 2019-12-25 13:30 微光半夏星 阅读(6085) 评论(0) 推荐(0) 编辑
摘要:1 禁止滚轮: 2 $(document).bind('mousewheel', function(event, delta) { return false; }); 3 4 启用滚轮: 5 $(document).unbind('mousewheel'); 阅读全文
posted @ 2019-12-12 11:54 微光半夏星 阅读(535) 评论(0) 推荐(0) 编辑
摘要:一 常规写法: 1 var intro = introJs(); 2 intro.setOptions({ 3 steps:[ 4 { 5 element:"#step_oneHidHasRec", 6 intro:"点击此处可查看详细的样品信息", 7 }, 8 { 9 element:"#ste 阅读全文
posted @ 2019-12-03 10:28 微光半夏星 阅读(669) 评论(0) 推荐(0) 编辑
摘要:下载地址:https://github.com/usablica/intro.js/tags 演示地址:http://usablica.github.io/intro.js/example/index.html 首先引入样式表和js文件,min在minified文件夹中。 1 <link href= 阅读全文
posted @ 2019-12-03 09:54 微光半夏星 阅读(687) 评论(0) 推荐(0) 编辑