Information Systems

College of Business Administration
University of Missouri - St. Louis


Example 12
Graphical Rollovers

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

<script>
function stopError()
{
return true;
}
if (document.images)
{
roll = 1;
}
else
{
roll = 0;
}

if (roll)
{
but1 = new Image();
but1.src="m_ex1.jpg";
but2 = new Image();
but2.src="m_ex2a.jpg";
but3 = new Image();
but3.src="m_ex3a.jpg";
but21 = new Image();
but21.src="m_ex1a.jpg";
but22 = new Image();
but22.src="m_ex2.jpg";
but23 = new Image();
but23.src="m_ex3.jpg";
}

function hiLite(imgDocID,imgObjName)
{
if (roll)
{
document.images[imgDocID].src=eval(imgObjName + ".src");
}
}
</SCRIPT>

</HEAD>
<BODY TEXT="#000000" link="000000" VLINK="#000000" BACKGROUND="background.jpg">
<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>
<h1>Roll Over Example</h1><p>

<center>
<a href="one.html"
onMouseOver="hiLite('key','but1'); return true;"
onMouseOut="hiLite('key','but21'); return true;" >
<img src="m_ex1.jpg" height=25 border=0 name="key" ></a>

<a href="two.html"
onmouseover="window.status='second try'; return true">
<img src="m_ex2.jpg" height=25 border=0></a>

<a href="three.html"
onmouseover="window.status='third try'; return true">
<img src="m_ex3.jpg" height=25 border=0></a>

</center>

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