Information Systems

College of Business Administration
University of Missouri - St. Louis


Windowing Example - Part 2
View Part 3

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

<SCRIPT LANGUAGE="JavaScript">
function windowOpen2()
{
height=window.innerHeight
width=window.innerWidth

newstart=window.innerWidth+1
newstart1=window.innerHeight+1

myWindow2 = window.open("","windowRef2","width=" + width + ",
height=" + height + ",top= " + newstart1 + ",left= " + newstart + ", focus=yes");
myWindow2.location.href = "windowing2.html";
}
</SCRIPT>

</HEAD>
<BODY TEXT="#000000" link="000000" VLINK="#000000" BACKGROUND="background.jpg" >
<FONT FACE="ARIAL">
<CENTER><TABLE WIDTH="100%">
<TR>
<td width=15%></td>

<TD width=67%>
<CENTER><H3><FONT FACE="Beehive"><FONT COLOR="#C100C1"><FONT SIZE=+2> A Sample Window</FONT></FONT></FONT></H2></CENTER>
</TD>
<td width=15%></td>
</TR>
</TABLE></CENTER>
<h3><p>

<FORM>
<center> First check window sizes<P>
<INPUT TYPE="button" VALUE ="Window Inner Width"
onClick ="alert ('Window width= ' + window.innerWidth)">
<INPUT type="button" value="Screen Available Width"
onClick ="alert ('Screen Width= ' + screen.availWidth)">
</FORM></center><p><hr><p>

<center>
<A HREF=myWindow2.location.href onClick="windowOpen2();return false">Open Second Window</A></center>
<P>
<HR>
<P>
<H5>

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