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

Joseph W. Lowery

"Dreamweaver CS3 Bible"

If your form is invisible,
choose View ??? Visual Aids ??? Invisible Elements to make it visible.
4. Enter your form elements as needed. Be sure to name each one individually (with the exception of
a radio-button grouping) for JavaScript purposes. Be sure to use JavaScript-friendly names: no
spaces or special characters and always start the name with a letter.
As with Dreamweaver objects, you don??™t see the OK, Cancel, and Help buttons that appear
when the parameter form is actually used. Dreamweaver displays these buttons to the upperright
part of your interface.
The interface for the Set Layer Z Index action, as shown in Figure 2-1, uses a drop-down list form element
to list all available AP elements and a text box to get the desired Z index from the user.
FIGURE 2-1
This parameter form uses AP elements to create a two-panel tabbed interface.
NOTE NOTE
CAUTION CAUTION
BC 30
Creating a Behavior
In Dreamweaver CS3, the term layer was replaced by the more appropos term, AP element.
This extension was developed for an earlier version of Dreamweaver and uses the older terminology;
the functionality remains the same.
The Main panel uses a drop-down list and a text box to gather the user input. The last part of setting up the
user interface requires a function that initializes the interface and sets the cursor in the right field.


Pages:
1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908