.chat.offline()
This event handler allows you to invoke a method right after all the operators of your firm go offline. The method will be invoked right after the page loads completely.
Syntax
Copied$zoho.salesiq.chat.offline(function(){});
Example
Copied<script>
$zoho.salesiq.ready=function()
{
$zoho.salesiq.chat.offline(function()
{
#insert your code here
});
}
</script>