TabIndex Won't Work in Netscape

I have a form with multiple tabindexes set.  It works perfectly in Internet Explorer 4.0, but tab settings are totally ignored by Netscape 4.61.  Any advice?
pookeybearAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
TTomConnect With a Mentor Commented:
If that's the case, have either or both of us provided an acceptable answer to your question?

Tom
0
 
TTomCommented:
Tabindex is not supported by NS.  I think about the best you can do is to add an onBlur event handler for each of your elements where the handler focuses on the next element in your sequence.

E.g. <input type=text name=text1 onblur="document.forms[0].text2.focus()">

It's a bit clunky, but I don't think you have any other choice.

Tom
0
 
davlun20080Commented:
I seem to recall from somewhere that the tab order in NS is determined by the order in which the form is rendered.  If I remember correctly, could you arrange in your html the form elements in the order needed for your form?

davlun
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
pookeybearAuthor Commented:
You are both right.  Netscape doesn't seem to support it, but whatever order it finds things it WANTS to relate to, it lets the tab jump to.  It bypasses table rows with multiple submit buttons and goes right down to the item at the bottom of the page that I don't want tabbed to, even though the tabindex is set to 99.  Thanks for the confirmation of my suspicions.  I really appreciate having someone to bounce these problems off of.
0
 
pookeybearAuthor Commented:
Sorry; our network is  being difficult.  I tried the first time through to accept your answer TTOM.
The second wasn't quite correct because the tabindex was totally ignoring table contents and the item I was trying to avoid was already at the bottom of the page.  Thanks again.
0
 
TTomCommented:
Most welcome!!  Glad to help.  

Actually, I'm not sure the tabindex was ignoring table contents.  I think they (for some reason) are rendered after everything else (in NS).  I may be wrong, but I think if you kept tabbing you would go back into the table.

Tom
0
 
davlun20080Commented:
As for your tables and multiple submit buttons, try using functions calls to submit rather than the action on the form and avoid nested tables.

You should be able to get a listing of the rendering order at http://developer.netscape.com

Not even sure if you are going to get this comment even.

davlun
0
 
pookeybearAuthor Commented:
Okay; I have functions in the submits using Javascript.  They aren't nested tables, just multiple small tables by section.  And the tabbing never goes to the table items.   I'll check the netscape site.
Thanks again.
0
 
davlun20080Commented:
Do you mean that the sections are separate table? (for example:)
   <table>
     section 1 code here
     button for section 1
   </table>
   <table>
     section 2 code here
     button for section 2
   </table>

or do you mean:
   <table>
   <tr>
   <td>
     <table>
      code for section 1 in a nested table
     </table>
   </td>
   <td>
     <table>
      code for section 2 in a nested table
     </table>
   </td>
   </tr>
   </table>

If neither above is correct, post your code and I will try to take a look when I have time.

davlun
0
 
pookeybearAuthor Commented:
The second one is true, but then later I have a one-line table for another option.  The last is just a hyperlink and image, but I thought since it was ignoring the first table, I could put the link in a table and then it wouldn't accidentally be affected by Netscape's tab order.  However, the small table with one row IS picked up as a tab item!!  That's when I changed its tab index to 99 and wrote you upon its failure.
0
 
davlun20080Commented:
Try combining your tables into one large table and avoid any nested tables.  I wish I could recall where I saw the article covering nested tables in NS.  Your functions to submit would need to be changed to only send the data over appropriate for that button and so on.

Without the code this is the best I can do for you.  Signing off on this one for now,
davlun
0
 
pookeybearAuthor Commented:
Thanks again.
0
 
davlun20080Commented:
Hope you found something you can use...
davlun
0
All Courses

From novice to tech pro — start learning today.