What to Customize?

In order to have a completely portable effect, we need to be able to customize it for each page that uses it. The easiest way to do this is to provide variables for all the parameters that we can set. The values of these variables will then be used to construct our fader. They must appear, therefore, before our fader is defined. Incorporating variables already discussed, we have 14 variables to help customize each use of the fader:

We create one long string that contains all of our stylesheet, inserting the parameter variables in the appropriate places. Since all our properties are separated by a semi-colon, and spaces may be necessary, we assign them to variables, to avoid typos:

We now have a completely customizable technique. Every page in this column, except for the final code pages, has a customized fader in the left column. The parameters for each version are listed under it. Go through the column, studying the results of each parameter combination. You're sure to find one that you can use or modify for your page(s).

Note: If you change the background color of the fader, make sure you have created an appropriate GIF with the same background color. This is the only limitation, and it applies solely to Navigator.