Hi all,
I have this code which loads "resume.htm". When I "x" out the window I want to load "homepage.htm" that brings me back to the main page.
I think I should be using the "onUnload" event but I don't know how to write the code and where to put it. Here is my code:
I can't get the 2nd document to load; upon exiting 1st document I'm getting back to the Interdev environment - the source code itself.
Thanks for any help! -Tivoli0
I have this code which loads "resume.htm". When I "x" out the window I want to load "homepage.htm" that brings me back to the main page.
I think I should be using the "onUnload" event but I don't know how to write the code and where to put it. Here is my code:
Code:
<body>
<Script language="javascript">
<!--
parent.window.location="resume.htm";
//-->
</Script>
<Script language="javascript">
<!--
parent.window.location="homepage.htm";
//-->
</Script>
</body>
I can't get the 2nd document to load; upon exiting 1st document I'm getting back to the Interdev environment - the source code itself.
Thanks for any help! -Tivoli0