DHTMLScriptlet
What is DHTML scriptlet??
It is to convert some HTML web pages containing DHTML description instruction set,
We can embed it into other web pages
As an example,
You can also go to http://image99.asp-in-taiwan.com.tw/study/s002.asp to see the results!!
Among them, s002.asp is the main web page
s002_b.htm is a web page describing instructions
PS: Only for 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>Study Topic</title>
</head>
<body>
<p>DHMTL/Scriptlet Test (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">
SubHi_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>