Dreamweaver CS5.5 : Using the Open Browser Window Behavior

11/7/2011 5:55:32 PM
You can launch a new browser window with the click of a link, and you can specify the height and width of the new window to perfectly fit video and images in their own viewers or add other additional information, such as definitions.

Using the Open Browser Window Behavior

1. Click an image, selection of text, or other element that you want to serve as the trigger for the behavior.

2. Click Window.

3. Click Behaviors.

  • The Behaviors pane opens in the Tag Inspector panel.

4. Click .

The list of behaviors is displayed.

5. Click Open Browser Window.

Note: You can select other behaviors from the list to apply those features.

The Open Browser Window dialog box appears.

6. Click Browse.

The Select File dialog box opens.

7. Click and select the folder with the page to which you want to link.

8. Click the file.

9. Click OK.

You are returned to the Open Browser Window dialog box.

10. Type the width in pixels.

  • If you leave the height blank, the window will expand to fill the content automatically.

11. Click any attributes that you want to include ( changes to ).

12. Type a name.

Note: You cannot use spaces or special characters.

13. Click OK.

What is the difference between behavior events and actions?

Think of an event in a behavior like a match and the action like the flame on a candle. When you use a behavior on your Web page, you get to choose what kind of event you want to serve as the spark. One common choice is onClick, which triggers the action of a behavior when a user clicks a link. Another common choice is onMouseOver, which triggers the action of a behavior when a user rolls the cursor over a link.

After you add a behavior, you can specify the event that will trigger the action of the behavior. With the Open Browser Window behavior, both the onClick and onMouseOver events are good choices.

14. Click here.

Note: Hint: Click just inside the line.


15. Click .

The drop-down list of functions appears.

16. Click an event to serve as the trigger for the behavior.

  • The event name is displayed in the Behaviors panel and is associated with the behavior.

17. Click to preview the page in a Web browser.

18. Click a browser.

The page opens in the Web browser that you selected.

  • When you perform the trigger on the element, such as click the image, the new browser window opens in the specified size.

Can I link images, text, and other types of files to behaviors?

Just about anything you can use for a link in Dreamweaver you can associate with a behavior. Just select any image, section of text, or even a video or animation file and then click to select the Behavior action and events from the Behaviors panel.

- Adobe Photoshop CS5 : Fixing Shots with a Dull Gray Sky
- Adobe Photoshop CS5 : When Your Subject Is in the Shadows
- Adobe After Effects CS5 : Color Correction for Image Optimization (part 2) - Individual Channels for Color Matching
- Adobe After Effects CS5 : Color Correction for Image Optimization (part 1) - Levels
- Adobe Fireworks CS5 : Working with Bitmap Images - Managing images on the canvas
- Adobe Fireworks CS5 : Working with Bitmap Images - Resolution and file size, Cropping an image
- CorelDraw 10 : CorelDraw Web Settings
- CorelDraw 10 : World Wide Web Terms
- Adobe Flash Professional CS5 : Creating Masks (part 2) - Create the mask
- Adobe Flash Professional CS5 : Creating Masks (part 1) - Define the Mask and Masked layers
- First look: Apple Watch

- 10 Amazing Tools You Should Be Using with Dropbox

- Sigma 24mm f/1.4 DG HSM Art

- Canon EF11-24mm f/4L USM

- Creative Sound Blaster Roar 2

- Alienware 17 - Dell's Alienware laptops

- Smartwatch : Wellograph

- Xiaomi Redmi 2
Popular tags
Video Tutorail Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS
Top 10
- How To Install Windows Server 2012 On VirtualBox
- How To Fix Skype High CPU And Memory Usage In Windows 8
- Add 270 Additional Cleaning Options To CCleaner With CCEnhancer
- FPPT Provides More Than 2000 Free And Attractive PowerPoint Templates
- Setup Free Media Server To Stream Videos To DLNA Compatible TV, Xbox 360 & PS3 (Play Station 3)
- How To Install Android Market & Google Apps On Kindle Fire
- How To Make Ubuntu Look Like Windows 7
- How To Add A New Account in MS Outlook 2013
- Get Android & Mac OS X Style Gadgets For Windows 7 & Windows 8 With XWidget
- How To Activate Microsoft Office 2013