Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiple rows #22

Closed
tobes4k opened this issue Jan 10, 2013 · 2 comments
Closed

multiple rows #22

tobes4k opened this issue Jan 10, 2013 · 2 comments

Comments

@tobes4k
Copy link

tobes4k commented Jan 10, 2013

Is there anyway can have multiple rows on sliders?

Alternatively, is there anyway can link the touchdrag/nav items to move all rows?

@tobes4k
Copy link
Author

tobes4k commented Jan 11, 2013

I've found the scrollSource functions which almost work, I can't seem to get the pagesBar and scrollBar to work though

I am using:
div id="sly2" class="sly" data-options='{ "scrollBar": ".scrollbar", "pagesBar": ".scrollbar", "scrollSource": ".sly", "dragSource": ".sly", "startAt": 575, "clickBar":1, "horizontal": 1, "keyboardNavBy": 1, "itemNav": "smart", "dragHandle": 1, "dynamicHandle": 0, "drag": 1, "startAt": 0, "scrollBy": 1, "speed": 300 }'

@darsain
Copy link
Owner

darsain commented Jan 15, 2013

There is no support for multiple rows. You have to be crafty about that, like adding 2 items into a main slidee>li element.

It is possible to link 2 Sly instances together, but it is such a bad, and dirty, and disgusting workaround, and I'm definitely not gonna help you with that :)

Also, there is now a Sly forum where you can ask questions that do not belong into an issue tracker. Like this one :)

And a last thing, please do not use that data-options thing. It is only in a presentation page to ease the pain of calling sly dozen of times. It makes no sense doing it in whatever page you are trying to create. So please, read the documentation on how to use sly. Don't copy & paste code that was trying to solve a different problem.

API documentation


@darsain darsain closed this as completed Jan 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants