var browser={
versions:function(){
var u = navigator.userAgent, app = navigator.appVersion;
return {
trident: u.indexOf('Trident') > -1, //IE内核
presto: u.indexOf('Presto') > -1, //opera内核
webKit: u.indexOf('AppleWebKit') > -1, //苹果、谷歌内核
gecko: u.indexOf('Gecko') > -1 && u.indexOf('KHTML') == -1, //火狐内核
mobile: !!u.match(/AppleWebKit.*Mobile.*/)||!!u.match(/Apple...
先来看一下我今天的css hover问题,图片和背景透明的解决方法,
[sourcecode lang="plain"]
<script type="text/javascript" src="/App/Tpl/Home/default/Public/js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="/App/Tpl/Home/default/Public/js/iepng.js"></script>
<script type="text/javascript">
//判断浏览器版本
var browser=navigator.appName;
var b_version=navigator.appVersion;
var version=b_version.split(";");
var trim_Version=version[1]....