Hey everybody, I noticed that Scriptaculous doesn't have documentation on Effect.ScrollTo anymore. (If you look at http://github.com/madrobby/scriptaculous/wikis, you will notice that Effect.ScrollTo is faded out and not linked to any documentation/demo). I guess it is being phased out, although the javascript function I created using Effect.ScrollTo works fine. Then I took a look at Prototype's documentation and they have something similar called scrollTo (http://prototypejs.org/api/element/ scrollto). After trying out both Effect.ScrollTo and scrollTo, I found that each effect/method was different. Effect.ScrollTo scrolled to the element smoothly, while scrollTo quickly jumped to the element. For my purpose, I prefer the Effect.ScrollTo method better than the scrollTo method. I just wanted to know why the Scriptaculous wiki doesn't have any documentation/demo for Effect.ScrollTo. Is it really being phased out in favor of Prototype's scrollTo? I wish it didn't because it a great effect that is useful to have around. By the way, you can check out my simple script using Scriptaculous' Effect.ScrollTo at http://icecreamcola.com/test/jsScroll.php. If you want to know what difference is between Scriptaculous' Effect.ScrollTo and Prototype's scrollTo, just check out http://icecreamcola.com/test/jsScroll.php with Javascript disabled because it is basically the same effect.
- Paul --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
