Over time, you can expect significant growth in the
capabilities of the JavaScript and VBScript disciplines.
Dreamweaver, through the application of its behaviors, goes a long way toward making
JavaScript useful for nonprogrammers. To learn more about behaviors, see Chapter 12.
Use the Script Property inspector (see Figure 6-28) to select an external file for your JavaScript or VBScript
code. You can also set the language type by opening the Language drop-down list from the Script window
and choosing either JavaScript or VBScript. Because different features are available in the various releases of
JavaScript, you can also specify JavaScript 1.1 or JavaScript 1.2. Choose a specific version of JavaScript
when you initially insert the script??”you cannot change the setting from the Script Property inspector.
Naturally, you can also make the adjustment in Code view.
FIGURE 6-28
The generous Script dialog box provides plenty of room for modifying your JavaScript or VBScript.
When you choose JavaScript or VBScript as your Language type, Dreamweaver writes the code accordingly.
Both languages use the
With Dreamweaver, you are not restricted to inserting code in just the section of your Web page.
Pages:
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449