STRUCTURE TABLES WORDS PICTURES NAVIGATION FORMS HOME PAGE

Web Guide Online

Your computer

History of the 'Net

Getting Online

  Plan on Paper

Content/words

Content/pictures

Research tool

Hello Dreamweaver

Organise & Define

Design & Colour

Using Tables

Style & Templates

Adding text

Adding pictures

Navigation & Links

Interactive Forms

Simple Animation

Arabic translation

Test and Publish

Marketing

 

SIMPLE ANIMATION

Behaviors

Behaviors allow the visitors to your website to interact with a web page to change the page in a number of ways ... or to make something happen.

A behaviour is a combination of an event and an action . .. or event + action = behavior

Events are situations that trigger actions. For example an event called onClick happens when the user clicks a button or an event called onMouseOver happens when the mouse pointer passes over an object on the page (like the rollover above).

Actions are pieces of pre-written JavaScript code that perform tasks such as opening a browser window, playing a sound or swapping a picture in response to the event.

You can specify more than one action for an event and the order in which they happen.

When attaching a behavior to a page you specify both an action and the event that triggers it. Dreamweaver offers several pre-defined actions that you can attach to page elements.

Which elements can accept behaviors depends upon the browser. The older the browser, the less options you have, so if you expect your website to be visited by people using older browsers, you should set events that are compatible with those older browsers.

Some people still use very old browsers - older than version 3 of any browser - so it is always a good idea to add a straightforward link on the main page that people can click on to get to a simpler page that will display in their older browsers.

All behaviors are inserted and controlled from the Behaviors panel

The Behavior Inspector

Back the the Thomson Foundation website main home page