1.
var isChrome = navigator.userAgent.toLowerCase().match(/chrome/) !== null;
if (isChrome) {
$('.modify_list:first').css("margin-top", "109px");
}
2.
$(function(){ if($.browser.msie) { alert("这是IE"+$.browser.version); }else if($.browser.opera) { alert("这是opera"+$.browser.version); }else if($.browser.mozilla){ alert("这是mozilla"+$.browser.version); }else if($.browser.safa){ alert("这是safa"+$.browser.version); }else{ alert("这是谷歌或者其他浏览器") }; });
3..modify_list { width: 100%; margin-bottom: 60px; -webkit-margin-before: 109px; padding-top: 20px; float: left; }
4.<!--[if IE]> <link href="css/ie.css" rel="stylesheet" type="text/css" /> <![endif]-->
5.@CHARSET "UTF-8"; .modify_display_item { filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); right:-15px; top:5px; } .modify_item_one { background-color:#C25252; } .modify_item_two { background-color:#CA9859; } .modify_item_three { background-color:#96BA5F; } .modify_item_four { background-color:#59ABB7; }
6.
<script type="text/javascript" src="js/swfobject.js"></script>
<script type="text/javascript">
swfobject.embedSWF("swf/<%=swfUrl%>.swf", "swf_display_div", "745", "638", "9.0.0", "expressInstall.swf", null, {wmode:"opaque"},{styleclass:"swf_style"});
</script>
7.
<script charset="utf-8" type="text/javascript" src="js/jquery.session.js"></script>
$.session.remove('currentFile', fileName);
$.session.set('moreFile', moreFile);