Oops, I'm a dork... I read...
"I'm just about to make an improvement which will allow you to pass in a jQuery selector for the object you want to scroll to as well as a pixel position - keep an eye on the following ticket to know when it's been added: http://jquery.com/plugins/node/348" ...and assumed it meant you we're writing a jquery version/plug-in. The "keep an eye on the following ticket" threw me off. Thanks for the clarification and additional example -- this rocks. Matthew On Aug 16, 5:41 am, Kelvin Luck <[EMAIL PROTECTED]> wrote: > Hi, > > I'm not sure I understand you about the jQuery plugin version - it's > already a jquery plugin! > > I've also just made the adjustment which allows you to pass a jQuery > selector to the scrollTo method and added another example at the bottom > of the page here: > > http://kelvinluck.com/assets/jquery/jScrollPane/scrollTo.html > > Cheers, > > Kelvin :) > > [EMAIL PROTECTED] wrote: > > Hi, > > > Thank you for your reply -- this solution presents itself exactly what > > I was looking for. > > > Can't wait to use the jquery plug-in version -- do you have any idea > > when you might have that available? > > > Matthew > > > On Aug 14, 2:48 am, Kelvin Luck <[EMAIL PROTECTED]> wrote: > >> Hi, > > >> You can do this if you are using my jScrollPane and it's scrollTo method: > > >>http://kelvinluck.com/assets/jquery/jScrollPane/scrollTo.html > > >> I'm just about to make an improvement which will allow you to pass in a > >> jQuery selector for the object you want to scroll to as well as a pixel > >> position - keep an eye on the following ticket to know when it's been > >> added: > > >>http://jquery.com/plugins/node/348 > > >> Hope that helps, > > >> Kelvin :) > > >> [EMAIL PROTECTED] wrote: > >>> 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 > >>> athttp://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