Hi,
I read that scrollIntoView() was supposed to make the word you're searching for appear either at the top or bottom of the window (or DIV, in my case), depending on if you passed 'true' or 'false' to scrollIntoView().
My problem is that the word I'm searching for is always at the bottom of the DIV, regardless of what parameter I have in scrollIntoView().
Any ideas on how I can get the word I'm search for to appear at the top of the DIV?
Thanks in advance!
I read that scrollIntoView() was supposed to make the word you're searching for appear either at the top or bottom of the window (or DIV, in my case), depending on if you passed 'true' or 'false' to scrollIntoView().
My problem is that the word I'm searching for is always at the bottom of the DIV, regardless of what parameter I have in scrollIntoView().
Any ideas on how I can get the word I'm search for to appear at the top of the DIV?
Thanks in advance!