Cisco Cisco Collaboration Server Dynamic Content Adapter Manual De Mantenimiento
Cisco Collaboration Server ScriptBuilder Guide – Version 5.0
Supported JavaScript Functions
The Collaboration Server supports four JavaScript functions that you can use to add
content and functionality to your script. You place these JavaScript functions within
HTML anchor tags:
HTML anchor tags:
<a href="JavaScript Function">Link text </a>.
The JavaScript functions allow you to add the following items to your scripts:
• Web pages
• Web page comparisons
• Chat messages
• A link back to the script menu
Web Pages
Use the
SharePage
JavaScript function to add Web page links to your script. Insert
this code into your HTML page as follows:
<a href="javascript:parent.scriptcontrol.SharePage('some url');">Link
Text </a>
Text </a>
For some url, supply the full URL of the Web page that you want to add.
For Link Text, supply the text that you want to appear in the script. The agent sees
this text in the script and clicks the text to share the page.
this text in the script and clicks the text to share the page.
Example:
<a
href="javascript:parent.scriptcontrol.SharePage('http://www.yahoo.com');
"> Yahoo </a>
href="javascript:parent.scriptcontrol.SharePage('http://www.yahoo.com');
"> Yahoo </a>
Web Page Comparisons
Use the
SharePage
JavaScript function to add Web page comparison links to your
scripts. Insert this code into your HTML page as follows:
<a href="javascript:parent.scriptcontrol.SharePage('http://<CCS
36