Zopim is now called Zendesk Chat. All API functionality will continue to work as normal and the namespace will not change in the immediate future.

Javascript API

$zopim.livechat.offlineForm

Customize the offline form.

Summary
$zopim.livechat.offlineFormCustomize the offline form.
Functions
setGreetingsSet the greeting message displayed on the offline form.

Functions

setGreetings

function setGreetings(msg)

Set the greeting message displayed on the offline form.

Parameters

msgA string to be used

Example

<script>

  $zopim(function() {
    $zopim.livechat.offlineForm.setGreetings('We are currently offline. Please leave us a message.');
  });

</script>
function setGreetings(msg)
Set the greeting message displayed on the offline form.