Menu
Welcome
Quick start guide
Installing on your site
Connecting as operator
Operator commands
API
Operator settings
Roster variables and macroses

Sitehelp API - openChatWindow

API :: openChatWindow


Function allows to open chat window
SITEHELP_API.openChatWindow(
	{
		// Chat window parameters (all are optional)
		left: integer,
		right: integer,
		top: integer,
		bottom: integer,
		width: integer,
		height: integer
	}

);


Example:

SITEHELP_API.onReady (MyOpenChatWindow);

function MyOpenChatWindow() {
	SITEHELP_API.openChatWindow(
		{
			top: 100,
			left: 100
		}
	);
};
Copyright 2011-2014 by Sitehelp.im.