Website Design Edmonton       Website Design Feedback       Website Design Sitemap     Contact Website Design Company
Website Designers R Us - Home
Java vs JavaScript

Java vs. JavaScript

Java is a programing language developed by Sun. Java allows programmers to create programs. One example is Java Applets, a small program embedded within a web page.

JavaScript is a scripting language developed by Netscape and later joined in a partnership with Sun. You can insert it directly to your HTML documents. Creating JavaScript is not difficult. What you need are only simple text editor and browser that supports JavaScript.

JavaScript

We are not going to show you how to write JavaScript here because useful JavaScripts are widely available for you to copy. You may not need to know how to write it unless you want customized Script for your site. If you want to learn how to write the script, try JavaScript for the world wide web book.

Shown below are some examples of useful JavaScripts and links to some JavaScript web sites

ALERT MESSAGE:

If you enter this page from the link on the main page, you will get an alert message. Try it again: Click here

Here is the code for the above message:

<A HREF="j_script.html" onClick="alert('Reload this page?')">Click here</A>
DYNAMIC IMAGES AND MENUS:

Dynamic menu can either be created by JavaScript or JavaApplet. The JavaScript version will work only on Netscape 3.0 or higher. JavaApplet version should work on both Netscape and Explorer but it will run much slower than JavaScript.

JavaScript example:

>> 

The principle is that you have two images. One will be displayed when you put your mouse on it, and the other will be displayed when the mouse is off the image.

Installation is easy. This code originally written by Nick Heinle and Athenia Associates. Follow the link to get detail instruction.

CUSTOMIZED MESSAGE IN STATUS BAR

To see how it works, simply put your cursor over (but don't "click") on this links and watch the status bar at the bottom of your screen.

You can get this script from "Cut-N-Paste JavaScript"

COUNTER:

There is no example shown here. To use this counter script, your server must support server-side includes (SSI) feature.The script developed by Adam Levental.


--------------------------------------------------------------------------------
Links to JavaScript resources:

All U Wanna Know About 'Java Script'

GAScripts
JavaScript Tutorial, Workshops, Archives, and Links.

Cameron's Java Stuff -- This site contains many cool java stuff which you can get them free. Thanks Cameron!

JavaScript Made Easy -- This page describes in detail how to impliment numerous JavaScripts into your homepage! The author has done all the work. All you need to do is cut and paste a few things and that's it!

JavaScript Tips of the Week

Live Software

Netscape JavaScript Authoring Guide

Netscape JavaScript Resources

The JavaScript Source

Website Abstraction -- A site featuring over 200 free javascripts and java applets

On line JavaScript Tutorial:

Javascript 411

JavaScript for the Total Non-Programmer

 

Return to Listing

Website Designers R Us is a professional Internet strategy and Web design company based in Toronto, Canada. We specialize in best-in-class website design, online marketing, Flash multimedia, corporate identity and print graphics. Website Designers R Us features an integrated team of web consultants, creative designers, writers, programmers and marketing professionals that know how to get online results
 Home          ::             About Us          ::             Support            ::             Services            ::             Link Partners          ::             Contact

Copyright © 2006-2011 Website Designers R Us, a DOT Specialist Company. All rights reserved.