Print page with non-printing return button

G

Guest

Hi there,

I have a print-only page that the user goes to in order to print their
document. The problem I have is that I need to have some sort of return
button/link but I don't want it to print as well. I thought about
incorporating some form of "hidden" link such as turning the document title
into a link without the underline. Unfortunately, the user wouldn't know it
was there.

Has anyone solved this problem?


Thanks,

Carlo.
 
M

Marina

When the user clicks to the print page, open it in a new browser version -
issue eliminated.

Or just have it print with the 'back' button. Not a big deal.
 
G

Guest

CSS allows you to specify a MEDIA type (screen/print) on an individual item
basis. There are a couple samples on my site, but you should be able to find
it easily enough on google as well.
 
S

sreejith.ram

I guess window.onbeforeprint() & window.onafterprint() events will
help.. this works great in IE .. not sure about the compatibility

in window.onbeforeprint() , hide the button and window.onafterprint()
display it again..

the button actually doesnt get hidden-shown/blinks for the users eyes..
but this prevents from printing the button

http://msdn.microsoft.com/library/d...thor/dhtml/reference/events/onbeforeprint.asp

or google onbeforeprint() for more help
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top