BTW: would it be possible to get an event when the scrollTop/
scrollLeft has changed?
Thanks for a great library!
/m
// -- how to use -- //
MM.event.addListener(window,
'scroll', onScrollHandler); //add crossbrowser 'onscroll' Event listener
//this function will be called everytime the user scrolls the
page
function onScrollHandler(){
//the magic happens here
}
Thanks again for a great lib!
/m
On Mar 25, 11:18 pm, Miller Medeiros <millermedei...@gmail.com> wrote:
> the methods swffit.getScrollLeft() and swffit.getScrollTop() returns the
> amount the page was scrolled in pixels (scroll bar position), it should
> return 0 in case the user didn't scrolled the page yet.
>
> check the last lines of swffit source code:http://github.com/millermedeiros/swffit/blob/v2.4b/swffit/src/swffit_...
> - it's there.
>
> until now swffit doesn't have the option to attach an "onscroll" event
> listener but version 3.0 will... to do it right now you will need some extra
> JS:
>
> http://github.com/millermedeiros/MM_js_lib/blob/master/src/framework/...