SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 1885 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"

You never actually
touch the event portion of the behavior??”you work only on the action file. To
help the creation process, Dreamweaver provides a comprehensive Extending
Dreamweaver document, which covers all the custom functions, JavaScript extensions,
and the Document Object Model (DOM) that Dreamweaver recognizes.
The functionality and implementation of behaviors in Dreamweaver have greatly
expanded since the original release. By incorporating a much broader DOM,
Dreamweaver can now read and affect virtually any element on the current HTML
page. You can even use behaviors to open other existing documents or create new
Web pages from scratch. Perhaps more importantly, the JavaScript API (that is, the
set of JavaScript functions built into Dreamweaver) is extremely comprehensive,
offering over 600 functions affecting virtually every area of extensibility.
This chapter covers the primary features pertaining directly to behaviors, but the
majority of the JavaScript API is beyond the scope of this book. Before you delve
into the nuts and bolts of behavior building, here??™s an overview of the process for
creating a behavior.
Creating a Behavior from Scratch
Writing a behavior is not so complex when you take it one step at a time. To create
a behavior from scratch, just follow these six basic steps:
1.


Pages:
1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897