Javascript is not Java. Javascript is a scripting environment originally developed by Netscape (though now supported by Microsoft browsers). Java programs are compiled, and have much more control over appearance: Java programs can do graphics. Javascript scripts cannot.
Javascript is not "simple Java". There's nothing "simple" about Javascript, and it is not a subset of Java. The unfortunate naming has created this confusion, but the two things are truly unrelated.
Javascript can be a frustrating programming environment because the initial versions were very buggy, and (unfortunately) there are still many people running those buggy browsers. Still, Javascript is fun, and it's possible to get some effects that would otherwise require require much more extensive work in Java.
These programs are just examples. You can download the code and perhaps get some ideas of your own.
Got something to add? Send me email.
More Articles by Tony Lawrence © 2008-10-23 Tony Lawrence
I think it’s a new feature. Don’t tell anyone it was an accident. (Larry Wall)
Printer Friendly Version
Javascript Examples Copyright © December 1997 Tony Lawrence
Have you tried Searching this site?
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.
Contact us
Printer Friendly Version