The go to URL behavior allows a user to open a new page in the current window or in a specified frame. Not only can it be performed by different events, but it is especially useful for changing the contents of two or more frames at once.
First, Dreamweaver CS5 go to URL behavior
1. Select a page element or object.
2. Open the Behavior panel.
3. Click the "Add behavior (+)" button and select "Go to URL" in the Drop-down menu that pops up. As shown in the following illustration:
Figure 1 Selecting the Go to URL command in the behavior panel
4. Open the Go to URL dialog box, as shown in the following illustration:
Figure 2 "Go to URL" dialog box
Open in: Select a destination window for the URL.
URL: Enter a URL address directly, or click the Browse button to select a document to open.
5. Click "OK" button.
6. See if the attached event is a required event. If it is not the event you want, you can change the event.
7. See if the behavior parameters are appropriate. You can also modify the behavior parameters if they are not appropriate.
Second, Dreamweaver CS5 go to more than one URL behavior
1. Select a page element or object.
2. Open the Behavior panel.
3. Click the "Add behavior (+)" button and select "Go to URL" in the Drop-down menu that pops up.
4. Open the Go to URL dialog box, as shown in the following illustration:
Figure 3 "Go to URL" dialog box two
5. Select "Frame" mainFrame by referring to the method of the Figure 2 dialog box, enter the URL as shown in the following illustration:
Figure 4 Selecting "Frame" MainFrame ""
Select Frame rightframe, enter the URL as shown in the following illustration:
Figure 5 Selecting "Frame" Rightframe ""
Tip: URL addresses can be the same or different.
6. Click "OK" button.
7. See if the attached event is a required event. If it is not the event you want, you can change the event.
8. See if the behavior parameters are appropriate. You can also modify the behavior parameters if they are not appropriate.