darsain / sly

JavaScript library for one-directional scrolling with item based navigation support.
http://darsa.in/sly
2.87k stars 497 forks source link

is it working responsive #148

Closed kabouelatta closed 10 years ago

kabouelatta commented 10 years ago

i'm trying to use it in responsive website but i'm not sure if is it responsive or not

darsain commented 10 years ago

When Sly frame or items in it change size, you need to call a reaload method. That's about it.

If you want items to inherit a fraction of a size of the frame element by setting % width in CSS, that is not doable as they'd be inheriting from slidee element, which is resized while reloading to fit all items in it,... chicken and egg problem.