上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页
摘要: window.print();打印会出现图片不在打印预览显示,不打印的问题,需要用 jqprint 插件 jquery.jqprint-0.3.js https://www.jq22.com/jquery-info347 要在jq之后引用2009年版本会有兼容性问题,之前加一段预览的页面字号不起作用 阅读全文
posted @ 2021-10-09 14:02 石头记1 阅读(257) 评论(0) 推荐(0)
摘要: 最近整理Easyui控件的时候,对Easyui的DateBox控件和DateTimeBox控件进行了梳理,而我之所以将EasyUI的DateBox控件和DateTimeBox控件放在一起,归为一类,是因为这两个控件没有什么区别,如果你非得说这两个控件有区别,也无非是DateTimeBox控件后面除了 阅读全文
posted @ 2021-08-17 09:31 石头记1 阅读(455) 评论(0) 推荐(0)
摘要: //实际图片的宽高 var hei = $("#curtanDiv")[0].height; var wid = $("#curtanDiv")[0].width; //容器的宽高 var czhei = parseInt($("#BankChange").css('height')) - 35; 阅读全文
posted @ 2021-06-22 09:47 石头记1 阅读(191) 评论(0) 推荐(0)
摘要: <embed wmode="transparent" src="https://files.cnblogs.com/files/jingmoxukong/honehone_clock_tr.swf" quality="high" bgcolor="#FDF6E3" width="240" heigh 阅读全文
posted @ 2021-05-14 13:50 石头记1 阅读(48) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>简单的计时器</title> </head> <body> <input type="button" id="start" onclick="startTime()" value= 阅读全文
posted @ 2021-05-07 13:59 石头记1 阅读(74) 评论(0) 推荐(0)
摘要: 今天要讲的这个并不复杂,我用一个例子来讲解吧 <div id="box"></div> var box = document.querySelector("#box"); box.addEventListener("click",function(){ console.log("click"); } 阅读全文
posted @ 2021-05-06 11:55 石头记1 阅读(422) 评论(0) 推荐(0)
摘要: html { overflow: hidden; height: 100% } body { /* 视差元素的父级需要3D视角 */ perspective: 1px; transform-style: preserve-3d; height: 100%; overflow-y: scroll; o 阅读全文
posted @ 2021-04-21 10:55 石头记1 阅读(124) 评论(0) 推荐(0)
摘要: 一、原生js创建ajax 分一下几步: 1.创建XMLHttpRequest对象 var xhr = new XMLHttpRequest(); 2.设置请求成功后的操作 xhr.onreadystatechange = function() { if (xhr.readyState == 4) { 阅读全文
posted @ 2021-04-19 17:44 石头记1 阅读(1193) 评论(0) 推荐(0)
摘要: 1.导航自定义如果用默认的tabBar导航,需要在pages.json中设置 iconWidth和fontSize这两项图标尺寸和文字尺寸在生成的app里是没有用的 spacing间距设置应该是有用的,但是app是上下结构,h5是左右结构,设置了没有实际意义 在list中设置需要显示导航的页面,相当 阅读全文
posted @ 2021-02-18 16:05 石头记1 阅读(273) 评论(0) 推荐(0)
摘要: // Math: Math.abs(-12):取绝对值 Math.ceil(12.1):向上取整 Math.floor(12.1):向下取整 Math.round(12.1):四舍五入 Math.random():获取[0,1)随机小数 获取n到m之间的随机数 Math.round(Math.ran 阅读全文
posted @ 2021-01-27 11:21 石头记1 阅读(5) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页