MACROMEDIA DREAMWEAVER 8-EXTENDING DREAMWEAVER Manual page 293

Extending dreamweaver
Table of Contents

Advertisement

Both
tags use the
div
and
), and default
height:181px
panel uses the
blanklayer
in the center of the panel. The
display the selected JavaScript code. The
event occurs, indicating that the selected code has changed, the
called to write the changed text back to the document.
Writing the JavaScript code
The JavaScript code for the Script Editor consists of one floating panel function that
Dreamweaver calls,
selectionchanged()
selectionChanged(): is a script marker selected?
The
selectionChanged()
Design view. A script marker appears in Design view if there is a JavaScript routine in the
section of a document and if Scripts is selected on the Invisible Elements section of the
BODY
Preferences dialog box. The following figure shows a script marker icon:
Script marker
attribute to specify the position (
style
visibility
attribute and a series of break (
center
scriptlayer
textarea
, and one user-defined function,
function determines whether a script marker has been selected in
absolute
setting (
) of the floating panels. The
visible
br
panel creates a form with a single
tag also specifies that when an
updateScript()
A simple floating panel example
), size (
width:422px
) tags to position the text
textarea
onBlur
function is
updateScript().
to
293

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER 8-EXTENDING DREAMWEAVER and is the answer not in the manual?

This manual is also suitable for:

Dreamweaver 8

Table of Contents