PDA

View Full Version : Close Window



FrankM
September 27th, 2002, 04:31 PM
I have been having problems closing a window. Please look at the following two examples. Any suggestions would be great. On the one that work incorrectly the only way for me to close the window is in Task Manager. The difference in the two examples is that one uses frames and the other does not. Help !

works incorrectly
http://www.geocities.com/asmfjm/test/index.html

works correctly
http://www.geocities.com/asmfjm/test/index2.html


Oh, yeah, I have been testing this out using IE 5.5

lostinbeta
September 27th, 2002, 04:44 PM
Try this maybe....


<A TARGET="_top" HREF="javascript:close()">Close Window</A>

Remove the space between java and script. The board automatically puts that there.

FrankM
September 27th, 2002, 05:39 PM
AWESOME IT WORKED !!!!!

And yes I know all caps is yelling and yes I am yelling and jumping up and down because I have been fighting with this for a while. Thank you. Thank you. Thank you.

lostinbeta
September 29th, 2002, 03:37 PM
(-: Hey no problem, I am glad I could help out :)