Hi Klaus,

Not sure if this is exactly what you're after, but I think Gilles was  
working on something like this back in Sept. Don't know what the  
status of it is, but here is an email that you can reference to see  
if a follow-up is in order:

http://www.nabble.com/ThickBox---closing-without-using-the-mouse-- 
tf2262734.html#a6281021


___________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com

On Nov 3, 2006, at 4:42 AM, Klaus Hartl wrote:

> Jörn Zaefferer schrieb:
>>> You can fix this very easily without doing all wierd stuffies like
>>> changing tab index.
>>>         $(document).focus(function(oEvent) {
>>>                 return ((oElement = oEvent.srcElement ||  
>>> oEvent.target)
>>> && jQuery(oElement).ancestors(*YOURPARENTHERE*).length);
>>>         });
>>
>> With latest jQuery, you don't event need the fix for the target  
>> object.
>>
>> Anyway, could you please explain what exactly you are doing there?  
>> I don't quite get it...
>
> Hi Jörn,
>
> I have a dialog window (like thickbox) that gets opened before (using
> the incredibly useful form plugin) submitting a form. In that window
> there are two buttons. What I want is to prevent the ability to tab  
> back
> into the form while this window is open. I don't want to a. simply
> disable the form elements (there are still other elements to tab  
> to) and
> b. capture all keypress events because tabbing/return etc. should  
> still
> be possible, but only "in" the dialog. In other words "disabling" the
> underlying page (that is greyed out) for navigating with the keyboard.
> Clicks are already captured by the overlay...
>
> Uh, got it?
>
>
> -- Klaus
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to