| |
|
The Craig Browser is a small set of HTML pages which are loaded from a HTML Application file which is just a .HTM file renamed to .HTA, this stops the user getting annoying messages about closing windows. The app is intended to be run with Internet Explorer 5+ as the system's default browser. Although this is released via my site, it is not intended to be hugely useful to anyone, the most use you might find for it is a code resource, the app is made up mainly of very simple javascript, you might find it useful. The reason I made it was that it allows me to test my pages fit neatly into an 800-pixel wide resolution withought having to piss about with resizing normal windows.
At the bottom-right of the page you will see a 'mail' button on clicking this the url; 'http://mail.yahoo.com' will be loaded into the browser. You can change this to whatever you like. The main address area has some quick-codes built-in which you can see in the code. Basically to use these type the first three letters of the site you wish to load and click the middle mouse button over it, the characters will be substitued with the necessary components to build the address and the url will then be loaded into the browser. e.g. typing 'yah' and clicking loads 'www.yahoo.com' If you choose to add some more quick-codes you will note that you do not need to specify the extension (.com / .net / etc), the subpage page (index.htm / home.asp / etc), or the communication protocol (http://www. / https:// / etc) Unless they differ from the most common which are the '.com' extension, no subpage and the 'http://www.' protocol. It is recommended that you supply multiple variations in the case for the string comparisons as Javascript is case-sensitive, unless you want to build in a case insesitive check. (I couldn't be bothered!). Enjoy! Craig Poole |