網站建設是指使用標識語言(markup language),通過一系列設計、建模、和執行的過程將電子格式的信息通過互聯網傳輸,最終以圖形用戶界面(GUI)的形式被用戶所瀏覽。簡單來說,網頁設計的目的就是產生網站。簡單的信息如文字,圖片(GIF,JPEG,PNG)和表格,都可以通過使超文件標示語言、可擴展超文本標記語言等標示語言放置到網站頁面上。 DHTML Scriptlet 什么是 DHTML scriptlet 呢?? 就是將一些含有DHTML 描述指令集的HTML網頁, 我們可以將之崁入其它的網頁中 如下范例, 亦可至 http://image99.asp-in-taiwan.com.tw/study/s002.asp 看結果!! 其中 s002.asp 為主網頁 s002_b.htm 為描述指令網頁 PS: 限用 IE5 喔... ---s002.asp--- <html>
<head> <meta http-equiv="Content-Type" content="text/html; charset=big5"> <meta http-equiv="Content-Language" content="zh-tw"> <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <title>研讀主題</title> </head> <body> <p>DHMTL/Scriptlet 測試 (Only Support IE5)</p> <form method="POST" action="s002.asp" webbot-action="--WEBBOT-SELF--"> <!--webbot bot="SaveResults" U-File="../_private/form_results.txt" S-Format="TEXT/CSV" S-Label-Fields="TRUE" startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" endspan i-checksum="43374" --> <p><input type="button" value="Hi" name="Hi"> <input type="button" value="Hello" name="Hello"> </p> </form> <p> </p> </body> <OBJECT id=test style="BORDER-LEFT:medium none; HEIGHT:0px;LEFT:0px;TOP:0px;WIDTH:0px" type=text/x-scriptlet VIEWASTEXT> <PARAM NAME="URL" VALUE="s002_b.htm"> </OBJECT>
</html> <script language="VBScript"> Sub Hi_OnClick() test.ShowHI End Sub
Sub Hello_OnClick() msgbox test.hello End Sub </script> =============================================== ----s002_b.htm----- <script language="VBScript"> Function Public_Hello() Public_Hello = "Hello, World" End Function Sub Public_ShowHi() MsgBox "Hi" End Sub </script>
大多數人在上網的時候,都會瀏覽網頁提供給我們的信息。
|