CSS-Tricks / MovingBoxes

Simple horizontal slider which grows up the current box when it's in focus (image, title & text) and back down when it's not in focus.
http://css-tricks.github.io/MovingBoxes/
GNU Lesser General Public License v3.0
280 stars 147 forks source link

RTL Support #130

Open gokhanartuk opened 8 years ago

gokhanartuk commented 8 years ago

Hi

Having problem about using in rlt supported pages. Actually When I add dir="rtl" to page nothin is working correctly. Are u planing to have rtl support in soon?

Mottie commented 8 years ago

Hi @gokhanartuk!

I don't think anyone is actively maintaining this plugin, but if you want it to work when a page is set for RTL, add the following css to fix it (demo):

.movingBoxes {
    direction: ltr;
    unicode-bidi: bidi-override;
}

Switching the wrapper to LTR shouldn't effect the content in the panels... also, set the startPanel to show the last panel.