View Single Post
Old 08-31-2012, 07:36 AM  
Lace
Too lazy to set a custom title
 
Lace's Avatar
 
Industry Role:
Join Date: Mar 2004
Posts: 16,116
Quote:
Originally Posted by livexxx View Post
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() {
		var container = $(this).attr('rel');
		$('#' + container).printArea();
		return false;
	});
The demo on that page has a print button to print named elements on a page. You can create a new CSS element and wrap that around single images as well so that you can click an image and get it to print.

example below :
http://www.gotporn.com/print/
Tried this, and it works fine until I put it into my template. I don't get it. Everything is set - the scripts, the div id's, etc.
__________________
Your Paysite Partner
Strength In Numbers!
StickyDollars | RadicalCash | KennysPennies | HomegrownCash
Lace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote