Al's TAFE Certificate IV I.T. (Website Design) Exercises

Client Side Script 1

Dreamweaver Behaviours

Behaviours in Dreamweaver

Using Behaviours in Dreamweaver

Behaviours panel

Activity One

Note that some availability of behaviours will be more dependent on the content that is on your page than on the Browser level you are aiming for.

 

Behaviours and the <body> tag.

Adding Behaviours to Images

Activity Two

  1. Place an image on a blank page in Dreamweaver
  2. Add an onClick event with a Popup Message behaviour to the image.
  3. Preview this in a browser and note that the image has no indication that it is clickable. Have a look at the code for this onClick event.
  4. Now remove that onClick event and instead replace it with an (onClick) event that is enclosed in parenthesis.
  5. When you preview this in a browser you will now see that the image is visually clickable as the cursor will change to a hand when you mouseover the image. Check the HTML code for this new (onClick) event and compare with the code for the previous onClick event.

Activity Three