Welcome to the Source Viewer. I created this script specifically to display code samples on my portfolio website. It serves the function of allowing users to view the Javascript, CSS, and source HTML for all of the projects I have posted. The source viewer is a PHP script that can open any local file (with proper read permissions) on the server where it resides, or any URL. It then generates the necessary HTML to display the file as you see here with line numbers, syntax highlighting (for PHP, HTML, Javascript, and CSS), as well as auto-detection of function names and CSS Rules which are displayed in a drop down menu in the top toolbar while viewing a PHP, Javascript or CSS file. The source viewer also provides you with an easy way to jump to any line in the document and, if the functions or CSS rules have been auto-detected, you can jump to each of those by selecting them from the drop-down menu. Additionally, you can hide comments present in the document such as the one below: //This is a comment. If you press the "Hide Comments" button, the visibility of these //lines will toggle on and off. In most portfolio items there are a series of links at the bottom of the describe panel titled "Source Links". These links allow you to easily view the CSS, Javascript and HTML that make up the portfolio item you are viewing. For example, if you are viewing this page at the URL: http://www.ianowhite.com/describe/source, then you should see a dark, translucent, hovering panel on the top, left corner of the page. Clicking on any of the "Source Files" at the bottom of this panel will allow you to view source of the various files that define this page.