根据分辩率调用不同的CSS.

时间:2007-01-08    点击:167   
复制代码 代码如下:

<head>
<script language=javascript> 
<!--
if (screen.width == 800)
{
document.write('<link rel=stylesheet type="text/css" href="css800.css">')
}
else {document.write('<link rel=stylesheet type="text/css" href="css1024.css">')}
//-->
</script>
</head>
尽可能写"友好"的"Javascript"代码
添加到收藏夹代码(兼容几乎所有的浏览器)
Web版彷 Visual Studio 2003 颜色选择器
一个对于js this关键字的问题
JS控件autocomplete 0.11演示及下载 1月5日已更新
> 返回     
地址:上海市普陀区胶州路941号长久商务中心 电话: QQ:
© Copyright 2012 上海网络 Product All Rights Reserved