Hi, I am trying to create a print function. I am using frames and I have the print button in the top frame or contents frame. I have the text document in the detail frame. I wish to use the print button in the content frame to print whatever text document that shows up in the detail frame. I am a novice and need a little help, here is what I have so far.
[COLOR=darkblue]
<body>
<SCRIPT LANGUAGE=”JavaScript”>
<!– Begin
if (frame.print) {
document.write(‘<form>’
+ ‘<input type=button name=print value=”Print” ‘
+ ‘onClick=”javascript:frame.print(Detail)”> </form>’);
}
// End –>
</script>
</body></html>
Thanks in advance for any help.
Mike