 |
Chap. 9. VB Script 教學範例
|
- 查詢 - 程式語言參考 名詞 功能 函數A-Z
- 下載 - VBS除錯 ACX Control Pad
ACX List
VBS 教學
- 邁向 VB Script
簡單的 VBScript 網頁
ex3-1 ex3-1a MsgBox 回應值
ex3-2 資料型態
ex3-2a ex3-2b Option Explicit
ex3-3 動態陣列
ex3-4 陣列的上下限
ex3-5 99乘法之1
ex3-6 簡易計算機 Write File 進階
計算總價 練習例2 跑馬燈123 跑馬燈45
- 迴圈
99乘法之2 程式防錯
程式練習#1
ex4-1 各式迴圈
ex4-2 條件陳述式 控制流程 MsgBox常數
ex4-3
- 程序 (procedures)
ex5-0 ex5-0b 函數A-Z (Function)
ex5-0a 副程式 (Subroutine)
ex5-1 全域與局部變數之1
ex5-2 全域與局部變數之2
ex5-3 全域與局部變數之3
ex5-1a 四種呼叫 (Call)方式
ex5-4 onclick=Subname 呼叫
ex5-5 Subname_onclick 呼叫
ex5-6 for event 呼叫
ex5-7 onload, onUnload 呼叫之1
ex5-8 onload, onUnload 呼叫之2
ex10-3 Sub 與FUNCTION的共用
- Window 物件 屬性、方法與事件
ex6-1 window.defaultStatus
ex6-2 window.Status, OnMouseOver
ex6-3 window.location, OnClick
ex6-4 frame
ex6-4a Window.top.frames(x).location
ex6-4b Set topWin=Window.top
ex6-5 frame
ex6-5a Alert, Confirm, Prompt
ex6-6 open(), .close方法, .closed, opener屬性
ex6-7 DATE(), TIME()
ex6-8 DateADD
ex6-9 setTimeout、ClearTimeout之一
ex6-9a setTimeout、ClearTimeout之二
ex6-9b setTimeout、ClearTimeout之三
ex6-9c setTimeout、ClearTimeout之四
- Document 物件 屬性與方法
ex7-1 document.*color
ex7-2 WeekDay()
程式習作#2
ex7-3 write 與 writeln 之1
ex7-4 write 與 writeln 之2
ex7-5 document.open
ex7-6 document.close
ex7-7 document的其它屬性
- Link 與 Anchor 物件 屬性與事件
ex8-1 取得 Link物件 ex8-1a
ex8-2 Link 的Event之一
ex8-3 Link 的Event之二
ex8-4 取得 Anchor物件
- Form 與 Element 物件 屬性方法與事件
ex9-1 OnSubmit()
ex9-2 form.focus
ex9-3 OnFocus, OnBur,..
ex9-4 訂花 Client Side 驗證
ex9-5 轉換 驗證
ex9-6 自動輸入
ex9-7a 大小寫轉換VBS版 JScript版
ex9-8 Select 例 1
ex9-10 Select 例 2
ex9-9 Radio
ex9-11 Radio 例 2
工程經濟分析 Select, Type=Text, ,..
程式習作#3
VBScript與表單(Forms)
- History,Navigator與 Location 物件 屬性與方法
ex10-1 history
ex10-1a history另例
ex10-2 navigator.xxx, ScriptEngine
ex10-3 location.href
ex10-4 location.reload & .replace
Cookie範例
- ActiveX -
在 VBScript中使用物件(Objects)
將Object與Form結合
Transitions Examples特效示範
色彩時間 Forms 2.0 控制項
Active X 控制項與VB Script 併用
- 更多的參考資料 from Microsot -
Samples Tutor FAQ Hot Links
Microsoft VBScript 技術支援網頁
- Projects -
單位轉換電子書