Script Categories













Miscellaneous >>> Load Alerts.

It's really neat to welcome your visitors and especially cool to say good bye! This script will use JavaScript to greet and 'see out' your visitors.

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! */
function Load()
{
    alert('Welcome!');
}
function Unload()
{
    confirm('Are you sure you want to leave this page?');
}
window.onload=Load;
window.onunload=Unload;
</script>

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!).




©