I came across scrollIntoView() and this does the trick … yours does also. THAT’S what I want to automatically scroll to. Unless we click on some other menu, our mouseup Handler will automatically select what our previous selection was before we clicked the scroll bar. to something off screen, we decide to click on the scroll bar. So I am thinking that when we TAB forward e.g. This causes automatic scrolling because we’ve selected a different main menu. So we’re TABbing and suddenly we’ve tabbed beyond the right edge of the #menubar because we’ve gone to the next #menubar > li, which was previously off screen. This automatically selects each li in turn. All based on tabindex which has already been added to $(“li”) with start up.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |