My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 321: Want to print the content which is displayed in modal box
2 people starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  ----
Closed:  Nov 2009


 
Reported by sandyka...@gmail.com, Aug 27, 2009
What steps will reproduce the problem?
1. When the popup modal box is open. I want to print only that part of the
page.

What is the expected output? What do you see instead?
Want to print only the content which is displayed in modal box window.

What version of the product are you using? On what operating system?
OS - Win/Linux
PHP5
Browser - FF3.5, Chrome, IE6,7,8

Please provide any additional information below.
I have button in popup modalbox window and I want to print only that part
on the page. How can I do it.

Please suggest.

Thanks in advance.
Sandeep
www.sandykadam.com


Aug 27, 2009
Project Member #1 nyro...@gmail.com
The easier idea will be to include a css in the loaded page especially for print.

Then simply use this CSS to customize what you want to print and how you want it;
basically hide everything except what's in the #nyroModalContent
Aug 27, 2009
#2 sandyka...@gmail.com
Thanks for your reply.

The page which I'm calling for the modal box window is popup.php and in that I have
add this code of JS.

$(function()
{
	$('#printButton').click(function () 
	{ 
			window.print();
			return false;
	});
	
});

Where "printButton" is ID given to input type button on same page. But this function
is not been called when I click on button.

Can you please tell what is wrong?

Thanks
Sandy
Oct 13, 2009
Project Member #3 nyro...@gmail.com
Sorry for the long delay.
Your code might work. Maybe something else is wrong.
Could you give me an URL or the code you're using and I'll investigate it.
Nov 8, 2009
Project Member #4 nyro...@gmail.com
(No comment was entered for this change.)
Status: WontFix

Powered by Google Project Hosting