DHTML Lab - dhtmlab.com - Dynamic Headline Fader, Version 2.0 | 12

Dynamic Headline Fader, Version 2.0the in-page script

We only need to differentiate between Navigator 4 and Explorer 4+, so only NS4 and IE4 are defined.

The Parameter Variables

As with Version 1, all pages that include a fader must also include a set of parameter variables, that define the fader's look and behavior.

The fader script itself is, of course, included as an external file. By placing the parameters in-page, we can specify a different look and behavior for fader elements on different pages, while using the same external script.

If you are only using the fader once, or if the fader should look and act the same on all pages, then the parameter variables can be included in the external fader script.