摘要: var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串var isOpera = userAgent.indexOf("Opera") > -1; //判断是否Opera浏览器var isIE = userAgent.indexOf("co 阅读全文
posted @ 2017-04-05 16:01 善未易明 阅读(235) 评论(0) 推荐(0)
摘要: theCanvas = document.getElementById('canvasOne');var context = theCanvas.getContext('2d');context.fillStyle = 'rgba(255, 255, 255, 0)'; 阅读全文
posted @ 2017-04-05 11:26 善未易明 阅读(15395) 评论(2) 推荐(0)
摘要: <!--[if !IE]><!--> 除IE外都可识别 <!--<![endif]--><!--[if IE]> 所有的IE可识别 <![endif]--><!--[if IE 6]> 仅IE6可识别 <![endif]--><!--[if lt IE 6]> IE6以及IE6以下版本可识别 <![ 阅读全文
posted @ 2017-04-05 11:22 善未易明 阅读(3074) 评论(0) 推荐(0)