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

Number of columns in view #2

Open
Sanabria opened this issue Jun 3, 2014 · 3 comments
Open

Number of columns in view #2

Sanabria opened this issue Jun 3, 2014 · 3 comments

Comments

@Sanabria
Copy link

Sanabria commented Jun 3, 2014

I would like to know if there's a simple way to set a number of visible columns.

Let's say I have 4 columns in a container but only want to keep 2 columns visible at all times. Can this be done?

Thanks in advance.

@rmdort
Copy link
Contributor

rmdort commented Jun 3, 2014

Any reason why would you want to do this?

@Sanabria
Copy link
Author

Sanabria commented Jun 3, 2014

The design I was given has a limited width size, thus if all columns are shown at once is kind of hard to see the content and navigate through them.

@Sanabria
Copy link
Author

Sanabria commented Jun 3, 2014

Basically, what I need is to show only 2 columns (out of the 4) but once I click the second, the third would come in sight and the first would hide and then if I click on the third, the fourth would come in sight and the second would hide.

I tried setting the columns option to 2 which effectively gives me 2 columns but won't allow me to navigate through the last two.

I know this is probably out of the original scope for this plugin but I really like the way it works and I am looking forward to adapt it for this project I'm working on. I just need some guidance to make it happen since I'm fairly new to javascript.

Thanks again.

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