User Rating: 0 / 5

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

{AddScriptFile url="/path/to/your/js/file.js" type="script type" defer="true|false" async="true|false"/}

If you want to add a Java-Script-File to your Site, you can use this tag.

Params of AddScriptFile

url: URL of the script file

type: tpye of the file default text/javascript

defer true|false default false

async true|false default false

How to use it:

{AddScriptFile url="/template/mytemplate/js/customer.js" async="true"/}

This will add the Java-Script-File to the head section of the HTML-Page.

See also: AddScriptInlineCode AddScript


Available for: