The Application Functions
The slideshow functions fall into three categories: layer creation, image handling, and navigation/display. Table 3.1 describes each of the functions and the category in which it belongs.
Table 3-1. Slideshow Functions and Descriptions
Function Name |
Category |
Description |
---|---|---|
|
Layers |
Generates the slides |
|
Layers |
The object constructor for each slide |
|
Images |
Preloads images for the slides and the navigation bar |
|
Layers |
Capitalizes the first letter of the slide name |
|
Layers |
Calls |
|
Layers |
Hides layers |
|
Layers |
Reveals layers |
|
Layers |
Returns a reference to layers based on browser |
|
Layers |
Hides and reveals the slide menu |
|
Layers |
Changes slide currently in view via Guide arrows or autopilot |
|
Layers |
Changes slide currently in view via mouse events |
|
Images |
Performs image rollovers for the slide menu |
|
Navigation |
Sets the window status bar value equal to " " |
|
Navigation |
Manages the autopilot mode |
|
Navigation |
Performs the advance of slides automatically |
Layer-Related Functions
Since most of the slideshow setup relies on layer-related functions, it makes sense to start with them.
genLayer( )
This function is cross-browser DHTML central. Anything you want displayed in the slideshow, no matter ...
Get JavaScript Application Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.