Skip to Main Content
Adobe® Dreamweaver® CS4 Bible
book

Adobe® Dreamweaver® CS4 Bible

by Joseph Lowery
March 2009
Beginner to intermediate content levelBeginner to intermediate
1321 pages
46h 24m
English
Wiley
Content preview from Adobe® Dreamweaver® CS4 Bible
17
Creating and Using Objects
1
</tr>
<tr>
<td align=”right” height=”5”></td>
<td colspan=”4” rowspan=”2”> <textarea name=”script” i
cols=”50” rows=”8”></textarea>
</td>
</tr>
<tr>
<td align=”right” valign=”top” nowrap>Content:</td>
</tr>
<tr>
<td align=”right” height=”5”></td>
<td colspan=”4” rowspan=”2”><textarea name=”noscript” i
cols=”50”></textarea></td>
</tr>
<tr>
<td align=”right” valign=”top” nowrap>No Script:</td>
</tr>
</table>
</form>
When the parameter form is displayed as an object, Dreamweaver automatically adds the OK and
Cancel buttons; a Help button is added if the displayHelp() function is defined. When you select
the OK button, the objectTag() function combines the values in the <select> and <textarea>
tags with the necessary HTML tags to write the <script> code.
Sizing the Parameter Form Dialog Box
A
lthough you cannot control all aspects of your parameter form—Dreamweaver automatically inserts the
OK and Cancel buttons on the upper right—you can designate the dimensions of the parameter’s dialog
box. Generally, Dreamweaver sizes the dialog box automatically, but for a complex object, you can speed
up the display by using the windowDimensions() function. Moreover, if the object is intended for general
distribution, you can set different window dimensions for the Macintosh and Windows platforms.
The windowDimensions() function takes one argument, platform, and ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Adobe® Dreamweaver® CS5 Bible

Adobe® Dreamweaver® CS5 Bible

Joseph W. Lowery
Dreamweaver® CS3 Bible

Dreamweaver® CS3 Bible

Joseph W. Lowery

Publisher Resources

ISBN: 9780470382523Purchase book