<!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=722584223-10092007><FONT face=Arial
color=#0000ff size=2>Hi Ilham,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=722584223-10092007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=722584223-10092007><FONT face=Arial
color=#0000ff size=2>Which frame are you actually trying to print? The one that
contains the search functionality?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=722584223-10092007><FONT face=Arial
color=#0000ff size=2>Are you using the JSAPI mode?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=722584223-10092007><FONT face=Arial
color=#0000ff size=2>What exactly happens when you press the link in
IE6?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=722584223-10092007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=722584223-10092007><FONT face=Arial
color=#0000ff size=2>Jacob</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=722584223-10092007><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> 8 September 2007
16:30<BR><B>To:</B> Delfos, Jacob<BR><B>Subject:</B> Re: RE : Print in
LocateByAttribute widget<BR></FONT><BR></DIV>
<DIV></DIV>Hi Jacob,<BR><BR>Just info:<BR><BR>I have tested it on IE and
Mozilla Firefox.<BR>In my IE 6 the print function didn't work, but in Mozilla
it's work after I close the "pop-out" window.<BR>Is there any problem with IE
6?. <BR><BR>Regards,<BR><BR>Ilham Adi A.<BR><BR>
<DIV><SPAN class=gmail_quote>On 03/09/2007, <B class=gmail_sendername>Delfos,
Jacob</B> <<A
href="mailto:Jacob.Delfos@maunsell.com">Jacob.Delfos@maunsell.com</A>>
wrote: </SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff size=2>Hi
Ilham,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><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><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><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><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2>regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2>Jacob</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,255) 2px solid; MARGIN-RIGHT: 0px">
<DIV lang=en-us dir=ltr align=left>
<HR>
<FONT face=Tahoma size=2><B>From:</B> Ilham Adi Afdillah [mailto:<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:ilham.adi@gmail.com" target=_blank>ilham.adi@gmail.com</A>]
<BR><B>Sent:</B> 31 August 2007 21:52<BR><B>To:</B> <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:chameleon@lists.maptools.org"
target=_blank>chameleon@lists.maptools.org</A><BR><B>Cc:</B> Delfos,
Jacob<BR><B>Subject:</B> RE : Print in LocateByAttribute
widget<BR></FONT><BR></DIV>
<DIV><SPAN class=e id=q_114c8c61c73cb0eb_1>
<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></SPAN></DIV></BLOCKQUOTE></DIV>
<TABLE>
<TBODY>
<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></TBODY></TABLE></BLOCKQUOTE></DIV><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>