I have this bit of code on an exit button on a webpage
<div style="position:absolute; left:690; top:3; cursor:hand;">
<img src="exit_course_n.gif" onMouseOver="src='exit_course_o.gif'"
onMouseOut="src='exit_course_n.gif'" border="0" >
This works fine to close the window when you first come into it. HOWEVER the html page opens another html page in that window when I click a "go to" button. On this new page there is a "return to menu" button which opens up the original webpage in that window again. So all in one window, no new window. When I am back on the original webpage, the window.close above code ^^ doesn't work. I tried self.close as well - same problem. Could anybody give me some code that would work?