1180 posts
  • Affiliate Level 5
  • Author Level 5
  • Collector Level 2
  • Exclusive Author
+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
  • 3 Years of Membership
  • Author Level 4
  • Collector Level 3
  • Exclusive Author
Pixelous
says
2468 posts
  • 6 Years of Membership
  • Author Level 2
  • Affiliate Level 4
  • Beta Tester
+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
  • 3 Years of Membership
  • Author Level 4
  • Collector Level 3
  • Exclusive Author
Pixelous
says

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

1180 posts
  • Affiliate Level 5
  • Author Level 5
  • Collector Level 2
  • Exclusive Author
+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..

1180 posts
  • Affiliate Level 5
  • Author Level 5
  • Collector Level 2
  • Exclusive Author
+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
  • 3 Years of Membership
  • Author Level 4
  • Collector Level 3
  • Exclusive Author
Pixelous
says

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

by
by
by
by
by
by