Information Systems

College of Business Administration
University of Missouri - St. Louis


Example 7
OnLoad and OnUnLoad with variables Examples


<HTML>
<HEAD>
<Title>A Sample DSS</title>
</HEAD>

<BODY TEXT="#000000" link="000000" VLINK="#000000" BACKGROUND="background.jpg"
onLoad="alert ('Welcome to this Example!');
nextPage = 'this page again'"
onUnload = "alert ('You are on your way to ' + nextPage)">


<FONT FACE="ARIAL">
<CENTER><TABLE WIDTH="79%" >
<TR>
<TD>
<CENTER><H2><FONT FACE="Beehive"><FONT COLOR="#C100C1"><FONT SIZE=+4>
A Sample DSS</FONT></FONT></FONT></H2></CENTER>
</TD>
</TR>
</TABLE></CENTER>
<h3><p>

Would you like to visit the
<center>
<A HREF="one.html" onclick="nextPage='first example'">first example</A>

or the
<a href="two.html" onclick="nextPage='second example'">second example</a>?

</center>


<p>
In this example, we provide information to our user when he or she leaves our page.<p>
Select "return to index" below.
<p><p><p><P><hr><p>
<h4><strong><img src="button2.jpg" width = 20>
<a href="index.html">Return to Index</a>
<p><br><p>
<h6><i>Page Owner:</i> <a href="http://www.umsl.edu/~sauter/">Professor Sauter</a> (<a href="mailto:Vicki.Sauter@umsl.edu">Vicki.Sauter@umsl.edu</a>)<br>

<SCRIPT LANGUAGE = "JavaScript">
// This automatically updates the last modified date for the page.
//
when = document.lastModified
document.write("<i>This page was last modified on:</i> " + when + "<br>")
//
// This automatically updates the location documentation on the page.
where = document.location
document.write("<i>URL:</i> " + where)
</script>

<br>
© Vicki L. Sauter. All rights Reserved.
</html>


| UM-St. Louis Home Page | College of Business Page | IS Home Page |



Page Owner: Professor Sauter (Vicki.Sauter@umsl.edu)
© Vicki L. Sauter. All rights Reserved.