JavaScriptList
Summary
Sets the JavaScript files to include in the pagelayout.
Usage
JavaScriptList[]= javascript1 JavaScriptList[]= javascript2 ...
Description
You should provide the full path relative to the design directory.
Examples
JavaScriptList[]=javascipts/mynewticker.js
Using this configuration Exponential will load the file "/design/ mydesign/javascripts/mynewsticker.js"
Contributors
- Frederik Holljen Maintainer
- Julia Shymova Updated Maintainer
- Bruce Morrison Commenter
Comments (2 historical)
Written by readers of the earlier documentation sites, kept as they were.
Description & example incorrect
Bruce Morrison ·
There is no need to provide the "full path relative to the design directory" as all the templates that come with the distribution append "javascript/" the the values in the array.
It is enough to simply add the filename of the javascript file and place it in a directory named "javascript" within a design directory.
e.g.
Using this configuration Exponential will load the file "/design/mydesign/javascript/mynewsticker.js"
Re: Description & example incorrect
Bruce Morrison ·
That should have read "There is no need to provide the "full path relative to the design directory" as all the templates that come with the distribution <b>prepend</b> "javascript/" the the values in the array."