Display the current date and time on the status line (JavaScript)

Write the script using the script sample prepared by the Homepage Builder.

1. Move the cursor where the script is inserted, and open the editor by selecting "Insert"->"Script" from the menu.

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

2. Select [Display the date and time (MM/DD/YY HH:MM:SS) in the status line] from the [Library] window appearing lower left.

=>The option is among those with the F icon on the left side.

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

=>Script "_HpbClockStatusLoc();" 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 by right-clicking.

4. Confirm that the item "// _HpbClockStatusLoc: Display date and time in the status line" is inserted into the <HEAD> section of the [Code header] window that appears at the upper right.

Hint If you select this item, the code for this script appears in the [Edit] window.

5. Click the [OK] button. The script is inserted into the document.

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

=>The date and time appears in a clock-like format on the status line at the bottom of the browser display.