This is now fixed in revision 6494. It was a silly mistake and I hadn't written proper units tests for these methods yet... revision 6494 also adds the unit tests.
-- Brandon Aaron On Fri, Jul 24, 2009 at 2:06 PM, jpcx01<jpc...@gmail.com> wrote: > > Karl... $(document).scrollTop() used to work in jQuery 1.3.2. Seems to > be currently broken in 1.3.3pre (nightly as of yesterday). JQuery UI > 1.7.2's Dialog component uses $(document).scrollTop() all over the > place so this bug causes major headaches. > > My solution was to paste the scrollTop / scrollLeft code from jQuery > 1.3.2 into my jQuery 1.3.3 file. This solved my problem, but doesnt > feel clean or stable. > > Anyone know if there's a ticket for this bug created already? > > Thanks > > On Jul 1, 5:21 am, Karl Swedberg <k...@englishrules.com> wrote: >> Hi there. Try $(window).scrollTop() instead. >> >> --Karl >> >> ____________ >> Karl Swedbergwww.englishrules.comwww.learningjquery.com >> >> On Jul 1, 2009, at 3:33 AM, jagadeesh wrote: >> >> >> >> >> >> > how to find scrollTop in jquery? >> >> > $(document).ready(function () { >> > $("body").click(function () { >> > alert($("body").scrollTop()); >> > }); >> > }); >> >> > the above code returns only 0. >> > It seems doctype is not supporting. >> >> > <!DOCTYPE html public "-//W3C//DTD Xhtml 1.0 Transitional//EN" >> > "http:// >> >www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---