Javascript
This course teaches you to interact with Web pages and Java Applets,
input and show text as well as play sounds and display images or
communicate with a plug-in response.
Skills needed before the
course
A working knowledge of HTML.
Recommended
duration
2 days
Recommended duration
This course teaches you to interact with Web pages and Java Applets, input and
show text as well as play sounds and
display images or communicate with a plug-in response.
· What is JavaScript?
· How JavaScript relates to HTML and CSS
· Browser compatibility
· Importance of the Document Object model
· JavaScript in ASP and Flash
· Programming concepts explained
· Variables, Variable types and Variable scope
· Expressions and Operators
· Functions: Declaration, Calling, Arguments
· Controlling Loops - FOR and WHILE
· Conditionals - IF, ELSE
· Objects, Properties, Methods and Events
· Syntax and code structure
· Syntax: case sensitivity; whitespace/line termination;
comments and identifiers
· Basic data types: numbers;Strings; Booleans, Arrays,
Scope and null/NaN/undefined
A working knowledge of HTML.
Skills needed before the course
Rates include lunch, free pre-training analysis and post-training support.
Group courses have manuals
included.
Two days.
· "Hello World" - making text appear in the Browser
· Simple addition and subtraction
· Displaying alert messages: confirm and prompt
· Changing the contents of form elements on-the-fly
· Form validation
· Creating simple rollovers
· Creating a rollover function
· Displaying the date on a Web page
· Working with pop-up Windows
· Browser detection and hiding the code
· Using JavaScript to control Frames
· Creating a simple DHTML drop-down menu
· Working with Cookies
· Controlling the appearance of the page using
JavaScript
· Linking to external .js files