[SalesForce] Live agent chat without popup window

Is it possible to start the chat but without opening new window? I would like to have the chat inside a div on existing page. I don't want pre chat forms or anything like that. Just start the chat inside existing page. I'm using Deployment API to setup and initiate chat.

Best Answer

Yes it is possible to do so by using "startChatWithWindow()" from the Live Agent API. By passing in the name of an iFrame it will open up the chat within the iFrame instead of a new window.

The documentation can be found below.

http://www.salesforce.com/us/developer/docs/live_agent_dev/index_Left.htm#StartTopic=Content/live_agent_launching_chat_request_API_startChatWithWindow.htm