lukehaas / Scrollify

A jQuery plugin that assists scrolling and snaps to sections.
MIT License
1.81k stars 577 forks source link

Disable sections until onclick #369

Closed DaveSimmons1234 closed 5 years ago

DaveSimmons1234 commented 5 years ago

I was wondering whether anyone could help.

I would like to have all the sections, except the first, hidden until I click on a link in the home (first) section. Which then reveals the rest and then have it scroll to the second section. I've tried various methods of doing this - display: none, show(), update(), disable(), enable().

Any thoughts on how I would achieve this.

Great plugin btw. thanks so much, D

lukehaas commented 5 years ago

You won't find any useful responses to this here. I'd suggest posting this on StackOverflow.

DaveSimmons1234 commented 5 years ago

Tee hee great response. Basically the plugin doesn't work if any sections are hidden initially, is I guess what you're saying?

lukehaas commented 5 years ago

Not at all. I'm sure there is a way to do what you want. My comment is because this is an issue tracker for Scrollify itself, not for questions about how to use it.

DaveSimmons1234 commented 5 years ago

Ok fair enough. Thank you for your input.