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="JavaS cript">
<!-- Begin
function printWindow() {
bV = parseInt(naviga tor.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%"><t r><td>
<a href="javascrip t:printWindow() ">
Print This Help Page</a>
</td><td align="right">
<a href="javascrip t:onclick=windo w.close()">
Close This Help Page</a>
</td></tr></table>
------------------------------------------------
Currently I use the following code for a popup.
<script language="JavaS cript">
function popup(theURL){
window.open(the URL,"pop","heig ht=300,width=30 0")
}
</script>
<a href="bfmenu.ht ml" value="tip_prin t.html"
onClick="popup( this.value)">Pr int</a>...
<a href="bfmenu.ht ml" value="tip_view .html"
onClick="popup( this.value)">Vi ew 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="JavaS cript">
<!-- Begin
function printWindow() {
bV = parseInt(naviga tor.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%"><t r><td>
<a href="javascrip t:printWindow() ">
Print This Help Page</a>
</td><td align="right">
<a href="javascrip t:onclick=windo w.close()">
Close This Help Page</a>
</td></tr></table>
------------------------------------------------
Currently I use the following code for a popup.
<script language="JavaS cript">
function popup(theURL){
window.open(the URL,"pop","heig ht=300,width=30 0")
}
</script>
<a href="bfmenu.ht ml" value="tip_prin t.html"
onClick="popup( this.value)">Pr int</a>...
<a href="bfmenu.ht ml" value="tip_view .html"
onClick="popup( this.value)">Vi ew entire results</a>...
Comment