高手: 用Vbscript如何取得屏幕的height,width???

dhbbinbin 2004-04-01 12:28:25
高手: 用Vbscript如何取得屏幕的height,width???
...全文
33 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%> 留言板首页 <script language="javascript">
height="20" width="80">修改用户资料
height="20" width="80">修改用户密码
width="100%" align="center" border="0">
height="80"> width="100%" border="0">
height="80"> 
height="36"> width="70%" height="30" border="0" align="center" cellPadding="0" cellSpacing="0" class="font12">
<%if session("$_name$")="" then%>
height="30">用户名: 密码:    
<%else%> width="474" border="0" cellpadding="0" cellspacing="0">
width="309" height="30"><%=session("$_name$")%> 您 好,欢 迎 您 来 到 潇 湘 尘 影 的 留 言 板 width="86" onmouseover="MM_showHideLayers('Layer1','','show')" onmouseout="MM_showHideLayers('Layer1','','hide')">【控制面板】 width="79">【退出登录
<%end if%>
width="70%" align="center" border="0">
width="15%" align="left">width="100" height="25" onclick="javascript:window.location.href='msg.asp'" style="cursor:hand" /> width="85%" align="center" class="font13"> <%dim rs,sql,p,q set rs=server.CreateObject("adodb.recordset") sql="select * from userDetail,Msg where userDetail.UserName=Msg.MsgAuthor order by MsgID desc" rs.open sql,conn,1,1 rs.pagesize=5 q=10 '设置每页可以浏览的页的总数 if request.QueryString("p")<>"" then p=CInt(request.QueryString("p")) else p=0 'p=0时,则翻页数字显示1 2 3 4 5,p=1时,则翻页数字显示6 7 8 9 10,依次类推 end if if request.QueryString("iPage")<>"" then iPage=CInt(request.QueryString("iPage")) 'if iPage<1 then iPage=1 'if iPage>rs.pageCount then iPage=rs.pageCount else iPage=1 end if rs.AbsolutePage=iPage%> 共有<%=rs.recordcount%>条留言 | 共<%=rs.pagecount%>页 | 当前为第<%=rs.AbsolutePage%>
<% if rs.eof then response.write("
暂无留言
") else for i=0 to rs.pageSize-1 if rs.Eof or rs.bof then exit for %> width="100%" border="0" cellspacing="0" cellpadding="0" style="border:#A2D3EC 1px solid">
width="20%" height="25" align="left" class="font13B" style="border-right:#A2D3EC 1px solid"><%=rs("UserName")%> 标题:<%=rs("MsgTitle")%>
width="20%" rowspan="3" align="center" valign="top" style="border-right:#A2D3EC 1px solid" class="font12"><%=rs("UserHeadPic")%>
QQ:<%=rs("UserQQ")%>| " title="发邮件给他/她">width="18" height="12" border="0" />
<%=rs("MsgDate")%>
    <%=rs("MsgContent")%>
<%if rs("MsgReply")<>"" then%>width="80%" border="0" cellspacing="0" cellpadding="10" style="border:#D1D1D1 1px solid" class="font12">
width="25%" align="left" valign="top" bgcolor="#F2F2F2">管理员回复
(<%=rs("MsgReDate")%>)
width="78%" align="left" valign="top" bgcolor="#F2F2F2"><%=rs("MsgReply")%>
<%end if%>
height="25" align="right" valign="bottom" class="font12"><%if session("$_name$")=rs("MsgAuthor") then%>">编辑 | <%end if%><%if session("$_name$")="admin" then%>">回复 | ">删除<%end if%> 
height="3">
<% rs.movenext next end if %>
width="70%" border="0" align="center" cellpadding="0" cellspacing="0">
<%if p<>0 then%> << <%else%> << <%end if%> <%for j=1 to q if(p*q+j<=rs.pageCount) then if(iPage<>q*p+j) then%> <%=q*p+j%> <%else%> <%=q*p+j%> <% end if end if next%> <%if p<>(rs.pageCount\q) then%> >> <%else%> >> <%end if%> <% rs.close set rs=nothing conn.close set conn=nothing%>

28,391

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