|
Hi guys,
I guess many of you seen service like Save - A - Sale Net (automated sales agent). It works the following way: on your website when visitors clicks on "close" in the browser, window doesn't close immediately but appears chat window saying "A live agent wants to talk to you". I know how to make this chat, just wanted to ask if anybody knows how in javascript create a code that will allow to display an event when visitor clicks on "close"
window. I saw many scripts but nothing seems to work as good as on "save a sale", couse their script works on all browser, not only IE. So just want to ask if this is window.onclose event or onunload, give me some recommendations or script example how to do that. Thank you in advance.
|