做2个网页吧
if(screen.width == 1024){
.........
}
if(screen.width == 800){
.........
}
if(screen.width == 1024){
.........
}
if(screen.width == 800){
.........
}
解决方案 »
- div 定位悬浮问题
- 叹讨<script src='abc.js'></script>的两种输出方式
- 网页打印,如何实现横向和纵向同时打印
- ======>>>菜鸟问关于计时器问题,大虾帮忙<<<<<==========
- javascript修改table的问题
- 请问怎样让div把select挡住?
- js写树的时候出现运行缓慢,是否继续运行脚本的提示框.请问..有谁能解决这个问题吗.
- 怎么样动态创建一个HIDDEN对象啊?~(硬着头皮还是要问,别扔砖!)
- 这个功能是怎么实现的
- 怎么把input里面的value值传到from表单action去呢?
- 子窗口与父窗口的传值问题,与select相关
- 开关按钮事件,求经典点的代码!
redtank2005(菜鸟) 有没有更简介的办法啊.
<div id="Layer1" style="position:relative; width:527px; height:309px; z-index:1;">
.........
}
if(screen.width == 800){
.........
}
不行,它说Microsoft VBScript 运行时错误 错误 '800a01a8' 缺少对象: '' /index.asp,行 35
<div id="Layer1" style="position:relative; width:527px; height:309px; z-index:1; left: 0px; top: 0px">
<%
Select case Request.SERVERVARIABLES("HTTP_UA_PIXELS")
Case "800X600"
Response.Redirect "800.htm"
Case "640X480"
Response.Redirect "640.htm"
Case "1024X768"
Response.Redirect "1024.htm"
End Select
%>
<table width="100%" height="100%" cellpadding=0 cellspacing=0 border=1>
<tr height="100%">
<td width="100%" height="100%" align="center">
<table width="800px" height="400px" border=1>
<tr>
<td>内容写在这里边</td>
</tr>
</table>
</td>
</tr>
</table>
</body>