JavaScript Programs:

The following interactive web pages use JavaScript.  The following software programs will work on the Windows Explorer browser.  There are no guarantees they will work on other browsers.  See below the JavaScript and Java Applet table for more explanation.

To save a permanent copy of the following Finance Calculators, etc. click the link to download the page to your browser, simple click on File in the menu then click on Save As to save it to your hard drive -- you usually have to give the file a name. After that you can bring it up from your Hard Drive by clicking on the file in your Windows Explorer or whatever (depending on your operating system -- PC or Mac?), and you don't have to be online to run it.
    In many of the programs you have to scroll down the internet page to see the whole program.

 

Category

 1.  Financial Calculator programs
 2.  Days programs
 3.  Poetry Composer program
 4.  Math programs
 5.  Pattern and Counting programs
 6.  Evolution programs
 7.  Unicode Check

The  interactive web pages below use JavaScript and Java Applets.  These should work in any browser from 1998 on.  Because they  use HTML, JavaScript and a Java Applet  they may take a little longer to load:     See below the JavaScript and Java Applet table for more explanation. 
JavaScript and Java applets:

 

 Category

 1.  Math Art programs
 2.  Evolution programs
 3.  Motivation program
 4.  Math programs

After you click on one of the links in either of the above 2 tables, you will be on an interactive page.  Experiment with the textboxes by changing the numbers.  Click on the Buttons and see the results.  Save the web page and run it off-line on your browser anytime you want.  It will only work on your browser, not your word processor or spreadsheet.  If you get a NAN -- it means the numbers you are using are not workable -- change one or more of them.

To see the source code click on "view" in your browser menu and choose the "source" menu item.  If you make any improvements to any of the code or have an alternate substitute (including the Java Applet code) let me know by e-mail.

You may have to enable JavaScript in your Tools / Internet Options / Java VM, but try without it first.   To return to this page use the back arrow on your browser.

For the Programs in the second table for JavaScript and Java Applets: To run  programs offline you need to save 2 files: (1) the web page and (2) the class for that web page.  Download and save the class(es)  in the same directory as you saved the web page.
                       

Further explanation: JavaScript is supposed to work on any browser and on any platform. Other programming languages such as C++, Visual basic, Java only work on certain platforms and usually not on a browser.  It is true that JavaScript is much more restricted in power than the other programming languages, but the big advantage it is more universal because it can run on a browser. JavaScript is embedded in the web page.  When you access the page you do not see it as a separate part of the page. Another big advantage of using JavaScript is that it makes the web page dynamic, that is, you can interact with the parts on the page -- input and get a corresponding output.  If you have an older version of a browser such as Microsoft Internet Explorer or Netscape I would recommend you upgrade -- it is free.

I a beginner in programming in JavaScript and Java Applets. I welcome any suggestions for improvements or suggested sites where there are other similar JavaScript pages.  If you are giving suggestions give the name and version of the browser you are using.  

One disadvantage I have found in JavaScript is it's graphic ability, that is, doing detailed graphs by using points and lines only -- I may find a way around it without resorting to Applets -- With the Graph program I  had to learn to program Java Applet.  If anyone has a neat way of doing Graphics with JavaScript alone let me know -- click the above ("Who did this thing anyway?") button for my e-mail address.  By the way JavaScript programs require less memory on a hard drive than others because the overhead is "taken care" of by the browser.  

(For Windows) Use the right mouse button to access undo, cut, copy, paste, delete, select all menu for any textbox. You must highlight the part you want to undo etc. first.   After clicking the right mouse button it usually takes several seconds before the floating menu appears. There are other ways for other operating systems.


I compose these programs for problems I set or others set to solve.  
To me it is a fun thing to do, so enjoy! 

Produced by Orland Hooge, Chilliwack, B.C., Canada. 

 e-mail omjhooge@shaw.ca
Check this link:  National Center for Science Education:  Defending the Teaching of Evolution in the Public Schools
What is evolution anyway?
http://members.shaw.ca/omjhooge/welcome.html
Back to Homepage