Maybe I am still confused, but if you have popped up "browser" windows that has to be closed why would u need a script to close via Shortcut Key?
Would'nt the regular CTRL+W be enough? Just curious!

But, if u r talking about Flex popups, you would need a script. But again, why would u need _javascript_ to do that ..

Ok, agreed. I am all confused! Maybe I am missing something here ...

fowleryj wrote:
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.






--
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




Reply via email to