| Implementing the menus into your menu bar
This is the final step in the process of creating a menus
project.
This process is accomplished by using the
Install Menus option under
Tools.
You will be presented with the Install Menus dialog, as
displayed on the image at the left.
The Install Menus dialog is divided into two sections; the lefts
section shows the folders and files on your web site and the
right section shows the files that have been queued to receive
the menus.
To include a file (or a folder) in the right pane simply drag it
from the left pane and drop it over the right pane. You may also
right click a file (or a folder) and select the
Install Menus option.
When you have all the files on the right pane (since in this
tutorial we're working with just one file we'll have just the
hotspots.htm listed) click the Install
button. This will process all the files in the right pane and
install the menus in all of them.
You could also use the Auto button
to add files to the right pane.
The Auto button will perform a series of tests to determine
which files require the Loader Code. The Loader Code is a piece
of JavaScript code that instructs the browse to load the menus.
Without this code the menus will not be displayed.
Sometimes, on more complex projects, determining which files
require this code can be a bit more complex and the
Auto button
is an excellent aid to let DHTML Menu Builder do this for us.
Now that our hotspots.htm file
contains the Loader Code click on the Close
button to close the Install Menus
dialog.
The only thing left is to generate the JavaScript code
for your menus.
To do so, simply click on Tools->Compile.
Launch your file (hotspots.htm) with your preferred browser and test the
menus.
This concludes the basic "Using a Toolbar" tutorial. Yet,
there're many more things you can do with DHTML Menu Builder.
We now recommend you that you take the "Positioning
the menus" tutorial to learn how to control the way your
menus are positioned and aligned on your pages.
|