Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    tho
    tho is offline
    New to the CF scene
    Join Date
    Sep 2011
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Arrow Disable tabbing on all page elements EXCEPT...

    I have a page with a lot of textual elements, textbox/radiobutton/checkbox prompts and a couple of buttons.

    I used the tabIndex property of the prompts to set a tabbing order, but unfortunately further tabbing also cycles through the static textual elements present on the page.

    How do I prevent that? How can I make tabbing cycle through my prompts and the cancel/finish buttons only? I am using (and targeting) IE8 if it matters. Thanks!
    Last edited by tho; 09-19-2011 at 06:35 PM.

  • #2
    Regular Coder
    Join Date
    Apr 2005
    Location
    Texas
    Posts
    448
    Thanks
    24
    Thanked 63 Times in 63 Posts
    Quote Originally Posted by tho View Post
    I am using IE8 if it matters.
    Only if you don't care what the end user is using...

  • #3
    tho
    tho is offline
    New to the CF scene
    Join Date
    Sep 2011
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by blaze4218 View Post
    Only if you don't care what the end user is using...
    Fixed; thanks.

  • #4
    Regular Coder
    Join Date
    Apr 2005
    Location
    Texas
    Posts
    448
    Thanks
    24
    Thanked 63 Times in 63 Posts
    I'm a little curious about the solution...

  • #5
    tho
    tho is offline
    New to the CF scene
    Join Date
    Sep 2011
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I was looking at the page source of my form, and I realized that I want to skip tabbing through all objects of the class "textItem". Can someone help?

  • #6
    tho
    tho is offline
    New to the CF scene
    Join Date
    Sep 2011
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Anyone?

  • #7
    Regular Coder
    Join Date
    Apr 2005
    Location
    Texas
    Posts
    448
    Thanks
    24
    Thanked 63 Times in 63 Posts
    Quote Originally Posted by tho View Post
    I used the tabIndex property of the prompts to set a tabbing order, but unfortunately further tabbing also cycles through the static textual elements present on the page.
    Could you maybe show the code you have already? When you say "static textual elements" are you talking about elements that never accept user input? because if that is the case you could maybe just use
    Code:
    onfocus="this.blur()"
    and the next tab event would just skip to the next element...


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •