<!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.2462.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=765544713-18072001><FONT face=Arial color=#0000ff 
size=2>Hello</FONT></SPAN></DIV>
<DIV><SPAN class=765544713-18072001><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=765544713-18072001><FONT face=Arial color=#0000ff size=2>When 
the user clicks the mailto link set a variable. Then the email client will get 
the focus. Once the user sends the email the email client disappears and they 
will probably click back into the browser. Therefore there will be an onfocus 
event which you can trap, check the variable (to avoid doing the redirect before 
they send the mail) and redirect.</FONT></SPAN></DIV>
<DIV><SPAN class=765544713-18072001><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=765544713-18072001><FONT face=Arial color=#0000ff size=2>Hope 
this is of some help</FONT></SPAN></DIV>
<DIV><SPAN class=765544713-18072001><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=765544713-18072001><FONT face=Arial color=#0000ff 
size=2>Mark</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Felix 
  [mailto:bruno.lanciau@cnes.fr]<BR><B>Sent:</B> 18 July 2001 
  14:22<BR><B>To:</B> javascript@latech.edu<BR><B>Subject:</B> [Javascript] 
  redirect after mail sent<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial size=2>All is client side:</FONT></DIV>
  <DIV><FONT face=Arial size=2>On a first page I have got a FORM with 
  ACTION:mailto..., so when the client "submit" an alert box is opened to 
  confirm and all is OK.</FONT></DIV>
  <DIV><FONT face=Arial size=2>But now I would like to leave the first page to a 
  new one as soon le mail is sent.</FONT></DIV>
  <DIV><FONT face=Arial size=2>Have you got an idea?</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>A+</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>&nbsp;Félix<BR>&nbsp;<A 
  href="mailto:bruno.lanciau@cnes.fr">bruno.lanciau@cnes.fr</A><BR>&nbsp;<A 
  href="http://www.ifrance.com/Chez-Felix/javascript/jscript.htm">http://www.ifrance.com/Chez-Felix/javascript/jscript.htm</A><BR></FONT>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>