 |
|


 |
| Computer scripts, particularly those written in a language designed especially for Web browsers called JavaScript, aren't easy to learn if you lack prior programming experience. If you already have some experience, FrontPage has a utility that lets you insert functions quickly. Begin by choosing Tools | Macro | Microsoft Script Editor.
Note: You may be prompted to insert the FrontPage CD-ROM and install Web Scripting if this feature is not yet enabled.
|
 |
 |
|


 |
| If you've never used a development tool before, the Script Editor window can be a little intimidating. The center part of the window displays the HTML code for the current Web page. To the left is the Page Explorer window. It appears, when you click on tabs at the bottom, in Toolbox, HTML, or Script Outline view. To the right are two small mini-windows, Project Explorer and Properties.
Warning: The tabs beneath the HTML display area are disabled for Microsoft FrontPage and other Office files.
|
 |
 |
|


 |
| Click on the Script tab at the bottom of the Page Explorer window to view JavaScript and Jscript functions that you can add automatically without typing them from scratch. |
 |
 |
|


 |
| Position the text cursor in the HTML for the Web page where you want to add a script. Click on the plus signs in the Page Explorer section of Script Editor to view available functions. |
 |
 |
|


 |
| Double-click on a function in the Page Explorer window and it is automatically added to the HTML for the current Web page. Choose File | Save to save any scripting changes. In order to preview the changes, choose View | View in Browser…. from the Script Editor menu bar. |
 |