Cisco Cisco Collaboration Server Dynamic Content Adapter Maintenance Manual

Page of 62
Cisco Collaboration Server ScriptBuilder Guide – Version 5.0 
server>/webline/html/scriptBuilder/ 
viewer/comparison.jhtml?url1=some url&url2=another url');"> Link Text 
</a> 
For <CCS server>, supply the name of your Collaboration Server. 
For some url, supply the full URL of the Web page that you want to appear in the left 
frame of the comparison. 
For another url, supply the full URL of the Web page that you want to appear in the 
right frame of the comparison. 
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 comparison. 
Example: 
  
<a 
href="javascript:parent.scriptcontrol.SharePage('http://server1/webline
/html/scriptBuilder/viewer/ 
comparison.jhtml?url1=http://www.yahoo.com&url2=http://www.google.com')
;"> Yahoo vs. Google </a> 
Chat Messages 
Use the 
DoChat 
JavaScript function to add chat messages to your scripts.  Insert this 
code into your HTML pages as follows: 
<a href="javascript:parent.scriptcontrol.DoChat('message text');">
Link 
Text
</a>
 
For message text, supply the full text of the message that you want to include in the 
script. 
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 chat message.  You may want 
this text to be the same as the chat message text. 
Example:  
  
<a href="javascript:parent.scriptcontrol.DoChat('How can I help 
you?');"> Welcome Message </a> 
Link Back to the Script Menu 
37