Giter Club home page Giter Club logo

Comments (8)

meandmax avatar meandmax commented on August 20, 2024

Hey @TrySound,

thanks for the feature request!

I do not think that this is a good idea. I showed in my examples how to make slides responsive via css mediaqueries, and I really don`t like the approach to do everything in JavaScript just because I can.

I think this the job can and should be done only in CSS and not in JavaScript.

Thanks, Max!

from lory.

TrySound avatar TrySound commented on August 20, 2024

@meandmax I need fluid slider, but not fixed. Do you have idea how to make it?

from lory.

Cordazar avatar Cordazar commented on August 20, 2024

@TrySound Lory has since been updated to work with responsive slides.

from lory.

TrySound avatar TrySound commented on August 20, 2024

Thanks, @Cordazar!

from lory.

siamkreative avatar siamkreative commented on August 20, 2024

@Cordazar Can you please point me to a working example with fluid slider? I'm struggling to get this working.

I don't want to define a media query for each device width... I just want my slider to be 100% of the parent element.

from lory.

Cordazar avatar Cordazar commented on August 20, 2024

@siamkreative Here it is used on a live-site http://www.expressen.se/geo/mats-larsson/tjejerna-som-surfar-mot-normerna--hittar-gladjen-pa-vagorna/

from lory.

siamkreative avatar siamkreative commented on August 20, 2024

Thanks for getting back to me :)

Because I was unable to find documentation about fluid sliders, I decided to look around for another library agnostic script and I found http://wd.dizaina.net/en/scripts/peppermint/. It honestly suits me better as there's no additional work required to get it working with fluid sliders.

Still, I will check out your example to see how easy it easy to implement.

from lory.

Cordazar avatar Cordazar commented on August 20, 2024

@siamkreative

You can also check the official page, http://meandmax.github.io/lory, and the examples for fluid sliders:

  • Single element - Percentage width [infinite]
  • Single element - Percentage width [rewind]

from lory.

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.