Heya, what will help you here is CSS instead of javascript (:

google for css tutorial or something, but here's essentialy what you
are wanting to do:

CSS if you havent heard of it is short for Cascading Style Sheets and
is a way of setting up how things apear in HTML, you can change colors
of things, change sizes/fonts etc and you can also make things visible
or invisible.

It's a web standard thing so it is widely supported.  some cool
features like vertical text etc arent supported yet universaly but
most CSS features are universaly supported by all browsers.

What else is cool is you can make one style sheet to use for a web
page when it's being displayed on the screen, and you can make a
seperate style sheet to use when it's being printed.

So, for your regular display style sheet you leave the buttons alone,
but in your printing style sheet, you set the buttons to invisible so
they don't show up.

It works like a charm!

On 7/30/05, Dan Stein <[EMAIL PROTECTED]> wrote:
> I need a JavaScript that will put a print button and Back button on a page
> but when you print the page the buttons will not show.
> 
> I have one that works great on everything but the Safari browser ( big
> surprise) and IE 5.1 on Mac ( not as important but annoying) anyone have one
> that works everywhere?
> 
> Dan
> 
> 
> --
> Dan Stein
> FileMaker 7 Certified Developer
> Digital Software Solutions
> 799 Evergreen Circle
> Telford PA 18969
> Land: 215-799-0192
> Cell: 610-256-2843
> Fax 413-410-9682
> FMP, WiTango, EDI,SQL 2000, MySQL, CWP
> [EMAIL PROTECTED]
> www.dss-db.com
> 
> "I destroy my enemies when I make them my friends."
> 
> Abraham Lincoln
> 
> 
> 
> ________________________________________________________________________
> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
>
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to