Web Hosting and Dedicated Servers Australia

Australian Hosting

 
Home
Dreamweaver - Creating a Behavior
Written by Website Tutorials   
Thursday, 25 May 2006

Creating a Behavior

To create a behavior, you must first decide which HTML tag it will be applied to. This decision will depend on the type of behavior you would like to add. Once you have decided on the tag, you must select it. This can be done by placing the cursor within the element on your page, or by selecting from the Tag list at the bottom:

If you aren't familiar with HTML tags, take a look at TagReference.com to find out which tags are which.

Once you have selected the tag, click on the + button on the Behaviors Palette. This will bring up a list of the Behaviors available to Dreamweaver. Click on the one you wish to use, and a dialog box will come up. The dialog box varies depending on the Behavior you wish to use.

Once the Behavior has been created, it will appear in the Behaviors Palette.

You can now modify the Action of the Behavior by double clicking on the text within the Action field. For the above example, that text would be 'Go To URL'. This will bring up the same dialog box with the information already filled in.

You can also change the Event that will trigger the Behavior. We will now talk about the different events that can be used and when to use them.

 
< Prev   Next >
 
 

Web Hosting Australia | Hosting in the US | Domain Names | Domain Names Registration | Windows Servers | Dedicated Servers | Servers |Site Tutorials