| |
Fredledingue
Posts: 321
Score: 0
Joined: 5/9/2005
From:
Status: offline
|
-Create a file let's say test.htm -Wirte the following codes in the test.htm file with notepad. You must include the red codes in the htm page, put your script instead of the green sample code I worte... The htm source is, in this example represented by the variable NewHtm. -Link to this htm page or simply open it in your favorite browser. code: <SCRIPT LANGUAGE="VBScript"> <!-- sub window_onLoad() '-----script that generates an htm page source------- NewHtm = NewHtm & "<p>Hello World! " & Date & "</p>" '-----end of your script---- Document.Body.InnerHTML = NewHtm end sub --> </SCRIPT>
< Message edited by Fredledingue -- 8/25/2005 9:39:38 AM >
_____________________________
Fred
|
|