Spring Manual

Including Javascript

Some third party websites utilise Javascript to integrate their services directly on a page on your website.

In most instances you will be provide a snippet of html similar to below:

<script type="text/javascript" src="http://www.widgets.com.au/widget.js"></script>

Adding Javascript to a page

  1. In the layout panel enter some text which will become a link. This text will not be shown on the website.
  2. Select the text and click the 'Insert/Edit link' button in the toolbar
  3. In the 'Link URL' field, enter the URL of the 'src' attribute of the provided script

    Including Javscript

  4. If the URL does not end in 'js' or 'jsp' you will need to enter into the 'Rel' field the value 'javascript'.
  5. Save the page