10 2011 档案
获取IE可见高度和内容高度 记录
摘要:functiongetClientHeight() { //可见高 varclientHeight=document.body.clientHeight;//其它浏览器默认值 if(navigator.userAgent.indexOf("MSIE6.0")!=-1) { clientHeight=document.body.clientHeight; } elseif(navigator.userAgent.indexOf("MSIE")!=-1) { //IE7IE8 clientHeight=document.documentElement.off
阅读全文
上传文件框在firefox浏览器中显示路径不全的解决方法
摘要:记录下firefox浏览器中上传文件框显示路劲不全的解决办法。html文本:<div> <span style="font-size: 15px; margin-left:200px;">导入</span> <input type="file" name="picpath" id="picpath" style="display: none" onchange="picpathchange()"/> <input name
阅读全文
浙公网安备 33010602011771号