I want to scroll using 'mouseup','mousedown' & 'mousemove' events in a desktop website, something similar to how we do touch and scroll up/down on a mobile device. I dont want to use any plugin to achieve this nor I wanna use a mouse wheel.
Solution would be really appreciated. I wanna touch and scroll up/down in a desktop site using javascript.
HTML:
<ul>
<li>Title 1</li>
<li>Title 2</li>
<li>Title 3</li>
<li>Title 4</li>
<li>Title 5</li>
<li>Title 6</li>
<li>Title 7</li>
<li>Title 8</li>
<li>Title 9</li>
<li>Title 10</li>
<li>Title 11</li>
<li>Title 12</li>
<li>Title 13</li>
<li>Title 14</li>
<li>Title 15</li>
<li>Title 16</li>
<li>Title 17</li>
</ul>
CSS:
ul{list-style:none;padding:0;margin:0;height:400px;overflow-y:auto;}
ul li{padding:12px;border-bottom:1px solid #000;}
PFB the same for JSFIddle,