Behaviors simplify and automate the process of incorporating
common and not-so-common JavaScript functions. The versatility of the behavior format enables
anyone proficient in JavaScript to create custom actions that can be attached to any event. When considering
behaviors, keep the following points in mind:
n Behaviors are combinations of events and actions.
n Behaviors are written in HTML and JavaScript and are completely customizable from within
Dreamweaver.
n Different browsers support different events. Dreamweaver enables you to select a specific browser
or a browser range, such as all 4.0 browsers, on which to base your event choice.
n Dreamweaver includes 34 standard actions. Some actions are not available unless a particular
object is included, and selected, on the current page.
In the next chapter, you learn how to work with tables and structured data.
441
Using Behaviors 12
Tables bring structure to a Web page, and they are especially important
when displaying data for Web applications. Whether it is used to align
numbers in a spreadsheet or arrange columns of information on a page,
an HTML table brings a bit of order to otherwise free-flowing content. Initially,
tables were implemented to present raw data in a more readable format.
Pages:
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848