Recent changes RSS feed
 

Core Script Tag

CORE:SCRIPT

Acts as a placeholder for inserting JavaScript (and other languages) into the output, both at runtime or for other compile time components.

  <core:script />

May not nest other tags or content (ENDTAG_FORBIDDEN).

Attributes

  • escapestyle (comment | cdata | both) (default=comment) How the contents of the generated script tag are escaped (more info)
  • type (default=”text/javascript”) Allows the language type to be changed

Description

Allows JavaScript to be inserted into the output, both at CompileTime and RunTime. The runtime API is provided by ?CoreScriptComponent.

It is your responsibility to make sure the <core:script> tag is placed correctly (in the <head />) of the template. It does not care.

 
tag/core/script.txt · Last modified: 2006/12/09 17:16
 
Hosting for this site donated by Procata PHP Development