[thelist] printing and getting to the header settings via JS
Tom Dell'Aringa
pixelmech at yahoo.com
Tue Nov 12 11:06:01 CST 2002
--- Garrett Coakley <garrett at polytechnic.co.uk> wrote:
> On Tue, 12 Nov 2002 08:07:34 -0800 (PST) Tom Dell'Aringa wrote:
>
> > Does anyone know if it is possible to get to the File > Page
> Setup
> > properties via JS? My client wants to have the header and footer
> > pages blank when the person prints the page.
>
>
> Not a JS person, but couldn't you just use a stylesheet for
> printing
> (media="print") and set the header and footer elements to
> 'display:none'
I'm not talking about any page elements, but the header and footer of
the actual printed page. You get to those via File > Page Setup. Then
there are two lines, one for header and footer.
The default for the header, for example is:
&w&bPage &p of &P
But they want it blank.
Tom
=====
var me = tom.pixelmech.webDeveloper();
http://www.pixelmech.com/
http://www.maccaws.com/
[Making A Commercial Case for Adopting Web Standards]
__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2
More information about the thelist
mailing list