![]() |
Way to print one image from a page?
Trying to find out a way to print a selected image from a page.
It's a coupon page, with 14 coupons at the moment. I need to find a way to set it up where when you click on an image, it sends just that image to a printer. Or better yet, have check boxes to select which to print, then have a print button below. Anyone know of any easy options off hand? Thanks :thumbsup |
You could use jquery to on-click of an image, (hide) all images except the one clicked on, and then fire the print function. That way the page should only print the image desired.
Something like Code:
$('div.container img').click(function() { |
Quote:
Thanks, potter! |
You can do it very easily to print just single elements with jQuery Print Area plugin
http://www.ssdtutorials.com/tutorial...ery-print.html Code:
$('.print').click(function() { example below : http://www.gotporn.com/print/ |
Quote:
|
Print screen it then paste it in paint then Ctrl- P
|
also take a look at jqprint, i use it for a cms that allows you to only print the source code.
|
All times are GMT -7. The time now is 06:33 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc