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

Can I both slide horizontally and slide vertically in one project? #198

Open
ddd-ms opened this issue Dec 2, 2022 · 6 comments
Open

Can I both slide horizontally and slide vertically in one project? #198

ddd-ms opened this issue Dec 2, 2022 · 6 comments

Comments

@ddd-ms
Copy link

ddd-ms commented Dec 2, 2022

No description provided.

@ddd-ms ddd-ms closed this as completed Dec 2, 2022
@ddd-ms ddd-ms reopened this Dec 2, 2022
@scaraliu
Copy link

scaraliu commented Dec 2, 2022

this scroll issue is a very important one. not in the sense of this issue, but in general for this wonderful software tool 😎

@ddd-ms
Copy link
Author

ddd-ms commented Dec 2, 2022

Oh, bad network lead to bad operation...
I mean can I slide down to change section and slide right to change chapter?
I didn't find previous issue about my question.. but in case, apologize in advance:>

@ddd-ms
Copy link
Author

ddd-ms commented Dec 2, 2022

this scroll issue is a very important one. not in the sense of this issue, but in general for this wonderful software tool 😎

so did u figure out how to both slide downward and slide rightward in a single webslide? :)

@scaraliu
Copy link

scaraliu commented Dec 2, 2022

I'm not sure, but the solution could be like thisȘ
the main setting
window.ws = new WebSlides({ banner = false slideshow = true vertical = false --- THIS VARIABLE is for your atention autoslide = false changeOnClick = false disableLoop = false minWheelDelta = 40 disableNavigateOnScroll = false scrollWait = 450 slideOffset = 50 hideIndex = false })

CHANGED VIA A CERTAIN EVENT

window.ws.el.addEventListener('ws:slide-change', function (e) { // change the variable or do something });

@ddd-ms
Copy link
Author

ddd-ms commented Dec 2, 2022

maybe i'm not describing my question precisely, but are u serious? u seems describing a quite different problem....
for example, I coded sth to illustrate..
image
i wanna press ↓ to switch 1-1 to 1-2
and then press → to switch 1-2 to 2-1

@ddd-ms
Copy link
Author

ddd-ms commented Dec 2, 2022

tags may wrong, but I tried

<section>
  <section>
  </section>
</section>

and failed....

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