Displaying a message on the status line (JavaScript)

The following explains how to write a script using the sample script provided by Homepage Builder.

1. Position the cursor to the point where you want to insert a script, and then open the editor by selecting "Insert"->"Script" from the menu.

=>Make sure that [JavaScript] is selected for [Language].

2. Select [Display the message in the status line] from the [Library] window that appears at the bottom left.

=>This option is among those indicated by an S icon on the left-hand side.

3. Drag the option, and then drop it into the [Edit] window that appears at the bottom right.

=>The script "window.status = 'Write message here:';" is inserted.

Hint A script can also be inserted by double-clicking. Otherwise, it can be inserted by selecting [Insert to Script] from the pop-up menu that appears when you right-click.

4. Edit Write message... on the right, changing it into the message you want.

5. Click the [OK] button to insert the script into the document.

6. Save the file by selecting "File"->"Save as..." from the menu and confirm the result using the browser.

=>The message you specified appears on the line called a status line at the bottom of the browser display