Adding Scripts to Documents
When you apply behaviors using
tag within the
<head> tag. (All scripts used throughout a
site are listed in the Scripts category of the Assets panel.) If you
apply the same behavior twice within the same document, Dreamweaver
<script> tag. You can even modify the
change a function’s name, Dreamweaver won’t overwrite
your changes even if you reapply the same behavior.
The Insert Script dialog box
The Insert → Invisible Tags → Scripts menu command opens the Insert Script dialog box where you can enter scripts by hand. The Script button in the Objects panel’s Invisibles category opens the same dialog box. See Section 2.7.3 in Chapter 2 for more details.
Other behaviors have more complex parameters, ...