Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print picture command link help needed

Status
Not open for further replies.

Rupert55

Technical User
Dec 17, 2007
5
0
0
US
I need to place several images on my website that are coupons so a visitor can print by clicking on each one indivigually. I want to link the image to a print picture command so the visitor doesn't have to right click and select "print picture".
Is there javascript code to do this?

Please advise. [licklips]
Thanks Richard
 
Rupert, I would recommend having a popup appear with the selected image and then add

Code:
<body onload="window.print()">

Cheers

Nick

where would we be without rhetorical questions...
 
Thanks Nick for the suggestion. I have 60 coupons to do each month and with that amount of images and pop-ups I really need to find a way to have the visitor just click on the coupon and a print window comes up. That way I can just link to the script and not have to spend time dealing with all those windows.
Do you have any other suggestions on how to do this?

Thanks again, [licklips]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top