用jquery判断当前显示器的分辨率,加载不同CSS
摘要:
<link rel="stylesheet" type="text/css" id="css"><script language="javascript">function dis(){if((screen.width == 1024) && (screen.height == 768)){document.getElementById('css').href = '2.css';}else if ((screen.width == 800) 阅读全文
posted @ 2012-10-29 15:42 jxgxy 阅读(4503) 评论(0) 推荐(1) 编辑