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

Joseph W. Lowery

"Dreamweaver CS3 Bible"


unescQuotes() string.js Removes any escape characters (\) found in a string.
extractArgs() string.js Takes a function call and extracts the arguments into an array
without quotes.
getParam() string.js Returns an array of named objects within a given tag found on
the current page.
findObject() UI.js Returns the JavaScript object reference for any named object.
For example, if you have an image named imgOne in a form
in an AP element, findObject(???imgOne???) returns
document.layers[???onLayer??™].imgOne.
Dreamweaver Behavior Techniques
Creating a behavior is often far more than just stringing together a number of predefined functions. Specific
techniques exist for many special needs, and if you don??™t know them, you can spend many hours redeveloping
the wheel. In this section, you learn several methods that can help you streamline your work.
Specifying an event
In Dreamweaver, every tag capable of being used to launch a behavior has a default event. Although you
can alter the default events for various tags by editing the HTML files in the Events folder, as described in
Chapter 12, these changes affect only your own system, not those of other users. You can, however, specify
the desired event on a behavior-by-behavior basis??”in fact, you can specify a series of desired events.


Pages:
1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946