[Chameleon] RE: Print in LocateByAttribute widget

Delfos, Jacob Jacob.Delfos at maunsell.com
Mon Sep 10 19:45:41 EDT 2007


Hi Ilham,
 
Which frame are you actually trying to print? The one that contains the
search functionality?
Are you using the JSAPI mode?
What exactly happens when you press the link in IE6?
 
Jacob
 


________________________________

	From: Ilham Adi Afdillah [mailto:ilham.adi at gmail.com] 
	Sent: 8 September 2007 16:30
	To: Delfos, Jacob
	Subject: Re: RE : Print in LocateByAttribute widget
	
	
	Hi Jacob,
	
	Just info:
	
	I have tested it on IE and Mozilla Firefox.
	In my IE 6 the print function didn't work, but in Mozilla it's
work after I close the "pop-out" window.
	Is there any problem with IE 6?. 
	
	Regards,
	
	Ilham Adi A.
	
	
	On 03/09/2007, Delfos, Jacob <Jacob.Delfos at maunsell.com> wrote: 

		Hi Ilham,
		 
		I didn't realise you wanted to add it to that "pop-out"
window. This window has its content written to it dynamically. It works
well in principle, except that Firefox never "stops loading". Also,
firefox can not see the source code of something that had its code
written to it dynamically. This *may* be why it is not working for you.
		 
		I have tested the principle, and it ought to work in
Internet Explorer. Obviously it has to work in both, but because of this
Firefox issue I'm not sure whether that is possible.
		 
		regards,
		 
		Jacob
		 
		 


________________________________

			From: Ilham Adi Afdillah
[mailto:ilham.adi at gmail.com] 
			Sent: 31 August 2007 21:52
			To: chameleon at lists.maptools.org
			Cc: Delfos, Jacob
			Subject: RE : Print in LocateByAttribute widget
			
			
			
			Hi Jacob,
			
			I was add print function on this section of
searchresults.phtml :
			
			//------------------------------- end adding
results to map--------------------
			 
			 
			      $winContent .="</TABLE><BR><a
href='javascript: window.print();'>print page</a></BODY></HTML>";
			      
			      $winContent = str_replace ('"','\"',
$winContent);
			      $winContent = str_replace ("\n"," ",
$winContent); 
			      $winContent = str_replace ("\r","",
$winContent);
			      
			this link will shown on Attribute Results
window, but still can print that page with this function.
			Any suggestion??
			
			
			Regards,
			
			
			Ilham Adi A.
			

This email and any attachments are intended solely for the named
recipient and are confidential. The copying or distribution of them or
any information they contain by anyone other than the named recipient is
prohibited. If you have received this document in error, please notify
the sender and delete all copies from your computer system and destroy
all hard copies. It is the recipient's responsibility to check this
email and any attachments to this email for viruses before use. 
	




This email and any attachments are intended solely for the named recipient and are confidential. The copying or distribution of them or any information they contain by anyone other than the named recipient is prohibited. If you have received this document in error, please notify the sender and delete all copies from your computer system and destroy all hard copies. It is the recipient's responsibility to check this email and any attachments to this email for viruses before use.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20070911/678314d2/attachment-0001.html


More information about the Chameleon mailing list