T
Treetop
I would like to pass text to a popup window to save creating a new
html file for each help topic.
I would like to have a value for the heading, a value for the text,
code for printing the help page, and code to close the window.
------------------------------------------
the help window code is following
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function printWindow() {
bV = parseInt(navigator.appVersion);
if (bV >= 4) window.print();
}
// End -->
</script>
</head>
<body>
<h1 align="center">How to View Results</h1>
<ol>
<li>Locate the Application
<li>Leave your mouse over the application and the
popup window displayed
<li>Press the Page Down button on your keyboard
</ol>
<br><br>
<table width="100%"><tr><td>
<a href="javascriptrintWindow()">
Print This Help Page</a>
</td><td align="right">
<a href="javascriptnclick=window.close()">
Close This Help Page</a>
</td></tr></table>
------------------------------------------------
Currently I use the following code for a popup.
<script language="JavaScript">
function popup(theURL){
window.open(theURL,"pop","height=300,width=300")
}
</script>
<a href="bfmenu.html" value="tip_print.html"
onClick="popup(this.value)">Print</a>...
<a href="bfmenu.html" value="tip_view.html"
onClick="popup(this.value)">View entire results</a>...
html file for each help topic.
I would like to have a value for the heading, a value for the text,
code for printing the help page, and code to close the window.
------------------------------------------
the help window code is following
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function printWindow() {
bV = parseInt(navigator.appVersion);
if (bV >= 4) window.print();
}
// End -->
</script>
</head>
<body>
<h1 align="center">How to View Results</h1>
<ol>
<li>Locate the Application
<li>Leave your mouse over the application and the
popup window displayed
<li>Press the Page Down button on your keyboard
</ol>
<br><br>
<table width="100%"><tr><td>
<a href="javascriptrintWindow()">
Print This Help Page</a>
</td><td align="right">
<a href="javascriptnclick=window.close()">
Close This Help Page</a>
</td></tr></table>
------------------------------------------------
Currently I use the following code for a popup.
<script language="JavaScript">
function popup(theURL){
window.open(theURL,"pop","height=300,width=300")
}
</script>
<a href="bfmenu.html" value="tip_print.html"
onClick="popup(this.value)">Print</a>...
<a href="bfmenu.html" value="tip_view.html"
onClick="popup(this.value)">View entire results</a>...