Help Needed

[b][red]This message was edited by the sephra100 at 2002-6-10 5:12:22[/red][/b][hr]
I need help

I have recently taken up the task of updating many websites and am attempting to get some html code that allows the user to print a page. What my code does is that it opens and prints a different document but te user NEVER sees this document they simply remain on the original page.

Here is my code:


This code works only in Internet Explorer and I would like it to work in Netscape. Can anyone help me????

Thank You

Sandra Shepherd


  • Hi There,

    I advise u to call this window.print() function in the resources.shtml page. There u call this in onload event of the BODY tag. After the window.print command u can redirect the page back to the parent window.
    For Eg:
    function printSelectedPage() {
    window.print() ;
    history.back() ;

    write this in resources.shtml and call it in onload event.

    Good Luck to u

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion