Recommended: 15 very useful examples in ASP programming 1. How to use Asp to determine the virtual physical path of your website Answer: Use the Mappath method as follows: <p align=center><font size=4
1. Obtain system time :
<%=now()%>
2. Obtain the IP for visiting :
<%=request.serverVariables(remote_host)%>
3. Obtain the system and browser version :
<script>
window.document.write(version: navigator.appName navigator.appVersion browser.)
</script>
4. Remove the IE hybrid bar :
<body scroll=no>
or
<body style=overflow-y:hidden>
5. Enter the website and pop up the ad :
<script language=javascript>
<!--
<!-- Please change the path of the file -->
window.open('http://www.XXXXXX.com','','height=200,width=300,top=0,left=30');
// -->
</script>
6. Random number :
<%randomize%>
<%=(int(rnd()*n) 1)%>
N is the variable number
7. Upward hybrid code :
<marquee direction=up scrolldelay=200 style=font-size: 9pt; color: #FF0000; line-height: 150%; font-style:italic; font-weight:bold scrollamount=2 width=206 height=207 bgcolor=#FFFF00>hhhhhhhhhhhhhhhhhhhh</marquee>
Share: A list of judgment functions in asp The latest WEB source code download, go and have a look now... Popular commercial source code downloads www.chinaz.com<1>IsArray function returns a Boolean value to indicate whether a variable is an array. Syntax IsArray(varname) The varname parameter can be any variable
5 pages in total Previous page 12345Next page