Firebug is spitting out this error: $.scrollTo has no properties scroll(Object type=click target=a currentTarget=a eventPhase=2, acalendar#test, Object duration=1000 axis=y event=click stop=true)jquery.localscrol... (line 86) (no name)(Object type=click target=a currentTarget=a eventPhase=2) jquery.localscrol... (line 72) trigger(Object type=click target=a currentTarget=a eventPhase=2)jquery.js(line 27) unique()jquery.js (line 26) var $target = $( settings.target || $.scrollTo.window() );//if none specified...
On Sun, Mar 2, 2008 at 12:03 PM, Michael Ray <[EMAIL PROTECTED]> wrote: > Thanks for pointing me in the right direction. I am tryign to use > LocalScroll but it doesn't want to work. I included 'jquery.scrollTo.js' > and 'jquery.localscroll-1.2.4.js' in my <head> > > Here is the code > > <script type="text/javascript"> > $(document).ready(function(){ > $("#Cont").localScroll(); > }); > </script> > > and here is the html > > <h1 id="Cont"><a href="#test">THIS IS A TEST</a></h1> > ... > ... > ... > <a name="test">This is where it should go</a> > > here is the page. > > http://66.199.224.168/calendar > > Does any of this look wrong? > > THANK YOU, > Mike > > > > > > > > On Sat, Mar 1, 2008 at 9:39 PM, Ariel Flesler <[EMAIL PROTECTED]> wrote: > > > > > Thanks for mentioning me Karl, but ScrollTo doesn't handle links.. > > LocalScroll does: > > http://flesler.blogspot.com/2007/10/jquerylocalscroll-10.html > > > > Cheers > > > > Ariel Flesler > > > > On 1 mar, 23:58, Karl Swedberg <[EMAIL PROTECTED]> wrote: > > > Hi Mike, > > > > > > This tutorial shows you how you can achieve the effect: > > > > > > http://www.learningjquery.com/2007/10/improved-animated-scrolling-scr. > > .. > > > > > > And Ariel Flesler's ScrollTo plugin is a great way to add this feature > > > > > quickly: > > > > > > http://plugins.jquery.com/project/scrollto > > > > > > --Karl > > > _________________ > > > Karl Swedbergwww.englishrules.comwww.learningjquery.com > > > > > > On Mar 1, 2008, at 7:13 PM, mike ray wrote: > > > > > > > > > > > > > > > > > > > I want there to be an event such that when I click on an inline link > > > > it scrolls down to the anchor slowly enough where it is visible. I > > > > can't find out how to do this. Any suggestions? Here is the effect I > > > > am looking for. Click on any of the five top navigation links on > > this > > > > Jquery page: > > > > > > >http://jquery.com/demo/thickbox/- Ocultar texto de la cita - > > > > > > - Mostrar texto de la cita - > > > >