JAVA APPLETS AND SCRIPTS

STUDY MATERIAL CLASSROOM EXERCISES SAMPLES
 
Site Map
Java - Home
Intro 1
Intro 2
Session 1
Assignment
Transitions
Colours
Java Script
Java Applet
Tutorial
Java games
Java games
Java games
Java games
Painting

Color Schemes:

JAVA  SCRIPT  REQUIREMENTS
Below are a few items to keep in mind when posting a Java Script to one of your HTML documents:

You'll Need a Higher Level Browser
My suggestion is to head to the Netscape -or- Explorer Home Page and download the highest version your computer can handle.

Place the Script in the HEAD Commands
Placing your Java Script between the HEAD and /HEAD commands will ensure it is compiled and run first. It also sets it apart from the rest of the page's text.

Denote Image Height and Width
Java Scripts are a little picky. They like for everything on the page to be denoted. This includes adding the Height and Width of each image.

Hide the Script from Less-Powerful Browsers
Java Script is text. If the browser viewing your page does not have Java capabilities, the text is displayed.  You can hide the text from earlier-version browsers by adding <!- at the beginning of the script and --> at the end of your script.  This will not affect the script's performance.

Keep the Shape
Java Scripts often like to retain their shape. You should make a point of editing your Java Script/HTML documents in a text editor that does not have margins as a "wrap around" setting may disrupt the Script's form, thus corrupting it.  Suggestions for editing Java Script/HTML Documents include Notepad (IBMs), Simple Text (MACs), or turning off the word wrap in your current HTML editor.  

  SAMPLES  

 
Scroller 1
Inline Frame
Java Quiz
Drop-down
Clock 1
Clock 2
Highlighted
Intro-screen
Link Flasher
Password
Mouse Over
Tricks
Weight
Circling Text
Builder
HOME