| Home News Product Order Forum Feedback Partner Profile | © Neatware 2000 |
| Neatware | Snaml |
|
Script |
|
|
Last Update: Wed Apr 12 20:05:36 2000 |
|
Snaml Basic
Introduction Syntax Control Types Modules Status Snaml HTML HTML Structure Link Objects Text Font Snaml CSS CSS Script Snaml CGI CGI Variables Output Form Application Snaml XML XML Document EBNF |
Scripts are programs that embed in a HTML document. Scripts may modify the document dynamically, response events such as mouse moving, and generate GUI. One kind of script executes one time when a document is loaded. Another kind of script is triggered whenever a specific event occurs.
_script command defines a script in its content. It maybe nested and appeared any times. 'type' and 'src' attribute specify the scripting language (e.g. text/javascript) and the location of an external script respectively.
The intrinsic event has a value of script. An event actives the executation of a script. Script's syntax is dependent on the scripting language. Except the Javascript and VB Script, Snaml is also suitable to write a script.
The _noscript command provides alternate content when a script is not executed. A better practice is adding _comment command in the script content. A browser that does not recognize the scripting language will ignore them.
|
|||||||||||||||||||
|
|
Last Update: Wed Apr 12 20:05:36 2000 |
|
Script |
| Neatware | Snaml |
| Home News Product Order Forum Feedback Partner Profile | © Neatware 2000 |