Posts

Showing posts with the label Javascript

Introducing to JavaScript (2)

It's important to understand the difference between Java and JavaScript .   Java is a full programming language developed by Sun Microsystems with formal structures, etc. JavaScript is a scripting language developed by Netscape that is used to modify web pages. Most JavaScript must be written in the HTML document between tags.You open with a tag, write your JavaScript, and write a closing tag. Sometimes, as an attribute to script, you may add “ Language=JavaScript ” because there are other scripting languages as well as JavaScript that can be used in HTML. We’ll go through some examples to demonstrate the syntax of JavaScript. To understand the workings of JavaScript, it is essential to understand a few basic programming concepts. JavaScript is object-oriented. An Object in JavaScript is a resource that has specific characteristics known as properties and provides several services known as methods and events . An example of an object is document , which represents t...

Introduction to JavaScript (1)

Equipment / software We will use Notepad on Windows 98 PCs, but any test editor capable of saving documents in plain-text format will work. Any web browser can be used; we will use Netscape Navigator. Be aware, however, that there are some browsers that would handle your code differently. Handouts & class files Class handout: Introduction to JavaScript base.html cat.html demo.html dog.gif family.gif hamster.gif harry.gif logoscroll.gif logostill.gif resources.html Prerequisites We will assume you have a working knowledge of HTML tags. Introduction In this class, you'll become familiar with some concepts and terminology of JavaScript by creating some working examples. We hope you’ll learn enough that you are able to use the materials referenced at the end of this handout on your own. This course will NOT be dealing with programming fundamentals, or rigorous programming struct...