Interacting with iOS scroll wheel through JavaScript?

Asked By 20 points N/A Posted on -
qa-featured

Hey everyone,

Clicking the select box will display four links in the ios scroll wheel, The problem I'm having is the 'scroll to' action is performed as soon as I select a single link on the ios scroll wheel. I then have to press done to get the scroll wheel to disappear. Can this type of interaction with the iOS scroll wheel can be achieved through JavaScript?

SHARE
Answered By 0 points N/A #172751

Interacting with iOS scroll wheel through JavaScript?

qa-featured

Create a javascript object (function) similar to this:

{
startFrameNumber:
{
id: idOfElement
duration: 20 // where 20 is the number of frames you wish
startLeft: // enter your location by pixel
endLeft: // enter your location by pixel
startTop: // same
endTop: // same
},

nextStartFrameNumber: {

}

}

Using your CSS files, make the page unscrollable with overflow: hidden

Login/Register to Answer

Related Questions