News for hackers. Stuff that matters.
Re:GitHub – kkuchta/CSS-only-chat: A monstrous async web cha... by killingtime74 on Friday June 30, 2023 @08:42PM (#36544842)
Can you talk a bit more about how it works? Is the page reloaded on submit?
Re:GitHub – kkuchta/CSS-only-chat: A monstrous async web cha... by dvt on Friday June 30, 2023 @08:43PM (#36544855)
This is an old trick, so I understand why people probably haven't seen it these days. But you have a page with two frames: the submission frame (i.e. input form, usually on the bottom of the page) is reloaded on submit, while the chat log (usually the top frame) loads infinitely.
Re:GitHub – kkuchta/CSS-only-chat: A monstrous async web cha... by lelandbatey on Friday June 30, 2023 @09:14PM (#36545147)
Just to be further specific, they're talking about embedding two separate webpages inside of one page, using "iframe" HTML elements. In the bad old days you'd probably use a bare "frame" element, but those aren't valid HTML as of HTML5.
Re:GitHub – kkuchta/CSS-only-chat: A monstrous async web cha... by blackbeans on Saturday July 01, 2023 @07:20AM (#36548930)
I think they used a frameset with frames. It had the advantage that it could be sized to the browser window as a percentage and both frames could be refreshed/loaded independently without affecting the other.