How to create the drag and slide effect from this website?
Asked Answered
D

3

6

If you drag and release quickly from the horizontal menu, the menu will auto slide for a distance. It seems to slide more the faster you drag and release. Source ->appear.dk

How do i achieve this effect? Has it got to do with some complex formulaes?

Deliladelilah answered 7/5, 2010 at 17:9 Comment(0)
T
5

This technique is called kinetic scrolling (you simulate kinetic energy). Since the dawn of the iphone this technique has been hyped, though it can be used on mobile devices with great benefit, I would refrain from using it inside a website (like all other sorts of scrolling)

However, here's an easy to use jquery plugin: Here you go

Tensor answered 9/5, 2010 at 14:2 Comment(0)
A
2

Overscroll didn't work well for me on the iPad. Here are some more options:

Arther answered 4/1, 2011 at 4:6 Comment(0)
D
0

None of those jquery librarys listed above .. can compare to custom prototype code used in appear.dk

Dentilabial answered 17/1, 2011 at 23:41 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.