Relative Content

Tag Archive for javascriptresizeframes

Resizing frames in Javascript

Last century I wrote a website that uses frames. (Main navigation on the left,alphabet search on top, and a main content frame below). The design is out dated, and should probably one day be rewritten in flexbox or Grid. But this is not the primary motivation for this question. I also need to add a little more history. The site’s html is still functional with modern browser, but suffers from being trapped in the post CRT monitor revolution in which screens larger than 1024 pixels once unimaginable, are now common place. The site has many low res images/formatting tricks due to being created in the days of dailup 56k internet. If I load the site in a 1920w monitor it looks crap, but if I create an additional frameset and load the site into a right frame no bigger than 1024 px the site works with a sense of what it looked like in the past. My goal is to modify the content of the original site (c1999-2023) as little as possible.