Custom JavaScript
Business Background
Add meaning to your Web page and identify features easily with JavaScript.
Titan Solution
You can add multiple JavaScript manually or get a script from a source.
How to Video
How to Guide
- Select the Gear icon next to the plus (+) icon in Titan Web. The Project settings screen opens.
- Select the Tools option.
- Enable the Custom JavaScript toggle and select the Gear icon. The Custom JavaScript screen opens.
- Add the Type of the data script in the field.
- Type the Integrity to ensure that you have the correct script.
- Type the Cross Origin when you want to allow page sharing.
- Select the Async checkbox to allow multiple tasks to run simultaneously during download.
- Select the Defer checkbox to allow multiple tasks to run after download.
- You can get your script from a source by selection the SRC button.
- You can type your script in the content field by selecting the Write Content button.
- You can use the remove icon the remove script.
- Select the Add a Script button to add multiple scripts.
- Select the Apply button.
You can use ftGetEnvParamValue() for an environment variable when using custom JavaScript.
- Select the Save and Publish button.
- Select the Launch Site button.
- Right-click on the screen and select the Inspect option from the context menu to view the script.
- Alternatively, you can select the View page source option if you used a source.
The JavaScript screen will show under the Elements tab