New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Direction:RTL handling #82
Comments
Hello, You can change scrollbar position in jquery.mCustomScrollbar.css. Edit .mCustomScrollBox>.mCSB_scrollTools selector and change right:0 to left:0 (you may also need to change right margins to left). Does this help? On next plugin version, I'll try to add an RTL class on the css and maybe detect dir in the script and add the class automatically. |
Hi Malihu, Thank you for replying I really appreciate it. I have changed that before and tried again to override it but the dragger If you have time, plesae take a look at this link : you might use firebug to check the css. Looking forward to hearing from you. Regards, On Wed, Jul 17, 2013 at 10:10 AM, malihu notifications@github.com wrote:
Shams |
Since you have a horizontal scrollbar you can call the scrollTo method immediately after mCustomScrollbar function call:
|
Hi Malihu, I tried that but it doesn't work unfortunately. I'll try to create a Please let me know from your side if there are any other changes I can do. Thank you for your support. Shams On Thu, Jul 18, 2013 at 7:07 PM, malihu notifications@github.com wrote:
Shams |
"You can change scrollbar position in jquery.mCustomScrollbar.css. Edit .mCustomScrollBox>.mCSB_scrollTools selector and change right:0 to left:0 (you may also need to change right margins to left). Does this help?" helped me! |
Hi SixSatori, It didn't help me unfortunately. I took the last version of the script, Can you please send a url to the example that worked for you? I will really Regards, On Wed, Jul 31, 2013 at 12:46 PM, SixSatori notifications@github.comwrote:
Shams |
Hey shamsy, How did you finally get this working with RTL pages? |
New version (3.0.0) will fully support RTL pages/elements. I'll release it this week. |
Great news, malihu. Looking forward to it. |
Any news on this, malihu? |
Please check version 3 branch: https://github.com/malihu/malihu-custom-scrollbar-plugin/tree/3.x |
Hi malihu, first of all thank you very much for this plugin, it has been very usefull a lot of times.
and that doesnt seem to make sense, at least to me. its just the width size. i am very new to javascript and i dont know a lot, so pardon my ignorance if i mention something wrong. if you could check it out it would mean a lot and it will be be very helpfull.
Tank you very much for your time. |
You can set the text direction by using the |
thank you very mutch Date: Sun, 1 Jun 2014 11:00:01 -0700 You can set the text direction by using the dir attribute on a tag (e.g. body) in your HTML: or by using the direction property in your CSS: body{
} — |
Your welcome :) |
I've a wordpress template using the 3.1.11 version of your script. I think The problem is not in CSS since the elements in RTL position should be displayed from right to left, by 'RTLizing' the inner content of the scrolling area. The scrollbar being displayed on the right side should not be wrong at all. However the control itself in non-touchscreen devices is messy. When pointing inside our scroll container :
To simplify this :
Can you tell us how to correct this or how to change this specific JS scroll interpretation instead of waiting for a new version. I'd be glad to help improve your scroller in terms of RTL support if I get more explanation. |
If you referring to the mouse-wheel behavior, you could use the Is this what you need? |
yes that's it. I just tried to change it and it worked as expected |
Hello! How to make a reverse without using dir = "rtl" or direction: rtl; ? It is necessary that the slider and content moving in the same direction. |
Hi Malihu,
great plugin! one of the best so far on the web.
I've using it in an English version of a website, but when I tried to use it in the Arabic version, I still get the dragger aligned to the left and the whole scrollbar is shifted to the right.
Please try to change the direction to RTL to see what I'm talking about. I tried to hack the code by changing the configuration and inverting right and left floating and alignment without success.
I can pay you for the fix if you want to.
Thank you.
Shams
The text was updated successfully, but these errors were encountered: