Difference between revisions of "Theme JavaScripts"
From unroole CMS wiki
m |
|||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{for|additional information|Themes}} | {{for|additional information|Themes}} | ||
− | {{for|instructions on how to include | + | {{for|instructions on how to include files|Theme Structure}} |
{{TOC right}} | {{TOC right}} | ||
</noinclude> | </noinclude> |
Revision as of 16:47, 27 July 2012
For additional information, see Themes.
For instructions on how to include files, see Theme Structure.
Javascript files in themes function exactly the same way as Theme Stylesheets. The can be added in either the framework or "javascripts" folder and then referenced in the properties.xml file. Loading of javascript files also works the same way allowing a theme designer to change the ordering of the javascript files as they appear on the page. In each theme package javascript files can be found under the "javasciripts" folder as well as the "frameworks" folder. See Theme Structure for more details.
Most themes will contain at least one or two framework javascript files such as jquery and then additional files to augment or change the way existing widget looks or act when the theme is used.