API

$zopim.livechat.button

Represents the live chat button

Functions

hideHides the chat button
showShows the chat button
setPositionSets the position of the button, ‘bl’ for bottom left, ‘br’ for bottom right
setHideWhenOfflineHide the button when offline

Example

<a href="javascript:$zopim.livechat.button.setPosition('bl')">Bottom Left</a> |
<a href="javascript:$zopim.livechat.button.setPosition('br')">Botom Right</a> |
<a href="javascript:$zopim.livechat.button.setPosition('ml')">Left</a> |
<a href="javascript:$zopim.livechat.button.setPosition('mr')">Right</a>