<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
<FONT face=Arial color=#0000ff>>I don't know if you can close the window without that 'a script is trying to close this window' security dialog.</FONT><BR>
<FONT face=Arial color=#0000ff></FONT> <BR>
<FONT face=Arial color=#0000ff>Only if it's the primary window.</FONT><BR>
<FONT face=Arial color=#0000ff>Spawned windows can be closed at will.</FONT><BR>
<FONT face=Arial color=#0000ff>It's how popup blockers work. ;-)</FONT><BR>
<FONT face=Arial color=#0000ff></FONT> <BR>
<FONT face=Arial color=#0000ff>Dave</FONT><BR>
<FONT face=Arial color=#0000ff></FONT> <BR>
<FONT face=Arial color=#0000ff></FONT> <BR>
<FONT face=Arial color=#0000ff></FONT> <BR>
<BR><BR><BR>
<HR>
<BR>
Subject: RE: [Xerte] Is there a way to make an exit button?<BR>Date: Thu, 7 Aug 2008 08:55:42 +0100<BR>From: Julian.Tenney@nottingham.ac.uk<BR>To: xerte@lists.nottingham.ac.uk<BR><BR><BR>
<META content="Microsoft SafeHTML" name=Generator>
<DIV dir=ltr align=left><SPAN class=EC_426075407-07082008><FONT face=Arial color=#0000ff size=2>You've got it - it will have to be some javascript. I don't know if you can close the window without that 'a script is trying to close this window' security dialog.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=EC_426075407-07082008><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=EC_426075407-07082008><FONT face=Arial color=#0000ff size=2>Let me know how you get on - I could add a close function to the html pages Xerte publishes,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=EC_426075407-07082008><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=EC_426075407-07082008><FONT face=Arial color=#0000ff size=2>J</FONT></SPAN></DIV><BR>
<DIV class=EC_OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR>
<FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <B>On Behalf Of </B>Paul Swanson<BR><B>Sent:</B> 06 August 2008 23:45<BR><B>To:</B> Xerte discussion list<BR><B>Subject:</B> [Xerte] Is there a way to make an exit button?<BR></FONT><BR></DIV>
<DIV></DIV>
<FONT face=Verdana size=2>Is there a command that will close the Flash window? rootIcon.exit(); leaves the "Loading Complete" message on screen. Or will I have to call some javascript in the html page that launches the course?</FONT><BR>
<FONT face="Courier New" color=#808080 size=2>_____________________________</FONT> <BR>
<FONT face="Courier New" color=#808080 size=2> Paul Swanson</FONT> <BR><FONT face="Courier New" color=#808080 size=2> Portland, Oregon, USA</FONT> <BR><FONT face="Courier New" color=#808080 size=2>_____________________________</FONT> <BR><br /><hr />Your PC, mobile phone, and online services work together like never before. <a href='http://clk.atdmt.com/MRT/go/108587394/direct/01/' target='_new'>See how Windows® fits your life</a></body>
</html>