+ Start a Discussion

Live Agent pop-up window questions

Hi - I was wondering how customizable the live agent pop-up window is.  I'm not a javascript expert so I am unsure how to do these things or whether they are even possible.  Any help is appreciated.


  • Can you set the position of the pop-up when they click the "chat" button?
  • Can you set the size of the pop-up?
  • When you click "end chat", is it possible to close the entire window as well (instead of having to click the 'x' on the window)
Anja IshmukhametovaAnja Ishmukhametova
for the 2,3 point: setChatWindowHeight, setChatWindowWidth  you can read how to use it here http://www.salesforce.com/us/developer/docs/live_agent_dev/live_agent_dev_guide.pdf  

how to lose popup-window u can use this way: 
when you start chat 
liveagent.startChatWithWindow(chartBtnId, windowLiveChatName); use you custom windowLiveChatName
then to get a reference to popup  :  var w = window.open("", windowLiveChatName)
and then w.close()