推薦:ASP編程中15個(gè)非常有用的例子1.如何用Asp判斷你的網(wǎng)站的虛擬物理路徑答:使用Mappath方法 以下為引用的內(nèi)容: <p align="center"><font size="4
1.獲得系統(tǒng)時(shí)間:
<%=now()%>
2.取得來訪用的IP:
<%=request.serverVariables("remote_host")%>
3.獲得系統(tǒng),瀏覽器版本:
<script>
window.document.write("版本:" navigator.appName navigator.appVersion " browser.")
</script>
4.去除IE混動(dòng)條:
<body scroll="no">
或
<body style="overflow-y:hidden">
5.進(jìn)入網(wǎng)站,跳出廣告:
<script language="javascript">
<!--
<!-- 注意更改文件所在路徑-->
window.open('http://www.XXXXXX.com','','height=200,width=300,top=0,left=30');
// -->
</script>
6.隨機(jī)數(shù):
<%randomize%>
<%=(int(rnd()*n) 1)%>
N為可改變數(shù)
7.向上混動(dòng)代碼:
<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">hhhhhhhhhhhhhhhhhhh</marquee>
分享:asp當(dāng)中判斷函數(shù)一覽最新的WEB源碼下載,馬上去看看... 商業(yè)源碼熱門下載www.chinaz.com<1>IsArray 函數(shù) 返回 Boolean 值指明某變量是否為數(shù)組。 語法 IsArray(varname) varname 參數(shù)可以是任意變量
新聞熱點(diǎn)
疑難解答
圖片精選