I used my BN to create an HTML file. I wrote the HTML code into
that, then used KeyWeb to ensure a BN could use the page easily.
I just referenced the converter.js file in the src attribute of
my script tag, and created the .js file on the BN as well.
(Actually, I had a few functions in my HTML file to begin with,
but cut and pasted them into the .js file and added more as my
little temperature converter kept growing).
Have a great day,
Alex
----- Original Message -----
From: "Joseph Lee" <[EMAIL PROTECTED]
To: "'Braillenote List'" <[email protected]
Date sent: Fri, 15 Sep 2006 16:22:24 -0700
Subject: RE: [Braillenote] Converter Explanation
Alex,
Are you using Javascript to compose webpages, or are you using
pure HTML
language?
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex
Parks
Sent: Friday, September 15, 2006 1:11 PM
To: [email protected]
Subject: [Braillenote] Converter Explanation
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
___
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
___
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