Decision Support Systems For Business Intelligence
    by Vicki L. Sauter

 
 
Codebox 5.6

<!DOCTYPE HTML PUBLIC "-     //W3C     //DTD HTML 4.0 Transitional     //EN">
<html><head>
<meta name="MSSmartTagsPreventParsing" content="TRUE">
<title>JavaScript Examples</title>
<style type="text/css">
<!--
H1, H2, H3, H4, H5, H6 {font-family:"Arial"}
td {font-family:"Arial"}
td {font--size: 10pt}
td {font-weight: bold}
td {border-width: 2px}
table {border-color: #8D89C7}
body {font-family:"Arial"; font-size: 10pt; font-weight:bold}
p {font-family:"Arial"; font-size: 10pt; font-weight:bold}
-->
</style>

<script>
function windowOpen()
{
height=.5*screen.availheight
width=.5*screen.availwidth                    

                        newstart_top=height+1;
newstart_left=width+1;

mywindow = window.open("help_window.html","windowref","width=" + width + ",height=" + height+",top=”+newstart_top+”,left=”+newstart_left+,,screenx=0,screeny=0, focus=yes");

}
</script>

 

</head>
<body text="#000080" vlink="#000080" background="graphics/background2.gif" link="#000080" >

<center><big>Open Multiple Windows</big></center>

<p align=right>
<cfform name=”example open”>
<cfinput type=button name=”open window” value=”Get Help”  OnClick="windowOpen(); return false">
</cfform>

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

</body>
</html>

 

   Page Owner: Professor Sauter (Vicki.Sauter AT umsl.edu)