Howdy, Stranger!

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


Help Needed

sephra100sephra100 Member Posts: 3
[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
[email protected]


  • sharath_khsharath_kh Member Posts: 4
    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

  • Chris BrownChris Brown USAMember Posts: 4,624 ✭✭

    ___ ( ) free video tutorials and ebooks about [ Python C# PHP Objective-C Java Go Scratch Ruby Visual Basic Perl R MATLAB JavaScript C Visual Basic .NET Delphi C++ Swift Assembly PL/SQL Hack Awk ML ABAP VBScript Alice Crystal Julia Scheme Fortran FoxPro Dart Logo Bash Clojure Kotlin Lua F# LabVIEW Erlang Transact-SQL D Rust SAS Ada Apex COBOL Lisp Scala Prolog ] _____________

Sign In or Register to comment.