Questions tagged [mcustomscrollbar]

mCustomScrollbar is a highly customizable custom scrollbar jQuery plugin.

Highly customizable custom scrollbar jQuery plugin. Features include vertical and/or horizontal scrollbar(s), adjustable scrolling momentum, mouse-wheel via jQuery mousewheel plugin, keyboard and touch support, ready-to-use themes and customization via CSS, RTL direction support, option parameters for full control of scrollbar functionality, methods for triggering actions like scroll-to, update, destroy etc., user-defined callbacks and more.

91 questions
10
votes
0 answers

Custom scroll navigation for slick slider

I have a some slick slider with custom mCustomScrollbar scrollbar: // Слайдер var $carousel = $('.slick').slick({ slidesToShow: 3, slidesToScroll: 1, dots: false, infinite: false, prevArrow: $('.slick-prev'), …
SVE
  • 1,555
  • 4
  • 30
  • 57
9
votes
4 answers

JavaScript scrollbar recommendations

I'm really disappointed that I can't customize Firefox's scrollbar, but now I am looking for alternatives. Listed below are the best that I've found, but I figured I should ask for opinions and perhaps links to even better…
TimFoolery
  • 1,895
  • 1
  • 19
  • 29
7
votes
1 answer

jQuery plugins: apply mCustomScrollbar to SCEditor

How can I apply mCustomScrollbar to SCEditor? This is what I've tried so far: HTML JS $("#editor").sceditor({ plugins: "xhtml", width: '100%', style:…
Matías Cánepa
  • 5,770
  • 4
  • 57
  • 97
7
votes
2 answers

JQuery mCustomScrollbar autoScrollOnFocus

I have contact form with reCaptcha and using jQuery mCustomScrollbar plugin. Problem : When I click on / focus on reCaptcha field, the page scrolls automatically to top of the div. See Demo on Jsffidle, Code on Jsfiddle note : if mscrollbar isn't…
rails_id
  • 8,120
  • 4
  • 46
  • 84
7
votes
6 answers

jQuery mCustomScrollbar "scrollTo" not working

I'm using a basic setup for mCustomScrollbar which is working great except when I call the following: jQuery("#mcs_container").mCustomScrollbar("scrollTo","top"); Nothing happens. There is not error shown in firebug, it just does nothing. Has…
Matt
  • 89
  • 1
  • 1
  • 10
6
votes
3 answers

Hidden scrollbar unless page resize

I need a custom scrollbar plugin for a personal project (by "custom" I mean basic inertia effects, custom images and so on). My choice was mCustomScrollbar. The documentation was indeed very clear, and I haven't had any trouble implementing the…
trascendency
  • 65
  • 1
  • 1
  • 5
5
votes
1 answer

Replace Browser Scrollbar with Custom Content Scroller

I'm using the jQuery custom content scroller on my site and have all the files installed correctly. However, I would like this plugin to replace my default browser scrollbar and I'm having a difficult time making that happen. Obviously, I would…
user2482772
  • 51
  • 1
  • 1
  • 2
5
votes
1 answer

jQuery custom content scroller not display when div have parameter hide

I have jQuery custom content scroller on my website inside of a div. The div content has the parameter ("#content").hide(). The div is visible when the page loads and the jQuery custom content scroller works perfectly. But if the div content is not…
user1871954
  • 51
  • 1
  • 2
4
votes
2 answers

Custom horizontal scroll with animate.css

I have some code: $(window).load(function(){ // Horizontal scroll if($(".js-page-scroll").length){ $(".js-page-scroll").mCustomScrollbar({ axis:"x", theme:"dark-3", // scrollbarPosition:…
SVE
  • 1,555
  • 4
  • 30
  • 57
4
votes
1 answer

mCustomScrollbar don't update after add new element

This full my code at jsfiddle. After I add new list element by jquery, I use update to scrollbar update new list but new list overflow out tag ul store it. This code to create list element dynamic (line 46-50 in jsfiddle): var d = new Date(); …
Hoang
  • 829
  • 11
  • 18
4
votes
3 answers

Malihu jQuery Custom Scrollbar with Select 2

Scrollbar shows only on first opening and no more. What I did wrong? $('.select').on('select2:open', function () { function showScroll() { $('.select2-results__options').mCustomScrollbar(); } setTimeout(showScroll, 1); });
3
votes
1 answer

malihu custom scrollbar puts
in wrong place on electron

malihu custom scrollbar puts
in wrong place on electron. I looked at the versions in my browser and it works just fine. HTML Code it generates looks something like this:
Albee
  • 33
  • 6
3
votes
2 answers

Malihu custom scrollbar - scroll to id plugin not working in page

I'm using Malihu's custom scrollbar plugin and wanted to add the 'Scroll to id' plugin in conjunction with it. The code provided in my snippet works how I want it to (although sometimes the buttons don't seem to work). The main problem is when I…
user2953989
  • 2,791
  • 10
  • 36
  • 49
3
votes
3 answers

How to import jquery and mCustomScrollbar plugin into Angular2 component

I have a problem with import these modules to my angular2 component. I using angular2-webpack-starter from AngularClass. I install dependecies with npm: npm install jquery --save npm install malihu-custom-scrollbar-plugin --save and install…
kszdev
  • 31
  • 1
  • 4
3
votes
0 answers

jquery custom scrollbar jumping to starting point when a button is clicked for the first time

I am using jQuery custom scroller to display bunch of blocks with buttons. those buttons have alert script to show a msg when each button is clicked. Initially visible buttons are working fine as below but after a scroll the next buttons[image…
Charles Michel
  • 194
  • 2
  • 17
1
2 3 4 5 6 7