function loadCSS(flag) {
var t=‘.css‘;
if((navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|wOSBrowser|BrowserNG|WebOS)/i))) {
t="_mobile.css";
}
if(flag==‘esfdetail‘){
document.write(‘<link href="‘+(baseURL+‘/themes/default/css/common‘+t)+‘" rel="stylesheet" type="text/css" media="screen" />‘);
document.write(‘<link href="‘+(baseURL+‘/themes/default/css/detail‘+t)+‘" rel="stylesheet" type="text/css" media="screen" />‘);
}
}
时间: 2024-10-30 03:27:43