O'Reilly logo

Special Edition Using® Microsoft® Office Word 2003 by Bill Camarda

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Web Scripting

Web pages commonly use scripting languages to define actions and objects accessible from within a browser. The most common languages in use are JavaScript (Microsoft's version is called JScript) and VBScript (Visual Basic Script). To add JavaScript or VBScript code to a new Web page, do the following:

1.
Choose Tools, Macro, Microsoft Script Editor from the menu. Or use the keyboard shortcut, Alt+Shift+F11. The Microsoft Script Editor opens up as shown in Figure 24.21, although with a different view from that in typical HTML source viewing.
Figure 24.21. Adding script code to a Web page using the Microsoft Script Editor.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required