Limiting Window Size

A recent question on the RootsWeb Freepages Mailing list was:

For some files on a Freepages site I’m in the process of developing, I would like to restrict the size of the page window to a fraction of the normal size. The problem is whether this is possible and, if so, how to accomplish it.

Barry Carlson, a frequent contributor to the list, proposed the following with examples.

The Pseudo Window is totally generated using CSS, and though more complex to get going is faster and doesn’t need a call to the server each time a link is clicked.   Both versions use JavaScript, but those familiar with commerce on the internet will know that you can’t do anything without JavaScript enabled.  Both versions work down to and including IE5.01, while Firefox 3.5, Safari 4 and Chrome 2 will show rounded corners for the Pseudo Window version. ~Barry ~

Speak Your Mind

*