Insert Javascript content.
Here's an example:
<!-- must be inside a content definition --><js>alert("Ready for takeoff!);</js>
This would render the following:
<script type="text/javascript">alert("Ready for takeoff!);</script>
name | purpose | type | required? | default | choices |
---|---|---|---|---|---|
section |
Section to add script to | text | No | "js" |
name | purpose | type | required? | default | choices |
---|---|---|---|---|---|
if |
Conditional expression | expression | No | yes |
|
obj |
Object to render | index | No |