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

Joseph W. Lowery

"Dreamweaver CS3 Bible"

swf???> \n??™ + ;
??? \n??™ + ;
??? ???pluginspage=???http://www.Adobe.com/shockwave/download/;
index.cgi?P1_Prod_Version=ShockwaveFlash??? width=???145??? ;
height=???135??? play=???false???> \n??™ +;
?????™
}
Some developers prefer to set the entire collection of strings to a variable and return that variable.
In this case, you??™d be better served by using JavaScript??™s add-by-value operator (+=), as in this
example:
var retval = ?????™;
retval += ????????? border=???0??? cellspacing=???0??? ; cellpadding=???0???>\n??™;
retval += ??? \n??™;
retval += ??? \n??™;
retval += ??? \n??™;
retval += ???
??™ + newCode + ???
\n??™;
return retval;
n Use single quotes to surround the return values that include double quotes. For every opening
quote of one kind, make sure a matching closing quote exists of the same kind. For example:
return ?????™;
n Use the backslash character, \, to display special inline characters such as double and single
quotes or newline:
return ???You\??™re Right!???;
Unless you??™re mixing variables with the HTML you??™re using for your object, you should use the
object-only method described in the earlier section, ???Making simple objects.


Pages:
1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879