I have used overflow:hidden
style to hide scrollbar in all browser. And added jquery function to button for scroll down the content, its working fine. I need to apply scroll top function to other button or need to add mousescroll
$(document).ready(function() {
var count;
var interval;
$(".ca-top").on('mouseover', function() {
var div = $('.navbar-nav.categories');
interval = setInterval(function(){
count = count || 1;
var pos = div.scrollTop();
div.scrollTop(pos + count);
}, 10);
}).click(function() {
if (count < 6) {
count = count+1;
}
}).on('mouseout', function() {
// Uncomment this line if you want to reset the speed on out
count = 0;
clearInterval(interval);
});
});
Check my Fiddle: https://jsfiddle.net/vuer5oyu/