You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've written the code below but the scroll event doesn't pickup any scrolling. If I change the event to 'load' then it works just fine but I need it to work for scrolling. I'm on Chrome 51.0.2704.106 m (64-bit) for Windows 10 x64
var scrollax = new Scrollax(document.getElementById('posX'), {
offset: 0
})
scrollax.on('scroll', function () {
$(this.frame).css('transform', 'translateX(100%)')
})
scrollax.init()
The text was updated successfully, but these errors were encountered:
ljmerza
changed the title
Won't pick up scroll event
Won't pick up scroll even
Jul 25, 2016
ljmerza
changed the title
Won't pick up scroll even
Won't pick up scroll event
Jul 25, 2016
I've written the code below but the scroll event doesn't pickup any scrolling. If I change the event to 'load' then it works just fine but I need it to work for scrolling. I'm on Chrome 51.0.2704.106 m (64-bit) for Windows 10 x64
The text was updated successfully, but these errors were encountered: