Cisco Cisco Collaboration Server (CS) Guida Dello Sviluppatore

Pagina di 117
Cisco Collaboration Server Client-side API Guide – Version 5.0 
<head>
 
<title>Chat Receive Frame</title>
 
</head>
 
<body>
 
<hr>
 
</body>
 
</html>
 
chatSendFrame.html 
This file is used to send chat to the caller.  The chat message entered by the agent is 
cleared after each message is sent by ChatMessageEvent. Note the function call in 
the action portion of the form tag. 
  
chatSendFrame.html 
<html>
 
<head>
 
<title>Chat Send Frame</title>
 
</head>
 
<body>
 
<form name="sendChatForm" 
action="javascript:top.actionFrame.sendChat(window.document.sendChatForm.me
ssage.value)">
 
<textarea cols="50" rows="10" name="message"></textarea>
 
<br><input type="submit" value="Send Chat">
 
</form>
 
14