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

Joseph W. Lowery

"Dreamweaver CS3 Bible"


Many JavaScript and VBScript functions must be located in the section. To insert this type of
script, first choose View ??? Head Content or, from the Options menu of the toolbar, select Head Content.
Next, select the now visible window and choose Insert ??? Invisible Tags ??? Script, or click the
Insert Script object. Enter your script as described earlier in this section and then select the main Document
window, or choose View ??? Head Content again to deselect it.
CROSS-REF CROSS-REF
201
Accessing the Code Directly 6
You can also indicate whether your script is based on the client-side or server-side by choosing the Type
option from the Property inspector. If you choose server-side, your script is enclosed in
... tags and is interpreted by the Web server hosting the page.
Editing JavaScript and VBScript
Dreamweaver provides a large editing window for modifying your script code. To open this Script
Properties window, select the placeholder icon for the script you want to modify and then click the Edit
button on the Script Property inspector. You have the same functionality in the Script Properties window
as in the Script Property inspector; namely, you can choose your language or link to an external script file
(see Figure 6-29).


Pages:
426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450