[thelist] javascript:print();
Scott Brady
evolt at scottbrady.net
Sat Feb 15 16:54:01 CST 2003
----- Original Message -----
From: "Tim Burgan" <burgan at iprimus.com.au>
> I have a frameset where the top frame contains a link 'print this page'.
> The link points to 'javascript:print();'.
>
> This command is going to print the top frame containing the 'print this
page' text, but actually I want it to print the bottom frame.
>
> How do I do this?
Not having tested this:
javascript: top.frames.bottomFrameName.print(); should do the trick.
(Obviously, " bottomFrameName " would be the name of the frame you want to
print.)
This assumes that you only have a basic two-frame frameset, without nested
frames.
Scott
-------------------------------------------
Scott Brady
http://www.scottbrady.net
To: <thelist at lists.evolt.org>
Sent: Saturday, February 15, 2003 7:22 AM
Subject: [thelist] javascript:print();
> --
> [ Picked text/plain from multipart/alternative ]
> Thanks.
>
> Tim Burgan
> --
>
> --
> * * Please support the community that supports you. * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>
>
More information about the thelist
mailing list