Index

joshstock.in / b98dfd5

Source for serving and static templating/compiling of https://joshstock.in.

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
15814 Jan 2023 23:375aaa26aWebsite rewriteJosh Stockin150G

Blob @ joshstock.in / site / static / js / banner_scroll.js

application/javascript200 bytesdownload raw
1let banner = document.getElementsByClassName("banner-image")[0];
2function scroll() {
3 banner.style["background-position"] = "50% " + (30 - (document.body.scrollTop/18)).toString() + "%";
4};
5scroll();
6