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.

How can I call API to make the page scroll to the bottom of the page?

You should do this $('#rollbar_div').trigger('rollbar',1);

I found a big issue. If my apply your product, and I print my page, it only can print half of the page

To fix this you should create print css (media=”print”) that would override any top offset for “rollbar-content” class .rollbar-content {top: 0!important; }

I would like use this on my page. But I see One problem.

When I click to center button on mouse (for auto scroll) Rollbar is static from this effect.

Facebook use similar scroll bar and this option have fixed, therefore I think, if you search solution.

And next problem is when I use navigation buttons on my keyboard, from example down button, scroll all table with RollBar, Can You fixed (effect use for table which is moving the mouse)

thanks

Hello, I’m not sure I understand what you mean. You want to be able to click somewhere on scroll path and slider should move to that point scrolling the content as it moves? yes?

fix this to next version??

I try to apply your plug in my site. I found it will make all content move to left instead of keep center. My site is http://58.211.138.83:1001/BerryUATPublicSite/Home.aspx

There is “float:left” inline style on .rollbar-content div. You need to override it with ”.rollbar-content { float: none!important; }” css rule.

Is there a way to make the scrollbar to bottom?

hi the roller Not working on ie browser at all any reson?

Hi! There can be different reasons. Please give me the name of your site and I will check

@KKopf
you’re a genius!
your JS-fix solved my broken percentage based page layout

thanks a lot !!!

Hi, is there any configuration “auto disable” when it detects on touch devices (ex iphone or ipad)

Thank you for your response. I have one more question when viewing the “live preview” on iphone the scrolling seems very static. Is there any easing feature supported?

When on mobile the scroll is linear without easing.

Hi,

I the same problem with dynamic content in divs, the rollbar does not go back to the top when selecting a other div, I have tried the lazycheckscroll but that does not work can you plz assist me? You can check here: go to the sushi tab and select types of sushi from the top bar: http://www.zenzaisushi.com

Thank you

Hi, and nope its not the iframe, I removed it ans still the same problem :(

here is a link of the page without iframe: http://www.zenzaisushi.com/cgi-bin/datacgi/database.cgi?report=_all_sushi&file=zenzai

You’re right. I checked plugin code and I see where I made mistake. In order to scroll Rollbar fully up you need to pass -1 to the trigger(). When you pass 0 there is no offset and Rollbar does not move. So either -1 or ‘reset’ will work for you.

$('#example1').trigger('rollbar',-1) or $('#example1').trigger('rollbar','reset')

However I think I was right concerning iframes and how you should call trigger() if Rollbar has been initialized inside of iframe.

That did it :) thank you for the great suppport

hello, script looks good.

I have two problems:

1. Can’t see how to center main ‘body’ content; it auto align left. 3. not working properly on ipad. I see both the plugin & browser scroll bars.

Thanks for your work

Hello!

.rollbar-content DIV is floated left by default. You can use following css to center page content

body .rollbar-content { width: 960px; margin: 0 auto; float: none!important; }

Regarding iPad I think you did something wrong because you shouldn’t see native scrollbars when rollbar is active.

Awesome rollbar Awesome author Awesome support

Thanks a lot!

Thanks!!

Hi, Would you please check what’s wrong with my code. I’m trying to get scrollbars around a box of text but without success (url: http://yola.pl/rollbar) Thanks

I see horizontal scroll bar. For vertical I think you need more content. Also try to resize browser window to see if it works.

Also, scrollbars won’t appear when they are not needed (by default)

Hi,

Scrollbars are “poping” over the text of my div : a padding should be added when scrollbars are displayed. How can I solve this problem ? I’ve tried pathPadding, but it does not work (what is the purpose of this option?).

Another question: I want scrollbar to fit 100% with the dimensions of the div (I don’t want to have a 20px top). Is it possible? How?

Thanks

Thanks for your answer. 1) You’re right : it’s probably better to always add a padding-right, but it should be the job of the plugin (option)? 2) Great that works! Another question: how can I remove the 5px right margin (right: 5px) between the rollbar and the right side of my div ?

In css/jquery.rollbar.css look for .rollbar-path-vertical {} css definition and replace “right: 5px;” with “right: 0;”

Thanks !

Greetings, Is there any sort of documentation for this plugin? A list of of options it supports?

One more question I have: does it support nested scrolls? For example: One main content div has a horizontal scroll and many widgets inside with vertical scrolls.

Thanks

Hi! Yes, rollbar supports nested scroll. Drop me email and I will send you a list of options for my plugin.

Hi,

I read that this plugin doesn’t work in WP. What would be the best recommendation to embed it in WP as I’m considering to buy for a client’s site?

Anyone already succeeded on this kind of implementation?

Thanks Eduardo

This is standalone jQuery plugin and you can embed it into wordpress using wp_enqueue_script/wp enqueue style in your theme

Helo, I have tried your rollbar and its very usefull

But I have some problem with this

I want to activate drag for the elements into rollbar-content with jquey ui draggable

But the drag event doesn’t function with this elements

Must I do something with rollbar to activate dragging elements?

I blocked drag events in my plugin as they were causing problems with scroll handle in firefox. You can try to comment the line with “dragstart” in jquery.rollbar.js (line 318) to allow drag events in rollbar container.

thanks, I do that and it’s good Any idea for fix the firefox problem whitout this line ?

Is there a function to remove all scrollbars on a div? and then call the function again?

When i use ajax to load in a div this gives trouble because the innercontent change…

Let me know

Hi! My plugin has an option called “lazyCheckScroll” that sets how often plugin re-checks size of .rollbar-content div (div that holds the content to scroll that can dynamically change). After you have initialized rollbar and load something dynamically into .rollbar-content div, you shouldn’t have problems with scrollbars.

I’ve tried with the lazycheckscroll but it didnt work…

box2 contains a div called vacature wich loads data trough .load

box2 is the holder of a scrollbar…

Can you have a look? My url is: http://testbrand.nl/vacature/test2.php

I will reply in email.

i had a problem with the body position an the position from my divs.

your plugin has mad my div with absolute position -> a div with relative position.

i have this solved for divs with absolute position:

if($(c).css(‘position’)==’static’) {RBCSS = ‘relative’;} else {RBCSS = ‘absolute’;};

this.container.css({‘overflow’:’hidden’,’position’:RBCSS}).

( the info is for user with the self problem)

(i take jquery version 1.9.1)

If you want to return absolute position you can do this with css also, with !important flag. This will overpower inline style.

Hi,

You added ability to scroll page with mouse wheel from inside of RollBar container. But could it be also possible also to make the same for the touch devices. Now it is not possible to scroll the page vertically inside the container with the horizontal scroll. Native scroll allows to do this.

Thank you!

Whenever the content overflows both vertically and horizontally, rollbar will automatically enable both scrollbar making possible to scroll in both directions. In preview there is no vertical overflow, so the image scroll only horizontally.

Hi,

I thought of being able to use your script on a div with text.

Is that possible?

Thanks!

Mick

Yes, it will work. Just activate Rollbar on div and scrollbars will appear automatically.

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