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