动网论坛,站长建站首选,国内使用量最多的论坛软件 动网论坛官方技术讨论区 站长工具 申请属于您自己的免费论坛
首页 | 新闻资讯 | 网站运营 | 网络编程 | 数据库 | 服务器 | 网页设计 | 图像媒体 | 网络应用 | 搜索优化 | 资源下载 | 动网主机 | DVBOX
    本站内  互联网 ASP论坛  ASP.Net论坛  PHP论坛
   Asp → 阅读文章

 测试客户端屏幕状况

作者来源: 
阅读 3060 人次 , 2000-6-18 

    '**************************************    ' Name: Send By Res
    ' Description:This code is coded to send
    '     your users to a site matching their scre    '     en resolution
    ' By: Nicolai Kofoed    '    '    ' Inputs:None    '    ' Returns:None    '
    'Assumes:None    '    'Side Effects:None    '    'Warranty:
    'code provided by Planet Source Code(tm)
    '     (http://www.Planet-Source-Code.com) 'as
    '     is', without warranties as to performanc
    '     e, fitness, merchantability,and any othe
    '     r warranty (whether expressed or implied    '     ).
    'Terms of Agreement:    'By using this source code, you agree to
    '     the following terms...    ' 1) You may use this source code in per
    '     sonal projects and may compile it into a
    '     n .exe/.dll/.ocx and distribute it in bi
    '     nary format freely and with no charge.
    ' 2) You MAY NOT redistribute this sourc
    '     e code (for example to a web site) witho
    '     ut written permission from the original
    '     author.Failure to do so is a violation o    '     f copyright laws.
    ' 3) You may link to this code from anot
    '     her website, provided it is not wrapped     '     in a frame.
    ' 4) The author of this code may have re
    '     tained certain additional copyright righ
    '     ts.If so, this is indicated in the autho    '     r's description.
    '**************************************    
    <!-- Coded by Nicolai Kofoed, zelebris@theportal.dk -->
    <%@ Language=VBScript %>    <SCRIPT Language=VBScript>     Sub window_onload
     If screen.height = 480 Then
     window.navigate ("http://dinside.dk/640480/default.asp")      End If
     If screen.height = 600 Then
     window.navigate ("http://dinside.dk/800600/default.asp")     End If
     If screen.height = 768 Then
     window.navigate ("http://dinside.dk/1024768/default.asp")     End If
     End Sub     </SCRIPT>  
 
 收藏本文  打印本文  论坛讨论  关闭窗口
· 上一篇:利用ASP脚本制作异步装载的树形结构(一)
· 下一篇:使用隐藏form把数据从客户端传到服务端
· ASP漏洞分析和解决方法(6)
· ASP 3.0高级编程(十九)
· Remote Scripting进阶教程---引用 ASP 页作为对象
· asp在SQL SER2k中新建帐号和给帐号权限的实现
· 在Windows桌面上使用WSH接收邮件(转)


关于本站 | 联系我们 | 业务合作 | 客户案例 | 诚聘英才 | 广告合作 | 收藏本站
海口动网先锋网络科技有限公司版权所有
Copyright © 2000 - 2006 Cndw.Com
中华人民共和国电信与信息服务业务经营许可证编号 琼 ICP 020077