I have seen some speculation on this whole converter thing, so I will explain how this little project of mine came to be. If you do not feel like reading the whole thing, just know that it was done completely and totally on my BN, and using the converter service does NOT require a connection to the internet at all.

I already knew HTML this summer, and in August I was bored. I looked online and downloaded some books from BookShare, and taught myself the basics of JavaScript. I realized that, using JavaScript's ability to have the web browser perform calculations, I could theoretically convert metric to English and back. I set about writing the HTML file and getting the format down, then wrote the JS file that contains the instructions for the web browser to calculate.

These files were created by creating an ASCII text file, but instead of just typing the name and hitting ENTER, I typed the name followed by a .html or .js extension. Because the file was just a text file, it accepted the extension fine. This is how I create all my HTML files. BTW: the HTML file has a line of instructions in it that tells the browser where to find the JavaScript code to execute upon the user's request (in this case that code is in the converter.js file). So basically, the button you click to convert a measurement refers to a specific "function" (think of a function as a miniature program). A bunch of these functions are inside the converter.js file, and the web browser knows to look there because of the reference in the HTML file (the same HTML file that holds the buttons that ask for the function to be executed).

If anyone has additional questions, email me at [EMAIL PROTECTED] and we can talk. Sorry if I just confused you and made you vow never to touch a programming tool, ever! It really is easier than I made it sound, but I do not know how else to explain it.
Have a great day,
Alex

___
To leave the BrailleNote list, send a blank message to
[EMAIL PROTECTED]
To view the list archives or change your preferences, visit
http://list.humanware.com/mailman/listinfo/braillenote

Reply via email to