Images, CSS, and Javascript
You may upload images, css, and javascript to our servers via the "Customizable Template" --> "Manage Images" or "manage files."
In order to locate these files in the templates, the following template functions are made available:
- ###JS(<Javascript file>)### -Locates the javascript file
- ###IMAGE(<Image file>)### -Locates the image file
- ###CSS(<css file>)### -Locates the css file
Note these functions are language aware and will prefer localized files over the global files. They only return the url path to the server and do NOT wrap the file in the appropriate html tag.
These functions are able to be used as arguments to other functions such as ###CONTINUE('Next step',###IMAGE(next_step.jpg)###)###
Search precedence is as follows:
- Vendor localized file
- SWREG localized file
- Vendor global file
- SWREG global file
