[jQuery] Scrolling a div area without scrolling the page?
Hi,
I don't know if jquery will be able to address this but I thought I
would try anyway.
Is there a way to scroll a div area (which has an overflow:auto) to an
anchor point within the div without scrolling the page (i.e., the page
should remain stationary)? In other words, is there a way to use
jquery to animate the div when an anchor tag is clicked?
I've coded a basic html example at http://matthewmoore.info/jquery/example.html.
You'll see the page scroll when you click on a letter at the top of
the div.
Any ideas?
Thanks in advance,
Matthew