This website uses cookies to personalise ads and to analyse traffic ok
web design

jQuery custom content scroller

 

Code examples and tutorials

Responsive custom scrollbar with CSS3 media queries

How to use custom scrollbar plugin with CSS3 media queries and switch between vertical and horizontal scrollbars according to viewport size.

Scroll to id within element with custom scrollbar(s)

A simple jquery function to make all links pointing to id attributes within the page, work on content with custom scrollbars.

Horizontal custom scrollbar tutorial

Extensive tutorial for creating horizontally stacked content with the custom scrollbar plugin.

 

Pages: 1 2 3 4


5,530 Comments

Post a comment

Comments pages: 1 80 81 82

  1. Sunil
    Posted on September 2, 2018 at 14:51 Permalink

    Hello ,

    how to set default position bottom in below line

    this.scrollbarService.initScrollbar(‘#scrollable’,

    { axis: ‘y’,theme: ’rounded-dark’}
    );

    Reply
  2. Yvan COYAUD
    Posted on August 10, 2018 at 10:40 Permalink

    Hello everybody
    When I include the malihu library (version 3.0.6) I have the following error:

    Uncaught ReferenceError: module is not defined at jquery.mousewheel.min.js: 8

    If I remove this library the error disappears …
    Does anyone have an idea to correct this error?
    thank you for your answers
    YC

    Reply
  3. Chen zhaoyang
    Posted on July 24, 2018 at 11:46 Permalink

    How does calling Ajax determine whether scrolling is up or down?

    Reply
  4. Squall
    Posted on July 19, 2018 at 18:13 Permalink

    Can I make, for example, 2 horizontal scroll bars?

    Reply
  5. Debashis
    Posted on July 14, 2018 at 11:15 Permalink

    I am trying to use it with ReactJS and Meteor and getting this error in the console.

    Uncaught ReferenceError: module is not defined
    at jquery.mCustomScrollbar.concat.min.js:2

    Reply
  6. Pratheesh
    Posted on July 13, 2018 at 19:49 Permalink

    HI,

    Is there a way I can sync scrolls of a div with another scroll in another.
    That is when I scroll the first one second one also scrolls

    REgards

    Reply
  7. Parth
    Posted on July 5, 2018 at 15:38 Permalink

    I have initially set the the height of my panel. Now on window resize, how do I update the size of my panel i.e. from 600 to 100?

    Here’s the config object:
    $scope.scrollbarConfig = {
    autoHideScrollbar: true,
    horizRailEnabled: false,
    theme: ‘light’,
    advanced: {
    updateOnContentResize: true
    },
    setHeight: 600,
    scrollInertia: 0
    }

    Reply
  8. Viet Nam
    Posted on June 28, 2018 at 09:50 Permalink

    Issues conflict with scroll to zoom in/out “jQuery Cropper” inside “mCustomScrollbar”
    on desktop unable zoom out
    on mobile scroll is corrupt.

    Reply

Comments pages: 1 80 81 82

Post a comment

Your e-mail is never published nor shared. Required fields are marked *

You may use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
You can write or copy/paste code directly in your comment using the <code> tag:
<code>code here...</code>
You may also use the data-lang attribute to determine the code language like so:
<code data-lang-html>, <code data-lang-css>, <code data-lang-js> and <code data-lang-php>

css.php