Agent List Demo

This demo shows you how to use monitor tag and render chat agent list directly.

  1. Use chatapi.aspx to embed monitor tag and hide button/link/box.
  2. Use ZChat.Departments[i].Agents method to get all agents of the specific department.
  3. Use ZChat.Departments[i].Agents[j].Online method to determine whether the specific agent is online or not.
  4. Integrate online and offline agents to web site page
  5. Use ZChat_OpenDialog() method to show the chat dialog or offline message window.
{^helper:FixChromeScript(/HttpContext/Request/Form/@scriptcode)}