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
- In the layout panel enter some text which will become a link. This text will not be shown on the website.
- Select the text and click the 'Insert/Edit link' button in the toolbar
- In the 'Link URL' field, enter the URL of the 'src' attribute of the provided script
- If the URL does not end in 'js' or 'jsp' you will need to enter into the 'Rel' field the value 'javascript'.
- Save the page