Code

Discussion on RollBar - jQuery ScrollBar Plugin

Discussion on RollBar - jQuery ScrollBar Plugin

Cart 554 sales

flGravity supports this item

Supported

This author's response time can be up to 5 business days.

102 comments found.

Evening, I’m in the market to buy a script just like yours.

I have a question tho, that your demo doesn’t makes it clear … Upon the mouse entering the div where I’ll use your script to create a HORIZONTAL roll bar … will the mousewheel scroll to the side?

How’s this done in the call of the script? $(’.boxdivs’).rollbar({ ??? });

Thanks in advance.. will purchase as soon as you reply

Hello,

if I get your question right, then yes. Horizontal scrollbar will appear automatically as soon as content width will be wider as DIV where you activated rollbar plugin, and you will be able to scroll with mousewheel. This will work the same way as vertical scrollbar on preview

Does this work inside an iframe?

Yes, it does work in iframe. The preview of my plugin on codecanyon is iframe

Will this work inside an iframe?

yes, it will.

Nice plugin but I am having an issue with Firefox scrolling. See this page: http://struere.digisavvy.com/hraztan-zeitlian/biography/ – in firefox (latest version) I can’t use my mouse scroll to scroll through content. I can click and drag the scrollbar, though. In Chrome and Safari it seems to work okay.

Good PlugIn i just want to make Scroll go to the bottom on content load how can i do this. No with boton to make it go up and down just a code line to make scroll go down on content load.

Thanks

no, you can’t

hello can a trigger the plugin to check div height to re size again the scroll according to the content has normal scroll behavior

Rollbar automatically checks content and adjusts scrollbars accordingly. Make sure you have latest version of my plugin, with lazyCheckScroll option. Thank you

Hello flGravity,

first of all, thanks for your great plugin, it is definitely worth its price!

Could you please help me out with the following issues I came across during using RollBar?

1) arrow keys: pressing an arrow key will move all scroll bars on the page, but I only want to move one of them (the one with mouse over the DIV item I use scroll bar with)
2) hiding: how to hide scroll bar? I used $(’.rollbar-path-horizontal’).hide() and it disappears, but it immediately shows up again.

Thanks for help Erich

1) I did exactly what you said, but with no success. What do you mean by “rollbar instance”? I used selector $(’.rollbar-path-horizontal’) for binding and unbinding keypress (also keydown) event during mouseover, but it was not triggered anyway.

2) Visibility solved, thanks.

3) There is one more problem. When you drag the scroll bar, it sometimes behaves like an image (especially when being in a hurry), i.e. you cannot move the scrollbar, but only drag its image. It is really annoying and it worsens user experience, so is there a way of preventing this behavior? I tried catching “dragstart” event, but nothing changed.

Thanks.

1. Under ‘rollbar’ instance I meant an element (DIV) on page that the Rollbar plugin has been activated for. You should be adding keypress individually for those elements where you received mouseover. This keypress event handler should trigger custom ‘rollbar’ event with $('#rollbar_instance').trigger('rollbar',[x,y]); on key press.

2. I don’t use drag events. I use mousedown followed by mousemove to move scrollbar handle. Do you have this problem in IE?

1. Solved now, thanks for help! 2. Solved, too. This problem occurs in Firefox (my version is 16.0.2), and it does not depend on rollbar size. The solution is to append the following CSS code to .rollbar-handle class:

    -webkit-user-select: none; /* Safari, Chrome */
    -khtml-user-select: none; /* Konqueror */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE */
    user-select: none; /* CSS3 */

Hi! I installed the plugin, but the custom scroll bars are not showing up. The script seems to be working, since it removed the default scroll bars, but now the page is locked (as if overflow: hidden) was made for the whole page, and i can’t scroll anywhere. I tried adjusting the CSS but it didn’t work. If you have any suggestions on how I can fix it that’d be great. Thanks!

Hi! Do you have an example?

hi i have a probelm

besdie explrer the pllugin works great only on explorer i have probelm the scroll content doesnt load properly

the whole text shows up without any scroll

