Re: [jQuery] ThickBox - closing without using the mouse?

2006-09-12 Thread Matt Grimm
, 2006 7:51 PM To: jQuery Discussion. Subject: Re: [jQuery] ThickBox - closing without using the mouse? Thanks. I added the code you suggested but couldn't get it to work. It didn't break anything, but esc didn't close the page. I'll just wait for 2.1. Jim On 9/12/06, Su <[

Re: [jQuery] ThickBox - closing without using the mouse?

2006-09-12 Thread Jim Davis
Thanks. I added the code you suggested but couldn't get it to work. It didn't break anything, but esc didn't close the page. I'll just wait for 2.1. Jim On 9/12/06, Su <[EMAIL PROTECTED]> wrote: > This had been added in 2.1, which was retracted because it had too many > issues. > > > In the Thickb

Re: [jQuery] ThickBox - closing without using the mouse?

2006-09-12 Thread Su
This had been added in 2.1, which was retracted because it had too many issues. In the Thickbox 2.0 file, add this: $(document).unkeyup(); $(document).keyup( function(e){ var key = e.keyCode; if(key == 27){TB_remove()} }); after this: $("#TB_closeWindowButton"

[jQuery] ThickBox - closing without using the mouse?

2006-09-12 Thread Jim Davis
Is there a way to close a ThickBox ( http://jquery.com/demo/thickbox/ ) without using the mouse? An access key for example? This would be a real plus for accessibility. Jim ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/