{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: AddScriptInlineCodeAddScript

Available for:

© 2010 - 2018 FINWICK® UG

We have 19 guests and no members online