here the link http://www.haker.co.il/doritsela/gallery/%d7%93%d7%95%d7%a4%d7%9c%d7%a7%d7%a1-%d7%91%d7%9b%d7%a4%d7%a8-%d7%a1%d7%91%d7%90

how can i fix it

thanks

awesome rollbar with awesome support . thank you

no reply to my question friend , is this compatible with the new jquery 1.8 ?if yes i would like to buy

yes, it works with v1.8

ca some body tell me why may page wrapper does not center itself on the page anymore since i installed rollerbar. But appear on the left

rollbar-content div has float: left inline style to prevent it from having the size of containing div. You may try to disable float: left with #container > .rollbar-content { float: none!important; } where #container is an element that rollbar is activated on.

i would like to buy this wonderful scroll bar . but since jquery 1.8 released 3-4 days back many scroll bar plugins don’t work properly . if this is jquery 1.8 compatible i would like to buy this

regards

param

I’ve found also another issue… It is present also in a script similar to your, so I will illustrate the problem with the same post that I’ve used for the other:

Hello, I’ve a problem with your script… I’m using http://www.fedeweb.net/select-div.html to show hidden DIVs through a select. When I scroll down to the bottom a 1st DIV (2003) and then I select a 2nd DIV (2004) with a content shorter than the previous DIV the content is not shown… anyway to solve this annoying bug (in an upcoming release)? I’ve made a video to illustrate better the problem http://youtu.be/szm_yXMpoaM // Live Demo http://www.alizee-italia.com/demo/download-videos/performances.html Thanks…

Also with Rollbar the script doesn’t scroll back to top when changing content.

I checked the demo but rollbar works just fine.

Have you checked it with Chrome? Have you watched the video? It happens when you click for example on a “last topic”!

Nice,,, but

My page wrapper is set to

wrapper {width: 976px; margin-left: auto; margin-right: auto;}

when I installed rollbar, my wrapper has been shifted to the left around 20 to 30 px. it is not centered anymore as it should

Any ideas how to fix that?? appreciate a reply as soon as you can

Hello! Is rollbar plugin activated on wrapper div?

hi i have just baugh it great plugin

i have a strechable div that streches to 60% height how can i make the scroll adjust to the hieght right now the hieght is set to 400px when i put 100% the scroll dissapears

http://www.haker.co.il/doritsela/%D7%94%D7%A8%D7%9E%D7%95%D7%A0%D7%99%D7%94_%D7%91%D7%92%D7%91%D7%A2%D7%94

tnx

Use either px or % to set height. But remember that by default when content size becomes less than container , scrollbars would disappear. However you can make them always visible by setting autoHide option to ‘false’

it didnt answer my question

my div height is 60% height from screen height in center position

the contetn div #example(is right now height:490px;

when i change it to 100% streched to the height of the main div

the scroll disappear althought the text is hidden and needs a scroll

go over my link try change the example div from firebug

you will see the probelm

when i add

ok. here is the answer: you need explicitly set “height: 100%” for every div starting with #primary2 div down till element with rollbar plugin. Scrollbars disappear because without height (height: auto) browser calculates height of rollbar container the same as “rollbar-content” div, so their sizes match.

No changes in the code… it is FF 14 .0.1 on mac! I’ve made no changes in the code… it happens when I try to drag up or down the scroller of the scrollbar! I you need more info ask me ;)

No news?

I confirm this bug in FF and tomorrow I will correct this in plugin’s code. Meanwhile, this behavior in FF is caused by “drag” events. To fix this you just need to block “dragstart” for element that rollbar is activated on, like body:

$(‘body’).bind(‘dragstart’,function(){return false});

Thanks for letting me know about this problem!

Great plugin… but it doesn’t work very well in firefox… I wish that the issue will be fixed asap (I’m making a video to show you the problem)!

how could I add it to blogger?

I don’t have this information

do you know what is auto scroll in browser? usually it works with mouse center button .. so if you do it your whole scroll bar goes up out of the browser .. hope you understand now

mouse center button with auto scroll making problem .. did you check that?

Hi! What exactly you mean?

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey