JavaScript Samples
bgchange.js
Changes the background color at random.
- With the left mouse button, drag this file
from Gallery view.
- Drop it at any place within the edit area.
This sample does not work if you insert it
in the document header.
lastupdt.js
Displays the most recently updated time and
date of a document. For example:
"Last updated: 02/15/99 20:07:38"
- With the left mouse button drag this file
from Gallery view.
- Drop it where you want to display the most
recently updated time and date.
scroll.js
Displays a scrolling message in the browser
status bar.
- With the right mouse button drag this file from Gallery view.
- Drop it at any place within the edit area.
--> A shortcut menu is displayed.
- Select [Extract into Page Header].
To change the scrolling text, do the following:
- Select [Edit]-[Page Properties] from
the menu bar.
--> The "Attributes"
dialog is displayed.
- Click on the [Others] tab, and then click
on [Edit Script].
- Change the text "Hello...".