This is an idea of what i have.

r/webdev - Looking for advice for tabbing nested lists of options

I have 3 columns, when a category is selected in the left col, the middle column lists subcategories. when a subcat is selected, the right col displays its information.

im having issues getting tab controls working for this. When a category is selected, i want the tabbing to move to the first option in the subcat col, and the same thing for the info col.

At the moment when a category is selected (i.e. cat-1) the middle col displays the subcategories as it should, but the tabbing continues down the list of categories in col-1 and then goes to the second column. I get why this is happening its just working its way from top to bottom, but is there a way that i can make it a bit more dynamic and jump to subcat-1 every time a category is selected?



Source link

Write A Comment