[Chameleon] RE: RE : Print in LocateByAttribute widget

Delfos, Jacob Jacob.Delfos at maunsell.com
Sun Sep 2 20:29:49 EDT 2007

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.


	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
	      $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??
	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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20070903/81aa5dce/attachment.html

More information about the Chameleon mailing list