Go Back   Velocity Reviews > Newsgroups > HTML
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

HTML - Using TABINDEX to remove from tab order?

 
Thread Tools Search this Thread
Old 04-27-2004, 06:31 PM   #1
Default Using TABINDEX to remove from tab order?


I'm wanting to completely remove some textareas and A-links from the
tab order of a form, so as you're tabbing down a list of checkboxes,
the cursor doesn't skip over to another element in between.
Is there a way to do that?
I tried TABINDEX=0 but that did nothing.
And I can't TABINDEX=1 through whatever on the checkboxes then go
through the other elements, because the page is actually dynamically
created with PHP. I need something I can put into the TEXTAREA and A
HREF tags that will be the same for each one to prevent it from being
in the tab order.

Any sugggestions?
Thanks!!
Liam


LRW
  Reply With Quote
Old 04-27-2004, 07:03 PM   #2
Jukka K. Korpela
 
Posts: n/a
Default Re: Using TABINDEX to remove from tab order?

(LRW) wrote:

> I'm wanting to completely remove some textareas and A-links from the
> tab order of a form, so as you're tabbing down a list of checkboxes,
> the cursor doesn't skip over to another element in between.


Why would you do that? You would then prevent anyone using keyboard-only
access from getting to the textareas and links at all.

> Is there a way to do that?


To tell a white lie, no.

> I tried TABINDEX=0 but that did nothing.


Where did you put it, and why didn't you post a URL so that we could see
what you actually did? The effect depends on the page and its TABINDEX
values as a whole.

> And I can't TABINDEX=1 through whatever on the checkboxes then go
> through the other elements, because the page is actually dynamically
> created with PHP.


The specifications tell how TABINDEX is supposed to work. Why do you try
using it in an apparently random way?

> I need something I can put into the TEXTAREA and A
> HREF tags that will be the same for each one to prevent it from being
> in the tab order.


No, you don't. Please explain the original problem that made you think
so, and post the URL.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html


  Reply With Quote
Old 04-28-2004, 04:02 PM   #3
LRW
 
Posts: n/a
Default Re: Using TABINDEX to remove from tab order?

"Jukka K. Korpela" <> wrote in message news:<Xns94D8D60764C49jkorpelacstutfi@193.229.0.31 >...
> (LRW) wrote:
>
> > I'm wanting to completely remove some textareas and A-links from the
> > tab order of a form, so as you're tabbing down a list of checkboxes,
> > the cursor doesn't skip over to another element in between.

>
> Why would you do that? You would then prevent anyone using keyboard-only
> access from getting to the textareas and links at all.
>
> > Is there a way to do that?

>
> To tell a white lie, no.
>
> > I tried TABINDEX=0 but that did nothing.

>
> Where did you put it, and why didn't you post a URL so that we could see
> what you actually did? The effect depends on the page and its TABINDEX
> values as a whole.


Well, I can't post a URL because it's for an internal Web site at
work, behind a firewall.
It's a PHP page that generates a list of items from a database based
on particular conditions, each item having a checkbox. The goal is the
user is to select certain items they want to send on to place X.
The other form elements being a textarea which most of the time is
autimatically filled with text from the database, but sometimes not,
and the user has the option to add something or change what's there.
And an image of an item, hyperlinked to a pop-up window that shows a
larger version of the image.
So, the way the users prefer it to work, is to just be able to TAB
through the list, SPACEBARing the items they want to select. In
essence, to be able to just quickly
TAB-TAB-SPACE-TAB-SPACE-TAB-SPACE-TAB-TAB-TAB-SPACE-etc through the
list without having the cursor suddenly jump over to the textarea or
the linked image.

Make sense?
I tried putting the TABINDEX=0 within the TEXTAREA and A HREF tags.

I guess they'll just have to deal, and use their mice to scroll and
select. =/
Thanks,
Liam
  Reply With Quote
Old 04-28-2004, 08:05 PM   #4
Jukka K. Korpela
 
Posts: n/a
Default Re: Using TABINDEX to remove from tab order?

(LRW) wrote:

> Well, I can't post a URL because it's for an internal Web site at
> work, behind a firewall.


As you wish. If you don't want to take the trouble of constructing a
demonstration of the situation on the Web, with confidential information
removed as needed, then you can't realistically expect to be helped. Our
crystal balls are already overheated.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html


  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump