|
|
 |
Behaviors: Hands-On
For this hands-on exercise we are going to use a little
of what we learned in Managing A Site class because we're going
to edit a template instead of an individual page.
- Open your level-3 page template file.
- Delete the first navigational graphic in the nav bar at the
top of the page.
- Replace the nav graphic with a mouseover navigational graphic.
- Repeat steps 2 and 3 with the other three navigational graphics.
- Save your template and observe Dreamweaver making the proper
changes to all pages where the template was applied.
Now let's use a behavior to open a link in a new window.
- Open a page on your site and find appropriate text to create
an external link that opens in a new window.
- Highlight the text and add the null link javascript code to
the link area in the properties inspector.
- Highlight the link text and choose New Browser Window from the
Add Behavior menu.
- Type in the web address for your external link, specify window
size, toolbars and other options.
- Save your page and test your external link in a browser window.
|