<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.3790.2491" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>One solution is to have a javascript function on the opener
side that check, say, every 5 sec, if the opened page is still open.
</FONT></DIV>
<DIV><FONT size=2>something like:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>function isopenCheck () {<BR> var delay =
5000;<BR> timerID = self.setTimeout("checkOpen()",
delay);<BR>}<BR>function checkOpen() {<BR> if
(window.name_of_the_opened_window &&
window.name_of_the_opened_window.open &&
!window.name_of_the_opened_window.closed) {<BR>
try {<BR>
name_of_the_opened_window.location.href<BR> }
catch (e) {<BR> // if error, then cant
access property, hence, domain
changed<BR> //do
action<BR> }<BR> } else
{<BR> // do other action</FONT></DIV>
<DIV><FONT size=2> return;<BR> }<BR>}</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>this will only work if you open the external page via a
windows.open javascript function, but it should do the trick</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Regards</FONT></DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=h_raihan@erp-bd.com href="mailto:h_raihan@erp-bd.com">Hasan A.
Raihan</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=Cartoweb-users@lists.maptools.org
href="mailto:Cartoweb-users@lists.maptools.org">Cartoweb-users@lists.maptools.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, April 24, 2006 7:23
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-users] Refreshing from
another url</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Verdana size=2>Hi list,</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>I have a plugin, that invoke a page from
different domain.</FONT></DIV>
<DIV><FONT face=Verdana size=2>Now I need to refresh the map when the opened
page close.</FONT></DIV>
<DIV><FONT face=Verdana size=2>The window.opener.location.reload() function
doesnot work because</FONT></DIV>
<DIV><FONT face=Verdana size=2>the popup is in different domain.</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>Do I have any other option to do
that?</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>Best Regards,</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>Hasan A. Raihan<BR>System Analyst<BR>ERP
Systems Limited<BR>17/C (2nd Floor), Monipuripara <BR>Dhaka - 1215,
Bangladesh.<BR>Tel: 9131551<BR>Email: <A
href="mailto:h_raihan@erp-bd.com">h_raihan@erp-bd.com</A> </FONT></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing
list<BR>Cartoweb-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR></BLOCKQUOTE></BODY></HTML>