help.sitevision.se always refers to the latest version of Sitevision

Add JavaScript

Here you add a JavaScript asset. If you add the assets to the <body>, the page will not be blocked when the script is loaded.

Keep in mind that if you add an asset in <head> it will block the page rendering, which makes page loading slower. Therefore, we recommend that you make your add-on in <body> if it is not required to be in <head>.

Add JavaScript

If you want to add your own CSS assets or JavaScript assets, you should have experience of this. If they are added incorrectly, it may affect the webpage.

JavaScript

Name

Give your asset a name. One tip is to write as clear a name as possible, because it is the name that will appear in the list of JavaScript assets.

Source

Designate a js file or enter the address of a JavaScript source.

By default, the file archive is displayed where you browse for the correct file. To specify an address instead, select to change the link type to External page.

Select resource

Use in edit mode

Whether the assets should be printed/rendered in the editor or not.

This function requires you to have "Manage developer functions" permission.

 Help with scripts is not included in the support agreement.

The page published:

Did the information help you?