Test Client screen condition

Source: Internet
Author: User
' ************************************** ' 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 are agree to
' The following terms ... ' 1 ' may use this source code in
' 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 ' may not redistribute this SOURC
' E code (for example to a Web site) witho
' UT written permission from the original
' Author. Failure to does is a violation o ' F copyright laws.
' 3 ' may link to this code from Anot
' Her website, provided it is isn't wrapped ' in a frame.
' 4] The author of this code may have re
' tained certain additional copyright righ
' TS. If So, it 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 = Then
Window.navigate ("http://dinside.dk/640480/default.asp") End If
If screen.height = 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>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.