...
This example demonstrates embedding a PushCall Chat client in an HTML page and specifying the customData parameter.
Iframe | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<div id='dchat'></div> |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
$(document).ready(function(){ $('#dchat').pcclient({ targetName: '<your_targetname_here>', clientType: 'chat', customData: 'put your custom data here, like clientID: #A44D001' }); }); |
See in action: http://jsfiddle.net/pushcall/fSJ4f/embedded/result,html,js,css
Open PushCall client in popup: $.pcpopup([settings])
...