Viewing Source Code in Frames

It used to be that viewing source code was a simple matter of clicking on View / Document Source from the menu bar. Then along comes frames ! Now, as I'm sure you're aware, making code readily available involves special consideration. Below are two methods for getting the job done.


The first method is a simple process, but requires additional files and hard drive space. You SAVE the HTML code as a text file (example.txt) and then display it in a window or frame. I've provided an example of each.


The second method is the one of choice for me because it requires no extra files, and my server space is limited. All I'm doing here is to load the page to a full size window with a menu bar. This allows the visitor to VIEW or SAVE the code. It's rather primitive, but it works.

Timothy's Viewing Source Code Page
by Tim Wallace