<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3132" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=852262500-03092007><FONT face=Arial
color=#0000ff size=2>Hi Ilham,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=852262500-03092007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=852262500-03092007><FONT face=Arial
color=#0000ff size=2>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.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=852262500-03092007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=852262500-03092007><FONT face=Arial
color=#0000ff size=2>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.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=852262500-03092007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=852262500-03092007><FONT face=Arial
color=#0000ff size=2>regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=852262500-03092007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=852262500-03092007><FONT face=Arial
color=#0000ff size=2>Jacob</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=852262500-03092007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=852262500-03092007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Ilham Adi Afdillah
[mailto:ilham.adi@gmail.com] <BR><B>Sent:</B> 31 August 2007
21:52<BR><B>To:</B> chameleon@lists.maptools.org<BR><B>Cc:</B> Delfos,
Jacob<BR><B>Subject:</B> RE : Print in LocateByAttribute
widget<BR></FONT><BR></DIV>
<DIV></DIV>Hi Jacob,<BR><BR>I was add print function on this section of
searchresults.phtml :<BR><BR>//------------------------------- end adding
results to
map--------------------<BR> <BR> <BR>
$winContent .="</TABLE><BR><a href='javascript:
window.print();'>print
page</a></BODY></HTML>";<BR>
<BR> $winContent = str_replace ('"','\"',
$winContent);<BR> $winContent = str_replace
("\n"," ", $winContent); <BR> $winContent =
str_replace ("\r","", $winContent);<BR> <BR>this
link will shown on Attribute Results window, but still can print that page
with this function.<BR>Any suggestion??<BR><BR><BR>Regards,<BR><BR><BR>Ilham
Adi A.<BR></BLOCKQUOTE></BODY></HTML>
<table><tr><td bgcolor=#ffffff><font color=#000000>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.<br>
</font></td></tr></table>