
Developing Sites and Pages 45
navigation bars by creating a custom navigation tree—you can also add, edit,
or delete elements which will access a range of link destination types (see
Adding hyperlinks and anchors on p. 223) just as in Site tab's Site Structure.
Once you're working with a custom navigation tree, the navigation
bar will no longer automatically update when new pages are added
to your site. If you still want this to happen, you'll have to base your
bar on the site's Site Structure.
To customize a selected navigation bar:
1. Double-click the navigation bar.
2. From the Navigation Type tab, enable the Custom option, and ensure
New navigation tree is enabled.
3. (Optional) Name the navigation tree in the Navigation Tree Name box.
4. Rearrange the order of the navigation bar items by drag and drop (or
use the Move Up, Move Down, Make Child or Make Parent
buttons).
5. Click Add Link to add a new link to the end of your navigation bar
list. The element is assigned a link destination, a target frame or
window and a title in the displayed dialog. Click OK.
(Optional) Click Reset to revert the navigation tree back to its original
structure. Export Options... let you control the location and naming
of the JavaScript file used to display your custom navigation tree.
6. Click OK again. The navigation bar now uses the custom navigation
tree to present menu options.
The custom Navigation tree which is saved is given a name (e.g.,
customnavtree-1) and is automatically stored in your site.
If you plan to create more navigation
bars for your site, you can reuse the same
custom navigation tree for your new
navigation bar by selection from the
dialog. Existing bars can also be swapped
to use the new tree structure during
editing.
Comentarios a estos manuales