Skip to content

Commit

Permalink
Merge pull request #3773 from Alex-Monahan/pyodide
Browse files Browse the repository at this point in the history
Hackery to force scroll to top for first 3 seconds of Pyodide blog
  • Loading branch information
szarnyasg authored Oct 2, 2024
2 parents 041e00e + 8f4ad03 commit d8c00b8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions _posts/2024-10-02-pyodide.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,22 @@ author: "Alex Monahan"
thumb: "/images/blog/thumbs/241002.svg"
excerpt: "Run DuckDB in an in-browser Python environment to enable simple querying on remote files, interactive documentation, and easy to use training materials."
---
{::nomarkdown}

<script>
document.addEventListener("DOMContentLoaded", async function() {
for (let i=0; i<300; i++) {
window.scrollTo({
top: 0,
left: 0,
behavior: 'instant',
});
await new Promise(r => setTimeout(r, 10));
}
});
</script>

{:/nomarkdown}

## Time to “Hello World”

Expand Down

0 comments on commit d8c00b8

Please sign in to comment.