[jQuery] scrollTop() problem in Chrome and Safari

2009-12-01 Thread Mike McNally
Please see: http://gutfullofbeer.net/scrolltop.html In IE8 and Firefox, clicking the little "A", "B", and "C" buttons on that page scrolls the content such that the corresponding headings are up towards the top of the content area. In Chrome and Safari, however, nothing at all happens. I don't ge

[jQuery] scrollTop on jQuery object

2009-05-18 Thread Arrviasto
Hi! I have to use scrollTop and scrollHeight properties, but on jQuery object it returns `undefined`. Is there any method to get this property from jq object? It doesn't matter, but my object looks like this: var $win = $(this) // div on my page var $msgs = $win.find('.msgs'); $msgs.scrollHeig

[jQuery] scrollTop remembers it's own history?

2009-04-04 Thread twitchy
I can't find the example I just posted, and this is stripped down quite a bit. I just want to record the scroll bar position before a click to a feature and go back when finished with that feature. This works, except that it builds a history of where the scrollTop positions were when the feature

[jQuery] scrollTop not working in IE 6/7 or FF

2008-02-14 Thread Eridius
i have this code alert($('body').scrollTop()); in opera and safari, I get the correct number however IE 6/7 and FF give me 0, anyone no why this would happen? My HTML is valid so that is not an issue, not sure what else tho would case IE and FF to me up. -- View this message in context: http

[jQuery] ScrollTop

2007-04-21 Thread onlyafriend
Hi anyone does know if i have in jquery something like ScrollTop. i made a calendar with hours, and need to scroll from 9.00 hours, that means rows 10, i was reading about JScrollPane plugin, but i did not find how to use it with tables. thanks