当前位置:首页 > 设计在线 > 网页设计 > CSS/Xhtml > DHTMLScriptlet

DHTMLScriptlet

点击次数:23 次 发布日期:2008-11-26 22:54:35 作者:源代码网
源代码网推荐 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> 
源代码网推荐


源代码网供稿.
网友评论 (0)
会员中心
设计在线
本站推荐
设计在线之精华