In the skeleton frameset, emptyFrame is a variable containing HTML


In the skeleton frameset, emptyFrame is a variable containing HTML, while headFrame() is a function that returns HTML. Either method can be used.
But in general, use variables if the content will not change.Also, use functions to return dynamic content.

One of the easiest visual effects to create is a color alternator


One of the easiest visual effects to create is a color alternator, which switches between two color schemes in a frame. This effect is best used in small frames containing large, bold headlines. It should not generally be used with smaller, detail text, as it will make such text difficult to read while the effect is in progress.
It would also be wise to use this effect in moderation-a brief burst of alternating colors can be very effective when your page first loads, when making a transition to a new topic, or to underscore a point. However, continuous flashing quickly becomes annoying to the viewer.

The ColorString() function is defined as the Color object’s toString() method


The ColorString() function is defined as the Color object’s toString() method. This function converts the color back to an RGB triplet.
Also,the ColorString() function is automatically invoked any time a Color object is used in a context that requires a string.

Like the Color constructor, the BodyColor constructor includes a toString() method


Like the Color constructor, the BodyColor constructor includes a toString() method: the BodyColorString() function.
In this case, a complete BODY tag is returned, including any color attributes specified.

The individual Color objects are used directly


The individual Color objects are used directly in the construction of the BODY tag string.
Because they are used in a context requiring a string, the Color object’s toString() method will automatically be called to translate these into hexadecimal triplet strings.

The Alternator() constructor accepts two BodyColor objects plus a string


The Alternator() constructor accepts two BodyColor objects plus a string containing whatever is to appear between <BODY> and </BODY>. plus a string containing whatever is to appear between <BODY> and </BODY>.
In theory, the text string can be arbitrarily long, but 4K seems to be the maximum usable length on some Netscape platforms.

The currentBody variable indicates which BodyColor object is used


The currentBody variable indicates which BodyColor object is used to generate the BODY tag.
This is switched by the toString() method, AlternatorString(), each time it is invoked.

The Event constructor takes the start time for the event


The Event constructor takes the start time for the event,the number of times to execute the event, the delay between each execution, and the action to be performed for the event.
The start time and delay are specified in seconds, but are converted to milli-seconds for internal use. The action can be any valid JavaScript statement en-closed in quotes.

The delay parameter specifies how often the events in the queue are checked


The delay parameter specifies how often the events in the queue are checked. This is important because it determines the maximum rate of actions for all events in the queue.
If you specify a queue delay of 0.10 seconds, but an event delay of 0.05 seconds, the event will only be executed every 0.10 seconds. Therefore, the delay should be set to the smallest value required by your events. Values smaller than 0.05 seconds are not recommended.

Like the Alternator effect, the Fader effect involves the transition


Like the Alternator effect, the Fader effect involves the transition from one color scheme to another. But instead of jumping abruptly between colors, the Fader displays a series of intermediate shades, creating the illusion of a smooth transition.
Although the Alternator effect is noisy and jarring, the Fader effect is calm, serene, even solemn.