frame printing - Programmers Heaven

Howdy, Stranger!

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

Categories

frame printing

arkararkar Posts: 9Member
I would like to print a document on another frame. But i want to put the button on the different frame.
Pls advice me to do it for simple coz i am not bad at programming.

Comments

  • Secret_DoomSecret_Doom Posts: 116Member
    Let's suppose you've got two frames: leftFrame and mainFrame. The button is on leftFrame, and you want to something at mainFrame (anything).

    At leftFrame, to gain access to mainFrame:

    parent.mainFrame.whatever

    e.g.:

    parent.mainFrame.document.write('test')

    Got it?

    -- Secret_Doom - Leonardo Pignataro --

    [email protected]
    www.batch.hpg.com.br


    : I would like to print a document on another frame. But i want to put the button on the different frame.
    : Pls advice me to do it for simple coz i am not bad at programming.
    :

  • arkararkar Posts: 9Member
    : Let's suppose you've got two frames: leftFrame and mainFrame. The button is on leftFrame, and you want to something at mainFrame (anything).
    :
    : At leftFrame, to gain access to mainFrame:
    :
    : parent.mainFrame.whatever
    :
    : e.g.:
    :
    : parent.mainFrame.document.write('test')
    :
    : Got it?
    :
    : -- Secret_Doom - Leonardo Pignataro --
    :
    : [email protected]
    : www.batch.hpg.com.br
    :
    :
    : : I would like to print a document on another frame. But i want to put the button on the different frame.
    : : Pls advice me to do it for simple coz i am not bad at programming.
    : :
    :
    :

Sign In or Register to comment.