Topic: Probably a dumb dumb question... (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: Kansas, just this side of the rainbow |
posted 06-27-2006 21:07
I am working on a program that will be set on an Intranet and go through people's web browser. Is there a way to code in a button that they click on that submits an invoice and simultaneously opens the print window so that they can print out a copy? I am not much a javascript guy, but I thought that javascript is the best chance at this actually happening. |
Nervous Wreck (II) Inmate From: Kansas, just this side of the rainbow |
posted 06-27-2006 21:29
Okay, I am finding a bit on this topic: |
Maniac (V) Mad Scientist with Finglongers From: Germany |
posted 06-27-2006 22:07
Window.Print plus perhaps hiding/displaying some parts of the current page is usually indeed the way to go. |
Paranoid (IV) Inmate From: Norway |
posted 06-27-2006 23:18
quote: why not simply having a stylesheet for the 'print' media ? even IE5 supports this media. |
Maniac (V) Inmate From: |
posted 06-28-2006 01:08
quote:
|
Maniac (V) Mad Scientist with Finglongers From: Germany |
posted 06-28-2006 08:48
Did I say how I hide those parts ? |
Paranoid (IV) Inmate From: Norway |
posted 06-28-2006 09:48 |
Paranoid (IV) Inmate From: Dublin, Ireland |
posted 07-10-2006 00:39
After doing CORBA and been giving various snippets to learn off and re-use I can totally understand why you'd want to know how it works, especially if you want to modify it, beginner or not. |