Thanks for the reply, Sree. Also, just to clarify, the window whose
code I have posted is not the "main" window... the application is very
large, so we've designed it such that the main page can open new
browser windows when necessary. This window I am concerned with has
been opened by the "main" window via the following code:
getURL('javascript:void(window.open("http://<url removed>", null,
"status=1"));');
I am able to close the window via the MenuBar using the
getURL("javascript:self.close();"); code, but I would like the user to
have the option of closing the window with a shortcut key. It's
confusing to me why code that works as a menu option won't work as a
shortcut key.
------------------------ Yahoo! Groups Sponsor --------------------~-->
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/.QUssC/izNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~->
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/