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
0
votes
0 answers

how to focus on the very first element after scroll using mCustomScrollbar?

I am using AJAX to bring more data to my div and mcustomscrollbar to scroll. What I want is as soon as the data is loaded for my div to focus on the very element of the loaded data. For example, if the loaded data starts from 6 to 10 so div should…
Rahul Gupta
  • 972
  • 11
  • 29
0
votes
1 answer

Jquery Custom ScrollBar ( Malihu - mCustomScrollBar ) doesn't work

I tried to implement a custom scrollbar for a left sidebar with fixed position, but the scrollbar doesn't work. Who can explain to me why doesn't work? I tried to "force" inside position but doesn't appear nothing. look at…
0
votes
0 answers

Select2 + mCustomScrollbar - infinite scroll not loading next page with remote data

I am using Select2 4.0.1 with mCustomScrollbar, I have used ajax to populate the result based on users input, but whenever I search for anything select2 lists first page result, but consecutive pages were not loading, on reaching end of the scroll…
Sampat Badhe
  • 8,710
  • 7
  • 33
  • 49
0
votes
0 answers

mCustomSrollbar inside immediate function, why?

This is my code: jQuery (function($) { $(window).load(function(){ $(".bottomWrapperTable").mCustomScrollbar({ axis: "y", theme: "dark", scrollbarPosition: "outside", callbacks: { …
wmash
  • 4,032
  • 3
  • 31
  • 69
0
votes
1 answer
0
votes
1 answer

ng-scrollbars does not work inside ng-view

Situation: I am trying to use ng-scrollbars that is a wrapper for Malihu's jQuery Custom Scrollbar by Manos Malihutsakis. I am trying to use it with angular. Problem: If I do not use ng-view, everything works fine and as expected. But inside…
Musa Haidari
  • 2,109
  • 5
  • 30
  • 53
0
votes
1 answer

how to get callback when scrollTo mCustomScrollbar or run function

how to get alert when scrollTo mCustomScrollbar or run function $('.section-wrap').mCustomScrollbar("scrollTo", 0, { scrollInertia: 1500, scrollEasing: "easeOut", callback:{ alert() or somefunc (); } }); function…
0
votes
1 answer

How to apply CSS styling to dynamically generated list (within mCustomScrollbar container)?

I'm dynamically generating a list from a MongoDB database using getJSON(). The HTML being generated is correct and the related CSS styles are also correct. The
  • 's should have images as backgrounds, but they aren't being applied. In Firebug, I…
  • user1063287
    • 10,265
    • 25
    • 122
    • 218
    0
    votes
    1 answer

    Make horizontal scrollbar start at right end

    In mCustomScrollbar, I want to place the scroller at the right end of horizontal position by default, so I tried this: $('.content').mCustomScrollbar("scrollTo",'last', {horizontalScroll: true}); Which did not work. The following works, but does…
    karthipan raj
    • 657
    • 1
    • 8
    • 15
    0
    votes
    1 answer

    jQuery custom content scroller animate

    I'm trying to make an animation while scrolling with mCustomScollbar I'm able to get the current scrollTop and make it animate on a specific height with the following code: $("#content").mCustomScrollbar({ scrollButtons:{ enable:true …
    0
    votes
    1 answer

    mCustomScrollbar plugin having confusing trouble

    I use cycle plugin for my banner with caption and the caption has a scrollbar as in the image below. I use mCustomScrollbar to style the scrollbar. The scrollbar works fine in the first caption, but when I apply it in second caption the scrollbar…
    jhunlio
    • 2,550
    • 4
    • 26
    • 45
    0
    votes
    2 answers

    Adjusting height of scrolling div

    I am combining two scripts together: a scroller and a content fader. When I swap the content (fading), div's with a lot of content make the scrolling div super long. I was reading on the plugin demo for content scrolling…
    Robert Taylor
    • 89
    • 1
    • 10
    0
    votes
    1 answer

    call script after element is fully visible

    I'm using this script below for loading a hidden div, inside another: $(document).ready(function(){ $(function() { $('#menu a').click(function(e) { e.preventDefault(); $('#menu a').removeClass("selected"); …
    Preston
    • 2,135
    • 7
    • 29
    • 47
    -1
    votes
    1 answer

    How can i use mCustomScrollbar instead of the default browser scrollbar?

    I used this code: $("body").mCustomScrollbar({ theme: "3d-thick-dark", scrollButtons: { enable: true } }); mcustomscrollbar work on another elements. but doesn't work on body or html element!
    behi
    • 73
    • 8
    -1
    votes
    1 answer

    how to set mCustomScrollbar always left?

    I have some problems with mCustomScrollbar initialization. When i initialize him, his container ( mCSB_container) is jumping to left: -55px; but it should be left: 0; I don't know why. May be somebody have an idea. Problem image This is code of…