Interactive Content with Scripting - Adding Scripts to Pages |
|
> Insert Menu - JavaScript Inserting JavaScript code into your document is easy, you can either code it manually (read this) or use the ScriptWorx tools. By opening the JavaScript tool, you can specify the following options. Language - The scripting language you wish to use, which doesn't necessarily have to be JavaScript. This will affect the way a web browser displays your code. (Warning - Netscape and Opera do not support VBScript on the client-side). Mime Type - This is optional but can affect the way a web browser handles scripts stored in a separate file. Source - Specifies the name of the file in which code can be found as an alternative, with JavaScript files normally having a .js extension. Noscript Message - A message which users with a browser incapable of using JavaScript or users who have disable JavaScript will see as an alternative. The code editor is located at the bottom of the JavaScript tool, which supports both Function and Object Insight for JavaScript. When you are ready to add your code to your document, simply click "OK".
|