国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 開發設計 > 正文

頁面延遲的兩個簡單方法

2019-11-18 21:17:14
字體:
來源:轉載
供稿:網友
一、

<% Response.Buffer = True %>
<%
' Setup the variables necessary to accomplish the task
Dim TimerStart, TimerEnd, TimerNow, TimerWait
' How many seconds do you want them to wait...
TimerWait = 5
' Setup and start the timers
TimerNow = Timer
TimerStart = TimerNow
TimerEnd = TimerStart + TimerWait
' Keep it in a loop for the desired length of time
Do While (TimerNow < TimerEnd)
' Determine the current and elapsed time
TimerNow = Timer
If (TimerNow < TimerStart) Then
TimerNow = TimerNow + 86400
End If
Loop
' Okay times up, lets git em outa here
Response.Redirect "nextpage.html" %>

二、

<%
Sub TimeDelaySeconds(DelaySeconds)
SecCount = 0
Sec2 = 0
While SecCount < DelaySeconds + 1
Sec1 = Second(Time())
If Sec1 <> Sec2 Then
Sec2 = Second(Time())
SecCount = SecCount + 1
End If
Wend
End Sub
%>

' To change delay adjust here
<% TimeDelaySeconds(2) %>


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 横峰县| 高尔夫| 乌兰浩特市| 平塘县| 桑日县| 湛江市| 龙川县| 蒙阴县| 许昌市| 花莲县| 惠安县| 平潭县| 青阳县| 准格尔旗| 合阳县| 湟中县| 高邮市| 通渭县| 嵊州市| 宁明县| 肇庆市| 宣汉县| 长白| 浦东新区| 韶关市| 万宁市| 兰溪市| 巴彦淖尔市| 遂溪县| 庐江县| 金华市| 克山县| 湖口县| 福安市| 都昌县| 灵山县| 蓝田县| 贡觉县| 蓝田县| 南川市| 黄龙县|