javascript examples
Each of the pages linked below have specific instructions for using and adapting the script for your page. Please be sure to read the directions carefully and copy all of the relevant code. Also, please leave the credit lines in the code and use the credit lines shown in the visible part of the page.
Here a neat example of a simple Java script application to create a basic current calendar. The current date is posted in red. This is the simplest example in this group because it goes entirely in the body section of the HTML, the script requires no modifications and has no parameters to change.
You've probably been to web pages where a second, smaller window has opened to tell you some news or sell you some product. Follow the link to see the basics of how it's done.
Automatic Slide Show and Manual Slide Show
Both of these scripts involve using a group of images in the same space on the page. The first displays a set of images automatically one after another. The second uses the same set of images but allows your visitor to control the show. Both are very cool scripts! The same effect can be more easily done using dynamic HTML but this method is compatible with older browsers.
Random Images and Daily Images
These are variations on the slide shows above. The first script will randomly display an image from the group you specify each time the page is loaded. The second script loads an image based on the day of the week.
This is a neat little tool to give your users lots of choices while not cluttering up your pages.
Not exactly useful but this effect is a nice example of a fun use of Javascript that can make your page a little more distinctive.

