function is very simple, as shown in the figure, it is controlled up and down by the keyboard. Now there are 10 pieces of data (visual range) in the div. When you control the keyboard and go to the 11th piece of data, you should set the offset of div scrollTop. How to get this offset?