JavaScript Introduction
3 days

Course overview
This course teaches programmers to use JavaScript 1.8 for client-side scripting in web sites. It introduces JavaScript, explains its uses and teaches the basics of scripting needed for the most common tasks used in web sites, taking students through these tasks step-by step.

Who should attend
This course is designed for programmers with a good knowledge of XHTML

 

Course contents

What is JavaScript
Origins and JavaScript's original purpose
Comparison to other web programming languages
Where can it be used
The different versions of JavaScript
Future directions for JavaScript

Language structure
Using JavaScript in HTML pages
Embedding code v importing file
Basic language syntax
Variables
Assignment operators
Primitive data types
Basic math and string operators

Language blocks
Block syntax
Loops
Comparison operators
Conditional branches
Arrays
Defining and calling functions, parameters
Variable scope



Object orientated programming
What are objects, methods and properties
Addressing objects and properties
Built-in objects

Using JavaScript on web sites
Common uses of JavaScript
Responding to events
The document object model

Create scripts for some common web tasks
Rollover images
Image animation
Form validating
Pull-down navigation menu
Open and close windows
Control one window from another
Communicate between frames
Detect the browser
Detect the features supported by the browser
Get and set cookies
Revolving news headlines
Cascading menus

 

Related courses
XHTML Introduction
XHTML Intermediate
XHTML Advanced

How to book
Please call us now on 020 8658 6994 or email us at admin@alphatraining.com

Home


© Alpha Training, Telephone +44 (0)20 8658 6994, Email admin@alphatraining.com