Topic: Inserting JavaScripts in HTML  (Read 51579 times)

We do not want to both update our own conference webpage and the information in ConfTool when we change, e.g. the terms and conditions or the content of single events. Therefore, we would like to embed JavaScript in HTML to link to our own webpage in descriptive texts within ConfTool. How do we do that?

You can always enter JavaScript in text fields that allow HTML.
You will find a remark for those fields directly in ConfTool, such as "HTML elements may be used" (see image 1).

If you want to include JavaScript in texts that you change via "Wordings and Phrases", you have to enable the expert settings on the bottom of the page of the phrase that you want to change. Click on "Expert Settings Disabled" or the cogwheel to activate them:
Overview -> Settings -> Wording and Phrases -> Edit Phrase (see image 2)

Only with expert settings enabled, JavaScript is allowed. Otherwise it will be filtered out of the updated text.

Please test your changes thoroughly!

Hint: Below you find a JavaSript example to open the link target in a popup window:
Code: [Select]
<a href="http ://www.your-conferencename. org/terms/"
target="page" onclick="window.open(this.href, 'Details', 'width=600, height=300, scrollbars=1'); return false;" onfocus="blurLink(this);">Link Terms and Conditions</a>