Open StudioVDS opened 5 years ago
Is there a way to change the starting section? For example when I want scrollify to start at the section with index 2. Instead of with index 0.
I tried doing this with a combination of the following commands in different orders but It keeps ending up at index 0.
$.scrollify.disable(); $.scrollify.update(); $.scrollify.enable(); $.scrollify.instantMove();
It only works when I use a setTimeout function to delay the instantMove(). Is there any good way to do this without the setTimeout?
Is there a way to change the starting section? For example when I want scrollify to start at the section with index 2. Instead of with index 0.
I tried doing this with a combination of the following commands in different orders but It keeps ending up at index 0.
$.scrollify.disable(); $.scrollify.update(); $.scrollify.enable(); $.scrollify.instantMove();
It only works when I use a setTimeout function to delay the instantMove(). Is there any good way to do this without the setTimeout?