K
Kevin Partin
I am creating HTML documents that have the same structure as shown
below. As a convenience to the user, I wanted to simply put a button
on the bottom of the page to close the window. However, since the
window is not created by a script, the onclick command does not work.
These files are simply meant to be clicked on by the user and
displayed in their browser of choice. Any suggestions?
Kevin Partin
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html">
<title>Eigenvalue Summary Table</title>
<style type="text/css">
<!--
h1 {
font-family: arial,helvetica,sans-serif;
font-size: large;
font-weight: bold;
text-align: center;
}
subtitle {
font-family: arial,helvetica,sans-serif;
font-size:small;
font-weight: bold;
text-align: center;
}
* {
font-family: courier new,courier,monospace;
}
-->
</style>
</head>
<body>
<h1>Real Eigenvalue Summary Table</h1>
<table border="1" cellspacing="0" align="center"
style="width: 80%; text-align: right;"
title="Real Eigenvalue Summary Table" cols="4">
<tbody>
<tr style="text-align: center;">
<td style="font-family: arial,helvetica,sans-serif;">Mode</td>
<td style="font-family:
arial,helvetica,sans-serif;">Eigenvalue</td>
<td style="font-family:
arial,helvetica,sans-serif;">Radians</td>
<td style="font-family: arial,helvetica,sans-serif;">Cycles</td>
</tr>
<tr>
<td>1</td>
<td>2.0</td>
<td>2.0</td>
<td>2.0</td>
</tr>
</tbody>
</table>
<hr align="left" noshade size="1px" width="100%">
<form style="text-align: center;">
<input type="button" value="Close"
onclick="window.close()" style="font-family:
arial,helvetica,sans-serif;">
</form>
</body>
</html>
below. As a convenience to the user, I wanted to simply put a button
on the bottom of the page to close the window. However, since the
window is not created by a script, the onclick command does not work.
These files are simply meant to be clicked on by the user and
displayed in their browser of choice. Any suggestions?
Kevin Partin
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html">
<title>Eigenvalue Summary Table</title>
<style type="text/css">
<!--
h1 {
font-family: arial,helvetica,sans-serif;
font-size: large;
font-weight: bold;
text-align: center;
}
subtitle {
font-family: arial,helvetica,sans-serif;
font-size:small;
font-weight: bold;
text-align: center;
}
* {
font-family: courier new,courier,monospace;
}
-->
</style>
</head>
<body>
<h1>Real Eigenvalue Summary Table</h1>
<table border="1" cellspacing="0" align="center"
style="width: 80%; text-align: right;"
title="Real Eigenvalue Summary Table" cols="4">
<tbody>
<tr style="text-align: center;">
<td style="font-family: arial,helvetica,sans-serif;">Mode</td>
<td style="font-family:
arial,helvetica,sans-serif;">Eigenvalue</td>
<td style="font-family:
arial,helvetica,sans-serif;">Radians</td>
<td style="font-family: arial,helvetica,sans-serif;">Cycles</td>
</tr>
<tr>
<td>1</td>
<td>2.0</td>
<td>2.0</td>
<td>2.0</td>
</tr>
</tbody>
</table>
<hr align="left" noshade size="1px" width="100%">
<form style="text-align: center;">
<input type="button" value="Close"
onclick="window.close()" style="font-family:
arial,helvetica,sans-serif;">
</form>
</body>
</html>