1..Place a simple page redirect after your mail code finishes
---------
mail code finishes here
response.redirect("thankyou.html")
---------
2..To resize this window, place the following after the <head> but before your </head> tag
-------------
<script Language="JavaScript">
var sw=window.screen.width;
var sh=window.screen.height;
window.resizeTo(sw*.96,sh*.96);
window.moveTo(sw*.02, sh*.02);
</script>
-----------------
The above piece of code lets you
a..position your window (.moveTo)
b..resizes the window(.resizeTo)
NOTE: You can not remove the tool bars, address bar etc using this method
3..To let the user close the window place the following event inside a <input type="button" ...> tag or in an anchor tag wrapped aroung an image:
onClick="javascript:window.close()";
Wind is your friend
Matt
|