Skip to the content
Documentation

JavaScriptList

No ratings yet

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

Comments (2 historical)

Written by readers of the earlier documentation sites, kept as they were.

  1. 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.

    JavaScriptList[]=mynewticker.js

    Using this configuration Exponential will load the file "/design/mydesign/javascript/mynewsticker.js"

    1. 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."

Comments

Add a comment

Comments are read by a moderator before they appear.