Not only can you avoid keeping track of the various frame names in your Web page,
but you prevent typing errors as well. Targets are case-sensitive, and names must match exactly or the
browser won??™t be able to find the target.
Updating two or more frames at once
Sooner or later, most Web designers using frames need to update more than one frame with a single click.
The problem is, you can??™t group two or more URLs together in an anchor tag. Here is an easy-to-implement
solution, thanks to Dreamweaver??™s behaviors.
If you??™re not familiar with Dreamweaver??™s JavaScript behaviors, you might want to look at
Chapter 12 before continuing.
To update more than one frame target from a single link, follow these steps:
1. Select your link text or image in the frame.
2. If you selected text for your link, type javascript:; in the Link field of the Text Property inspector.
The behavior cannot be attached directly to the text; instead, it must be associated with an anchor
or an image. Typing javascript:; in the Link field creates the necessary anchor tag.
If one of the multiple links targets the frame that contains the hotspot, instead of typing
javascript:; in the Link field, you can enter the path to the file that will load in that frame.
3. Open the Behaviors panel by choosing Window ??? Behaviors.
Pages:
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036