Menus and Navigation >>> Exit Window.
 
Script Categories













Menus and Navigation >>> Exit Window.

When a visitor leaves your page, JavaScript can automatically open a new window. Use it to say "thanks for visiting", etc. Very neat!

Go Back!

Add the below code to the <body> section of your page:

<script language="javascript" type="text/javascript">      
/* Visit http://www.yaldex.com/ for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin
function leave() {
window.open('http://yaldex.com/JSFactory_Pro.htm','','toolbar=no,menubar=no,location=no,height=175,width=600');
}
window.onunload=leave;
//document.onunload=leave;
// End -->
</script>
<center>
<
b>Go Back!</b>
<
/center>

JavaScript Editor Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.



Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).




©