-1

Hello so I would like to make drag and scroll using jquery or javascript. I was looking on internet for some examples but I couldn't find anything. Can somebody give me some example of drag and scroll script? (I want use it inside of scroll box)

Kind regards,

Artur

ArturK.
  • 35
  • 1
  • 6

1 Answers1

0

You'd like pep.

very simple. I put together a demo inside a scrolling div for you:

here's a drag-and-scroll demo:

Drag and Scroll

Simple Demo

demo

jquery

    $(function() {
        $('.container .pep').pep();
    });
    

html

    <div class="container">
      <div class="pep"></div>
    </div>
Community
  • 1
  • 1
Todd
  • 5,314
  • 3
  • 28
  • 45
  • Hallo I have problem I made scrollbox with can be scrolled by mouse.But the problem is that I need to click left button on mouse and then leave div container to move to the bottom. – ArturK. Dec 16 '14 at 09:54
  • not sure what you mean. Check the drad and scroll demo above. – Todd Dec 16 '14 at 09:56