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.
------------------------
Comments are closed for this page. If you have something very important to add, contact me by email.