If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Exit-popup window when you close the site / browser

You want to display a pop-up window when you close the site / browser.
For example, this feature works, but it displays a row and all:
[CODE] window.onbeforeunload = function (e) {
return 'Dialog text here.';
}; [/ CODE]
Neither of which there is more thrust comes out. Most pop-up window is done.
That's just not able to withdraw it when the window is closed site.
There is still such, for example, the function:
[CODE] $ (window). Unload (function () {alert ("Bye now!");}); [/ CODE]
But for some reason it does not work.