PDA

View Full Version : JavaScript code for an exit console needed.



CJ-1
August 8th, 2001, 12:15
Does anyone know where I can find the code for an exit console? I'm looking for one that only opens when a surfer leaves the site without clicking on anything and that has the toolbar etc. in the console.


I looked for it at a few javascript sites with no luck!

gyrbo
August 8th, 2001, 13:25
<script language="javascript">
function openWin()
{
...code for popup...
}
</script>
<body OnUnload="openWin()">