Web Analytics Made Easy -
StatCounter Print another frame??? - CodingForum

Announcement

Collapse
No announcement yet.

Print another frame???

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Print another frame???

    In the frame1 (name=footer) I want a text-link to print the content of the frame2 (name=main). I know the command: self.print() but this prints only the frame1.
    Please tell me the correct command if it is possible.

  • #2
    try parent.main.print()
    I am the luckiest man in the world

    Comment


    • #3
      To ensure printing right frame, I suggest:
      parent.frameName.focus();
      parent.frameName.print();
      Zvona
      First Aid for
      Web Design

      Comment


      • #4
        Originally posted by Roelf
        try parent.main.print()
        I also tried this, but it doesn't work. The next answer in this thread is is the right answer. Thanks.

        Comment


        • #5
          Originally posted by Zvona
          To ensure printing right frame, I suggest:
          parent.frameName.focus();
          parent.frameName.print();
          Hi Zvona, it works fine. Thank you!

          Comment

          Working...
          X