You can create a script program, using the
script editor Homepage Builder offers. You can then
insert it into your Web page.
This section contains the following topics:
Related HTML tags | <SCRIPT LANGUAGE= ></SCRIPT> |
![]() |
script A program written in the script language, JavaScript or VBScript (Visual Basic Script). You can write this program directly into your HTML file. The use of scripts enable you to, for example:
Script files are small, which makes them handy and convenient. However, because they are processed only on the client side, you cannot exchange data with the provider's server. |
![]() |
Knowledge of script language is necessary to create scripts. Refer to other books on JavaScript or VBScript. |
To open the editor for editing script:
To write a script program using the editor
and then insert it into the Web page:
![]() |
JavaScript is conventionally surrounded by "<!--" and "// -->" and VBScript is surrounded by "<!--" and "'-->", which enables Web browsers that support scripts to run the script, and which enables Web browsers that do not support script to ignore them. |
![]() |
To insert a script program into the header section (the section surrounded by the <HEAD> tag and the </HEAD> tag in HTML) of your Web page, select Document Properties from the Edit menu, click the Others tab, and click the Edit Script button to open the script editor. Write your script with the editor, and click the OK button to insert the script into the header section. |
![]() |
If you have your own JavaScript file (*.js),
you can insert it simply by selecting the
file on the Contents tab, dragging it, and dropping it onto your
Web page. You can also insert sample JavaScripts. To display sample JavaScripts, click the Contents tab and select JavaScript from the upper left box. To insert one of them, select one, drag it, and drop it onto your Web page. |