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 1872 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"

charAt(0) == ???m??™){ // Macintosh
return ???650,530???;
}
else { // Windows
return ???670,550???;
}
}
Adobe recommends that you not use the windowDimensions() function unless you want your dialog box
to be larger than 640 x 480 pixels. Like all Dreamweaver extensions to the Application Programming Interface
(API), the windowDimensions() function can be used to build both objects and actions.
Using the form controls
Dreamweaver uses the HTML
tag and all its various input types to gather attribute information for
objects. To use the form elements in a parameter form, their input data must be passed to the JavaScript
functions. Because Dreamweaver uses a subset of the Navigator 4.0 Document Object Model (DOM), as
shown in Table 1-1, you are restricted to using specific methods for the various input types to gather this
information. Properties marked with an asterisk are read-only.
TABLE 1-1
Form Elements in the Dreamweaver DOM
Object Properties Methods Events
form elements* (an array of button, None None
checkbox, password, radio,
reset, select, submit, text,
and text area objects); child
objects by name
Button form* blur() OnClick
reset focus()
submit
checkbox checked blur() OnClick
radio form* focus()
password value blur() OnBlur
text form* focus() OnFocus
Textarea select()
select form* blur() (Windows only) onBlur (Windows only)
options[n].


Pages:
1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884