1179 posts
  • Has referred 200+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+2 more
mabuc says

Hello all,

does anyone here know’s a fix for auto width (horizontal style) using this tiny scrollbar plugin http://baijs.nl/tinyscrollbar .. anyone experience this before? please help.. thanks in advance..

438 posts
  • Has been part of the Envato Community for over 2 years
  • Has sold $5,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Located in Europe
+1 more
Pixelous says
2457 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $100+ on Envato Market
  • Has referred 100+ members
  • Has been a beta tester for an Envato feature
+3 more
digitalimpact says

Since it’s content generated via JS, I don’t think auto width is possible.

You could, however, do it dynamically with JS. Grab its container’s width and set it as the size for it.

Something like:


var containerWidth = $("#container").width();
$('#scrollbar3').tinyscrollbar({ axys: 'x', size: containerWidth });
438 posts
  • Has been part of the Envato Community for over 2 years
  • Has sold $5,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Located in Europe
+1 more
Pixelous says

Auto width is posssible with this plugin http://manos.malihu.gr/tuts/jquery_custom_scrollbar.html

1179 posts
  • Has referred 200+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+2 more
mabuc says

Auto width is posssible with this plugin http://manos.malihu.gr/tuts/jquery_custom_scrollbar.html

I have no choice but to use this… thanks for the suggestion..
@digitalimpact, thanks for helping also..

1179 posts
  • Has referred 200+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+2 more
mabuc says

Auto width is posssible with this plugin http://manos.malihu.gr/tuts/jquery_custom_scrollbar.html

everytime I resize the browser I see this error:

$dragger.position() is null

have you tried using this jquery?

438 posts
  • Has been part of the Envato Community for over 2 years
  • Has sold $5,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Located in Europe
+1 more
Pixelous says

Yep, I am using this plugin, no errors have.

by
by
by
by
by
by