1179 posts
  • Exclusive Author
  • Interviewed on the Envato Notes blog
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Referred between 200 and 499 users
  • Has been a member for 6-7 years
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..

439 posts
  • Bought between 50 and 99 items
  • Europe
  • Exclusive Author
  • Has been a member for 2-3 years
  • Sold between 5 000 and 10 000 dollars
Pixelous says
2444 posts
  • Has been a member for 5-6 years
  • Exclusive Author
  • Europe
  • Bought between 10 and 49 items
  • Referred between 100 and 199 users
  • Sold between 100 and 1 000 dollars
  • Envato Studio (Microlancer) Beta Tester
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 });
439 posts
  • Bought between 50 and 99 items
  • Europe
  • Exclusive Author
  • Has been a member for 2-3 years
  • Sold between 5 000 and 10 000 dollars
Pixelous says

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

1179 posts
  • Exclusive Author
  • Interviewed on the Envato Notes blog
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Referred between 200 and 499 users
  • Has been a member for 6-7 years
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
  • Exclusive Author
  • Interviewed on the Envato Notes blog
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Referred between 200 and 499 users
  • Has been a member for 6-7 years
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?

439 posts
  • Bought between 50 and 99 items
  • Europe
  • Exclusive Author
  • Has been a member for 2-3 years
  • Sold between 5 000 and 10 000 dollars
Pixelous says

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

by
by
by
by
by
by