Answer the question
In order to leave comments, you need to log in
Scrolling a large block inside a small one?
timheckel.github.io/ZyngaScroller/example.html
there is such a thing. in terms of functionality - everything is just fine, except for two things
1. a matryoshka doll of 4 plugins dating back to 2011
2. there is no api by which it would be possible to do this - $scroll.scrollTo(200,200). That is, I want to scroll to the right place on request at the right time.
Requirements:
1. Free block dragging
2. Lightweight (jquery UI does not offer any thread)
3. Block dragging with acceleration. That is, this is how
4 should work on mobile. https://github.com/davetayls/jquery.kinetic does not suggest.
thank!
Answer the question
In order to leave comments, you need to log in
<div class="scroll-container" style="width:200px;height:200px;overflow:auto">
<div class="scroll-text-block">
<p>дофигакакогонибудьтекста</p>
<p>оченьдофига</p>
<img src="https://school-php.com/img/blogs/test1.png">
</div>
</div>
Here is a good scroll plugin manos.malihu.gr/jquery-custom-content-scroller updated, with documentation, with touch support.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question