GlideParams is an object literal that defines the behavior of the tabs. You know what an object literal is, right?
GlideParams sets the behavior of the menus.
For example, if you want to have the menus decelerate (slow down)
when they open, animation, set ACCELERATION_BACK
to a negative number.
GlideParams = {
START_SPEED : 400,// px per second
HIDE_DELAY_MS : 300,
SHOW_DELAY_MS : 200,// pause before showing submenu
ACCELERATION_OUT : .00055,// px/second/millisecond
ACCELERATION_BACK : .0009,// px/second/millisecond
FRAME_PAUSE : 1,
CLICK_HIDE : true,
CLICK_SHOW : true,
IMG_OVER_EXT : "MO"
};
How many milliseconds before a submenu hides after the user mouses the menu.
How long to pause before showing submenu
How fast to accelerate when opening menu. Use a negative number for deceleration.
How fast to accelerate in px/sec/ms
How fast to accelerate in px/sec/ms
true - menu is hidden when the user clicks elsewhere on the page.
false - (nothing)
true - (nothing)
false - menu is shown when actuatorMouseover is called.
if src="about.gif" is the normal file and you want it
to be "aboutMO.gif" on mouseover, then IMG_OVER_EXT is "MO".
Header images are swapped on mouseover. The image that swapped is set in the GlideParams. You must name your images with an extension for each state, e.g. "pic.gif" and "picMO.gif",.
You would then set the GlideParams for IMG_OVER_EXT
like this:
GlideParams = {
IMG_OVER_EXT : "MO",
...
};
Next in this tutorial: Compatibility for Macintosh IE and Netscape 4