erik-krogh / SudoSlider

The most versatile jQuery content slider
36 stars 24 forks source link

How to change direction of slider #22

Closed kooroshekabir closed 9 years ago

kooroshekabir commented 9 years ago

Hi.When I changed direction of style.css to RTL slides were fade

webbiesdk commented 9 years ago

What?

I have no idea what you mean, you need to send a link or something.

kooroshekabir commented 9 years ago

i have a index.html,style.css and your slide show files.when i use "*{direction:rtl}" in style.css thire texts that in

  • were fade

  • kooroshekabir commented 9 years ago

    download this file https://www.mediafire.com/?uha4s3bo9z1co5b I changed your demo version like my project.I added *{direction:rtl;} in first line of style.css

    webbiesdk commented 9 years ago

    I see now, SudoSlider assumes that the text-direction i left-to-right when calculating where the slides are supposed to be. Making it support right-to-left is not going to happen.

    But you can fix it by adding the following CSS.

    #slider, #slider > * {
        direction: ltr !important;
    }