Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Bogdan Chadkin
    @TrySound
    @meandmax Thanks,
    Baptiste Rios
    @baptooo
    @meandmax Hello, I can't figure how to determine if I'm on the last slide after on "after.lory.slide" event. The problem is that my Slider is responsive and the amount of visible slides changes (mobile: 1, tablet: 2, desktop: 3) Could you help me please ?
    Ricard Fredin
    @Cordazar
    @baptooo Before you initialize the slider you save the length of the slider to a variable, then in the after.lory.slide event you compare that first variable to event.detail.currentSlide.
    Fredrik Andersson
    @unik-im
    Hey, I've used your exact guide, but I can't get the Next and Previous controls to work?
    fabs
    @fabioruolo
    @meandmax Hi man! First of all, thank you for Lory - beautiful and super-smooth tool!
    Second - are you, by any chance, planning on include a feature for vertical scroll too?
    Neal
    @nstanard
    Hey there!
    Just like a lot of people other people - I want to say thank you!
    Great resource - I was about to develop my own ES6 carousel/slider
    then I found lory
    I want to contribute - so I'll be picking up different open issues
    @fabs Make an issue and tag it as an enhancement - perhaps I'll explore that ^^
    Oh wait!
    Too late @fabs
    meandmax/lory#106
    The answer is - perhaps :D
    Kirill
    @kbytin
    Hi
    Neal
    @nstanard
    :P
    Benji Bilheimer
    @benjibee
    If anyone may be around, I'm wondering if there's any ideas for a temp fix to using infinite: true, and rewindOnResize: false at the same time. It's currently quite buggy, you can see updates here: meandmax/lory#433
    MRokas
    @MRokas
    I've weird issue :/ Slides goes to next one few times, and then gets stuck :/
    Calling .next directly on slider doesnt work either :/
    andreas
    @andreasvirkus
    share some code/fiddle please
    MRokas
    @MRokas
    Figured it out. Had to specify number of on-screen slides :|
    thanks anyway
    Fernando Sangenetto
    @nandosangenetto
    Hello guys, can anyone help me to instantiate multiple lory sliders in one page?
    @nstanard
    andreas
    @andreasvirkus
    how are you currently trying to d it and what's the issue?
    Fernando Sangenetto
    @nandosangenetto
    I've followed the doc in the github
    The slider is instantiated and the touch feature works
    But I cannot change the slide
    Even if I click in the next button
    document.addEventListener('DOMContentLoaded', function () {
      Array.prototype.slice.call(document.querySelectorAll('.js_slider')).forEach(function(slider, index) {
        var sliderOptions = {
          enableMouseEvents: true,
          slideSpeed: 500
        };
        var lorySlider = lory(slider, sliderOptions);
      }
    }
    The first slide works fine, but the second isn't
    andreas
    @andreasvirkus
    Could you create a small isolated fiddle?
    Fernando Sangenetto
    @nandosangenetto
    ok, let me try
    Fernando Sangenetto
    @nandosangenetto
    @andreasvirkus argh :( https://jsfiddle.net/eho7s37y/6/
    @andreasvirkus my fiddle is not loading the lory, I guess.. i'm getting a new error, with getElementByClassName
    because the DOMContentLoaded doesnt work there
    Fernando Sangenetto
    @nandosangenetto
    I was able to work with it in isolated html file, but in my project it's not working, the translateX value back to zero when I drag the image
    Fernando Sangenetto
    @nandosangenetto
    it was a css issue
    andreas
    @andreasvirkus
    Sorry, left for bed 5 minutes before you posted your fiddle... glad you worked it out!
    If anybody wants to assist in the development/planning of Lory 2.0, ping me
    Fine fine, 3.0
    Andrew
    @andyrue
    Does anybody have a suggestion for adding slides dynamically? It seems running .setup() after adding the new <li> elements should work but it's always stuck on index 0 after adding new slides.
    Andrew
    @andyrue
    Hmm, maybe it is working. It seems I was calling .setup() too quickly. I put it in a setTimeout and it setup properly.
    Neal
    @nstanard
    @andreasvirkus Hey there ;)
    andreas
    @andreasvirkus
    Hey : )
    Thanks for getting back to me so quick