3 ms·
Very basic evening project I threw together. Currently not supported in many mobile browsers but desktop ones appear to work as expected (no promises). Came i
by yobriefcase 14y ago
Very basic evening project I threw together. Currently not supported in many mobile browsers but desktop ones appear to work as expected (no promises).
Came into existence because I feed my son at around 3AM and scrolling all the time is a bit of a pain. So I just set this up and let it scroll for me.
Written in Play 2 (Scala) but it's mostly static HTML and JavaScript so thats largely irrelevant.
- radagaisus 14y agoConstant scrolling feels awful. It if would just jump ahead every few seconds or so it will be less painful.
- yobriefcase 14y agoOK there are 2 values you can adjust - the interval (how many ms before it attempts to scroll again) and the increment (how many px's it will jump). You can adjust to your taste if you prefer something else. I was worried about scrolling on different browsers looking a bit rough - it's something i'll need to tackle soon.