Getting Scripts to Work


Why won't my simplest scripts work?

Proper syntax is always a concern in programming. Consequently, it is important to pay strict attention to detail when writing scripts. If you mean for a particular parameter to be a string, for example, you will run into trouble if you forget to enclose it in quotation marks when you type it.

Properly Placing Your Scripts

Is there a difference in where I put my scripts on the HTML page?

The scripts you write are interpreted as part of your Web browser's HTML parsing process. This means that if the script you create is located inside the <HEAD> tag in a document, it will be interpreted before any of the <BODY> tag is looked at. If you have objects that are created in the <BODY> tag, they don't exist at the instant the <HEAD> is being parsed and, therefore, can't be manipulated by the script.

Special Edition Using Microsoft Office PowerPoint 2003
Special Edition Using Microsoft Office PowerPoint 2003
ISBN: 0789729571
EAN: 2147483647
Year: 2003
Pages: 261 © 2008-2017.
If you may any questions please contact us: