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

Joseph W. Lowery

"Dreamweaver CS3 Bible"

js Adds ??? *??? to the end of a selected menu item, as in Swap
Image.
addValueToMenuItem() menuItem.js Adds a specified value formatted as ??? (value)??? to the end
of a selected menu item; for example, ??? (show)???, ???
(hide)???, and ??? (default)??? are added in Show/Hide AP
elements.
niceNames() niceName.js Changes JavaScript object references such as
document.layers[???onLayer??™].document.theForm
to a more readable format such as form ???theForm??? in AP
element ???onLayer???.
nameReduce() niceName.js Extracts object names and array numbers/names and encloses
them in quotes, if necessary.
CAUTION CAUTION
BC 54
Creating a Behavior
Function File Description
badChars() string.js Removes inappropriate characters such as
~!@#$%^&*()_+|`-=\\{}[]:\???;??™<>,./ and space.
errMsg() string.js Concatenates strings given in an argument. For example,
errMsg(???Now is the %s for %s to band together.???,
var1, var2) returns ???Now is the time for all men to
band together.??? if var1 is set to ???time??? and var2 is set to
???all men???. However, if var1 is set to ???not the time??? and
var2 is set to ???anyone???, then errMsg returns ???Now is not
the time for anyone to band together.???
escQuotes() string.js Reviews a string and adds the escape character (\) in front of
any single quote, double quote, or backslash found.


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