Home > Not Working > Webkit Scrolltop Not Working

Webkit Scrolltop Not Working

Contents

Already have an account? Word to describe object that can be physically passed through Why do solar planes have many small propellers instead of fewer large ones? Leave a comment on diegolaz's reply jakecigar Re: scrollTop not working on chrome 2 years ago Absolut is vodka. Gopichand March 13th, 2015 REPLY QUOTE My animate method is working fine in Ipad in all the html pages but in one page it is lagging and loading slowly, even in have a peek here

What does the letter 'u' mean in /dev/urandom? Going straight to the point i'd suggest you to use jQuery transit : http://ricostacruz.com/jquery.transit/ This library will make use of css animations, which are faster on mobile devices. Click here to Sign upYou can also use the below options to loginLogin with FacebookLogin with GoogleLogin with Yahoo jQuery Plugins UI Meetups Forum Blog About Donate All Forums Recent Posts Leave a comment on diegolaz's reply jakecigar Re: scrollTop not working on chrome 2 years ago You are making it very difficult to debug your page. http://stackoverflow.com/questions/3042651/jquery-scrolltop-not-working-in-chrome-but-working-in-firefox

Jquery Scrolltop Not Working In Chrome

Stick to $("body,html")` –bfred.it Sep 6 '12 at 18:13 i know but some old browsers need it, dont know why –GorillaApe Sep 6 '12 at 18:49 | show 1 The scrollTop property remains zero and scroll position does not change. On mobiles the javascript call simply blink on the top of the page, making our boss disappointed. Acción no permitida JΛ̊KE Leave a comment on jakecigar's reply diegolaz Re: scrollTop not working on chrome 2 years ago ups, sorry about that.use this one http://pranavyana.com.ar/indexdebug.php Leave a comment on

if (duration > 2222) duration = 0; // Instant go !! ^^ $scrollElement.stop(true, false).animate({ scrollTop: y }, { duration: duration, complete: function() { // Listenner of scroll finish... scrollTop always reads 0, and setting it has not effect (no scrolling occurs). anyways , hope the fiddle helps . Chrome Scrolltop Really i founded this solution after several hours test and try and wrote here for some one like you. –RAM Sep 6 at 21:55 add a comment| up vote 0 down

Young as I was, I had learned that a constable's acts, of whatever apparent character, are prompted by the most reprehensible motives, and I avoided him by dodging into the oilery Jquery Scrolltop Div Not Working it smells like a bug. If you would use the same ".scrolled" class in CSS for the nav and the links or whatever comes afterwards you can then do nav.add(links).toggleClass('scrolled', isScrolled) share|improve this answer edited Jul This is what works for me: $('html:not(:animated),body:not(:animated)').scrollTop() share|improve this answer edited May 7 at 8:04 T J 26k73874 answered Feb 11 '11 at 12:31 Egor Kloos 554 1 Jquery should

but still no luck....I think some CSS or jQuery in the rest of the site is making this$('html, body') not work...so I'll try to find that.... Jquery Scrolltop Not Working Properly Comment 34 by [email protected], Sep 16 2010 Processing As of 9/16/2010 this is still an issue, using latest builds. I locked it at once and was alone with my dead. If you could please help, I would really appreciate it!

Jquery Scrolltop Div Not Working

Join them; it only takes a minute: Sign up jQuery scrollTop not working in Chrome but working in Firefox up vote 54 down vote favorite 9 I have used a scrollTop https://github.com/jquery/jquery/issues/2215 If there's anything I can do to expedite this process, please let me know. Jquery Scrolltop Not Working In Chrome you have to continue and make an issue on Google Chrome directly :/ Because if you try to put: document.body.scrollTop = 0; it doesn't works neither. Jquery Window Scrolltop Not Working Thanks rorykoehler closed this Apr 20, 2015 jQuery member mgol commented Apr 20, 2015 You're right.

http://stackoverflow.com/questions/19929197/javascript-window-scrollto-issue-on-ipad Good luck 🙂 sisi November 5th, 2015 REPLY QUOTE Hi, How do I use this for instafeed js plugin? navigate here Many, but the first one is phones and tables processor and their browser core coding, which is not optimized for this kind of things. it worked for me –liltof Mar 31 '15 at 12:37 1 YOU SAVED MY LIFE –delphaber May 12 '15 at 15:02 | show 1 more comment up vote 10 down Here's the simplest future-proof version of them all: var scrollPos = document.documentElement.scrollTop || document.body.scrollTop; By the way, anyone can quickly reproduce this bug by opening the Chrome JavaScript console (Ctrl+Shift+J) on Javascript Scrolltop Not Working In Chrome

Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Browsers want to align and use html (in standards mode), so sites that UA sniff need to be changed. var grab=function (){ var el=$(); $('body#my_body, html, document').each(function(){ if ($(this).scrollTop()>0) { el= ($(this)); return false; } }) return el; } //alert(grab().scrollTop()); In Google chrome it would get us the body, in http://nadrp.com/not-working/window-scrolltop-not-working.html No one will pay attention to new comments.

Because it's a webkit and not a chromium-specific bug maybe? Scrolltop 0 Not Working Send Update CancelFeedbackEmail IDSubject : Comments : Send CancelPrivate MessageType the characters you see in the picture below. What could be wrong?

The code worked fine in Firefox but broke in both Safari and Webkit, so I'm fairly sure it's webkit based.

  1. I think that scrollTop on the root element should work even for non roots and non-HTML documents, although we don't currently implement this." Comment 24 by [email protected], Mar 29 2010
  2. If you are seeing this bug or have new data, please click New Issue to start a new bug.
  3. Hope this helps someone.
  4. Do n and n^3 have the same set of digits?

Max no of attachments : 3Loading User Profile... More or less the code looks like this: var target = /* code */; target.offsetParent().scrollTop(target.offset().top - fudgeValue); The target of the scroll and the fudge value are determined by a couple Comment 47 by Deleted [email protected], Mar 28 2012 Processing None of the workarounds work for me! $(window).scrolltop() Not Working Jonathan Argentiero September 20th, 2016 REPLY QUOTE Try the solution proposed for this question: http://stackoverflow.com/questions/1192228/scrolling-an-iframe-with-javascript TrackBack URL No trackbacks yet.

share|improve this answer answered Jul 7 '13 at 1:39 ozanmuyes 401615 add a comment| up vote 0 down vote There is not a big choice of elements that might get auto-assigned My father's business of making dog-oil was, naturally, less unpopular, though the owners of missing dogs sometimes regarded him with suspicion, which was reflected, to some extent, upon me. Some text for content. http://nadrp.com/not-working/window-scrolltop-not-working-chrome.html rorykoehler commented Apr 20, 2015 I wish I could.

Some text for content. Cheers. (And semantic purists out there, don't bust my chops -- I've been looking for this for weeks, this is a simple example, that validates XHTML strict. In performance of this duty I sometimes had need of all my natural intelligence for all the law officers of the vicinity were opposed to my mother's business. Also, remember that the nodeName attribute on html elements is always uppercase. –Bobby Aug 15 '12 at 17:26 | show 3 more comments up vote 38 down vote If your CSS

In Chrome and Safari, however, the call to scrollTop() apparently does nothing at all. Check document.compatMode in the console in the browser’s web developer tools. but subj still zero :( Chromium 6.0.416.0 (48240) Ubuntu amd64 Comment 30 by [email protected], Jul 5 2010 Processing This is still an issue with: Google Chrome 5.0.342.9 (Offizieller Build 43360) beta Comment 36 by Deleted [email protected], Sep 21 2010 Processing My futureproof variation on comment 17 is var scrollPos = document.documentElement.scrollTop; if (scrollPos == 0) { scrollPos = document.body.scrollTop; } Comment 37

What happens instead? share|improve this answer edited May 7 at 8:19 Nisse Engström 3,57881631 answered Feb 10 '10 at 5:55 Carl 449142 1 @Carl - That really helped me out, thanks. –James Apr Comment 11 by *[email protected], Jul 7 2009 Processing Issue 15539 has been merged into this issue. I found this site because i looked for solution for this bug.

Licensed under a Creative Commons Attribution 3.0 Unported license.compatibilitycssjavascriptCopyright © 2006—2016 Opera Software ASA.