Git Product home page Git Product logo

Comments (5)

9bitStudios avatar 9bitStudios commented on August 13, 2024

Thank you Steve. I'm afraid I'm not entirely sure what you mean by "right to left" version? The slider scrolls both right and left. Could you perhaps elaborate a bit further?

from flexisel.

steve-buri avatar steve-buri commented on August 13, 2024

Hey,

when I started to produce the right to left layout for Arabic pages, the
layout broke and the slider did so too. That depended on the CSS attribute
direction = rtl; when I defined it as ltr, everything worked fine again.
But what I miss is the option that the slider runs automatically to the
right side. Currently the autoplay mode moves the images to the left.

To fix it, I used a if case:

if (settings.autoPlay == true) {

setInterval(function() {
    if (canNavigate == true){

        if(isRTL()){
            methods.scrollLeft();
        } else {
            methods.scrollRight();
        }

    }

}, settings.autoPlaySpeed);

}

The "isRTL" function is my personal one depending on jQuery..

best..
Steve

2014-10-06 20:31 GMT+02:00 9bitStudios [email protected]:

Thank you Steve. I'm afraid I'm not entirely sure what you mean by "right
to left" version? The slider scrolls both right and left. Could you perhaps
elaborate a bit further?


Reply to this email directly or view it on GitHub
#43 (comment).

from flexisel.

9bitStudios avatar 9bitStudios commented on August 13, 2024

Ah okay. Sounds like you have resolved this issue then, correct?

from flexisel.

steve-buri avatar steve-buri commented on August 13, 2024

Yes, that fixed it.
Annotation: You could add the option to run the player in both directions, depending on the setting "left" or "right".

from flexisel.

ziymed avatar ziymed commented on August 13, 2024

what is the isRTL function code pls

from flexisel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.