> Disable the controls not in the dialog - disabled controls don't get
> focus.

That was my first thought when reading his post, but it was the links
that stopped me (and so I was interested to see answers in this
thread).  I don't think you can disable links in the usual way; do you
have a reference for a good way to do it?  The only way I've seen (and
I haven't looked hard) is setting the onclick handler on the link to
return false, which probably makes the link nonfunctional, but not
actually *disabled*...
--
T.J. Crowder
tj / crowder software / com

On Apr 5, 1:13 pm, RobG <[EMAIL PROTECTED]> wrote:
> On Apr 5, 6:57 am, James <[EMAIL PROTECTED]> wrote:
>
> > We have created a "modal" dialog box that limits the user's access to
> > the page beneath.  However, a user can still tab through the page's
> > input and link elements.  We've been asked to prevent this behavior
> > and force the tab order to cycle through only those inputs and links
> > visible on the dialog box.
>
> Disable the controls not in the dialog - disabled controls don't get
> focus.  When the dialog is dismissed, re-enable them.
>
> --
> Rob
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to