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