[jQuery] Re: animate scrollTop

2009-05-30 Thread GaVrA
Yeah, i know, i ended up using html,body ;) On May 30, 10:18 pm, Ariel Flesler wrote: > It won't work on all major browsers. Not all of them support scrolling > when applied to 'html', some require 'body'. This varies depending on > whether you're on quirks mode or not. It's even more problemati

[jQuery] Re: animate scrollTop

2009-05-30 Thread Ariel Flesler
It won't work on all major browsers. Not all of them support scrolling when applied to 'html', some require 'body'. This varies depending on whether you're on quirks mode or not. It's even more problematic when animating iframes. -- Ariel Flesler On May 30, 1:52 pm, GaVrA wrote: > Everything is

[jQuery] Re: animate scrollTop

2009-05-30 Thread GaVrA
Everything is fine. It turns out i have putted this script on wrong place so it was imported and runned 20 times... Dont ask why... lol Like i said - now it works like a charm... :) On May 30, 5:17 pm, GaVrA wrote: > I said $('html') is working... Please read more carefully... > > What i need i

[jQuery] Re: animate scrollTop

2009-05-30 Thread GaVrA
I said $('html') is working... Please read more carefully... What i need is a fix for this function becouse it is still being animated for a small period of time, after it reach top. It seems that if you have that anchor relativly close to the top, this bug have more chance to show, and for insta

[jQuery] Re: animate scrollTop

2009-05-30 Thread waseem sabjee
$('a.goToTop').click(function() { $(this).animate({scrollTop : 0},'slow'); }); OR $('a.goToTop').click( function() { $().animate({scrollTop : 0},'slow'); }); On Sat, May 30, 2009 at 4:55

[jQuery] Re: animate scrollTop

2009-05-30 Thread GaVrA
If you mean just to remove html with body - that wont work... Already tried it. On May 30, 4:50 pm, waseem sabjee wrote: >                $('a.goToTop').click(function( > > > > > ) { > >                        $('body').animate({scrollTop : 0},'slow'); > >                }); > On Sat, May 30, 20

[jQuery] Re: animate scrollTop

2009-05-30 Thread waseem sabjee
$('a.goToTop').click(function( > > ) { >$('body').animate({scrollTop : 0},'slow'); >}); On Sat, May 30, 2009 at 4:29 PM, GaVrA wrote: > > Hi! > > I am using this code: > >$('a.goToTop').click(function() { >

[jQuery] Re: Animate scrollTop

2007-08-23 Thread James Dempster
ahh that's brilliant, :¬) what a fantastic page. I very much look forward to 1.2 /James On 8/23/07, John Resig <[EMAIL PROTECTED]> wrote: > > > http://docs.jquery.com/JQuery_1.2_Roadmap#Animating_scrollLeft.2FscrollTop > > On 8/23/07, James Dempster <[EMAIL PROTECTED]> wrote: > > > > I was wonder

[jQuery] Re: Animate scrollTop

2007-08-23 Thread John Resig
http://docs.jquery.com/JQuery_1.2_Roadmap#Animating_scrollLeft.2FscrollTop On 8/23/07, James Dempster <[EMAIL PROTECTED]> wrote: > > I was wondering if the changes that allow animate scrollTop would be > making it to the next release? > > e.g. http://dev.jquery.com/~john/ticket/step/test2.html >