Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Horizontal drag scrolling Reply To: Horizontal drag scrolling

#206564
grimski
Participant

I think the scroll bar would be fine for iOS, it only shows on touch anyways and this would probably make things easier in general?

So we wouldn’t need any script for mobile and for tablets we’d only need the script that calculates the width and sets it on .project-index and the OS + CSS would handle the rest?

Interested to know how this would work on Android for example, would Android just use its native scrolling feature as well?

Is it possible to specify script to only run on desktop – or prevent it from running on other devices?