摘要: <script type="text/javascript" >function detectOS() { var sUserAgent = navigator.userAgent; var isWin = (navigator.platform == "Win32") || (navigator.platform == "Windows"); var isMac = (navigator.platform == "Mac68K") || (navigator.platform == "Mac 阅读全文
posted @ 2011-10-26 23:42 banbu 阅读(3534) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript"> var Sys = {}; var ua = navigator.userAgent.toLowerCase(); if (window.ActiveXObject) Sys.ie = ua.match(/msie ([\d.]+)/)[1] else if (document.getBoxObjectFor) Sys.firefox = ua.match(/firefox\/([\d.]+)/)[1] else if... 阅读全文
posted @ 2011-10-26 23:27 banbu 阅读(4219) 评论(0) 推荐(1) 编辑
摘要: Hi 1 <style type="text/css"> 2 <!-- 3 .banbu1,.banbu2{ 4 width:100px; 5 height:100px 6 } 7 .banbu1 { 8 background:#CCC; 9 10 }11 .banbu2{12 background:#FF0000;13 14 }15 -->16 </style>17 </head>18 19 <body>20 <div class="banbu1" onmousemove="t 阅读全文
posted @ 2011-10-26 22:50 banbu 阅读(4723) 评论(0) 推荐(0) 编辑