12 2017 档案

摘要:1.引入 qrcode.min.js(点击下载demo) 2.html: <div id="qrcode"></div> js: var qrcode = new QRCode('qrcode', { //'qrcode'为元素Id width: 0.58 * window.innerWidth, 阅读全文
posted @ 2017-12-29 16:15 Kwin的全栈之路 阅读(367) 评论(0) 推荐(0)
摘要:重写iframe内联框架中的内容,不使用src指向页面url,主动写入HTML代码:var ifr = document.getElementById("CMBC-certification-content"),ed = null;ed = document.all ? ifr.contentWin 阅读全文
posted @ 2017-12-11 14:44 Kwin的全栈之路 阅读(504) 评论(0) 推荐(0)