Hi kelvin, that feature sounds excellent! 

If you are interested in seeing it live, I've used your jscrollpane with
custom styles here:

http://www.thor.be/creation.php?id=3  (bottom left menu is a scrollTo
implementation)

http://www.lab-au.com/v1/index.php?section=news


An ultimate use would be to have all anchor links automatically have the
scrollTo functionality

Another nice addition would be to have the setInterval value as an option (i
personnaly tweaked it to much less than what you have per default, for a
much more responsive scroller.


Thanks a lot for this awesome plugin!

alexandre



-----Original Message-----
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kelvin Luck
Sent: mardi 14 août 2007 9:49
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Scrolling a div area without scrolling the page?


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 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
> 

Ce message Envoi est certifié sans virus connu.
Analyse effectuée par AVG.
Version: 7.5.483 / Base de données virus: 269.11.17/951 - Date: 13/08/2007
10:15
 

Reply via email to