国产探花免费观看_亚洲丰满少妇自慰呻吟_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) %>


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 广水市| 贵港市| 通州市| 内丘县| 龙游县| 嵩明县| 枞阳县| 新沂市| 怀安县| 丰都县| 梓潼县| 图木舒克市| 开平市| 大港区| 五原县| 府谷县| 车险| 全南县| 文化| 金寨县| 罗城| 延庆县| 安溪县| 玉门市| 苏尼特右旗| 苗栗市| 赤城县| 大厂| 建宁县| 九龙县| 永平县| 慈利县| 蒙山县| 昌图县| 达日县| 连江县| 清水河县| 蒙阴县| 陕西省| 乌什县| 大化|