+ Start a Discussion
Marcel dos SantosMarcel dos Santos 

Have the Live Agent chat as a div in the bottom instead of pop-up

I'm trying to use the live agent chat on a project but I'm having a hard time trying to add the chat to a div in the bottom right corner.

I could successfully open a chat in an iframe inside a div in the corner, using liveagent.startChatWithWindow(). The problem is that when I change the page I would like to have access to the same chat session. I would like to reload the div with the same session.

Is that possible? I don't see any javascript method to reload an existing session. Also, when I change the window, the chat session is closed. Is it possible to do it using this approach or only using the REST API and implementing the whole client communication to the server?
pconpcon
I don't think it's possible with the standard javascript functionality provided by LiveAgent.  I think if you want to do this you will have to implement the entire system using the REST API.  I know that's not what you want to hear, but it's the only way.