We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c96f092 commit 54274a7Copy full SHA for 54274a7
index.html
@@ -434,6 +434,24 @@ <h6>Team leader • Android app</h6>
434
return Math.abs(currentTop - targetTop) / 3;
435
},
436
});
437
+
438
+ if (location.hash === "#cycle") {
439
+ function scrollDown() {
440
+ s.animateTo(s.getMaxScrollTop(), {
441
+ duration: 25000,
442
+ done: scrollUp
443
+ });
444
+ }
445
+ function scrollUp() {
446
+ s.animateTo(0, {
447
+ duration: 4000,
448
+ done: function() {
449
+ setTimeout(scrollDown, 5000);
450
451
452
453
+ scrollDown();
454
455
</script>
456
</body>
457
</html>
0 commit comments