DOM Scripting
Short course
In Brighton
Description
-
Type
Short course
-
Location
Brighton
-
Duration
1 Day
Based on the best selling book of the same name, this day-long course will introduce you to the basics of JavaScript, the Document Object Model and DOM manipulation. Suitable for: This course is a perfect for intermediate developers who understand the basics of XHTML and CSS and have been using them for several months. The course is also suitable for back-end programmers curious about the power of JavaScript.
Facilities
Location
Start date
Start date
Reviews
Course programme
Based on the best selling book of the same name, this day-long course will introduce you to the basics of JavaScript, the Document Object Model and DOM manipulation. Through a series of practical examples you will learn the vocabulary of the DOM and how this can be used to update the content and behavior of the page. Using the concept of unobtrusive JavaScript, you will learn how to create advanced functionality that is accessible and degrades gracefully.
This training course is taught by Clearleft Technical Director, Jeremy Keith. Jeremy is the author of the best selling book DOM Scripting, and a recognised expert on JavaScript and the DOM. By the end of this course you'll have a full understanding of the power of the Document Object Model. You will be able to add markup to the page and change styles using the DOM, all from an external JavaScript file. Using this knowledge you will be able to start adding advanced interactivity to your sites, in order to create the best user experience possible.
This course is a perfect for intermediate developers who understand the basics of XHTML and CSS and have been using them for several months. The course is also suitable for back-end programmers curious about the power of JavaScript. The course is ideal for 4-8 people and prices start from £1600+VAT. Sessions can either be run on site at your offices, or at our state-of-the-art training centre in Brighton.
Introduction to JavaScript
- What is JavaScript
- The history of JavaScript
- Browser support
- Variables and data types
- Arrays
- Conditional statements and looping
- Functions and variable scope
- Objects
- Introducing the DOM
- Nodes, node names and node types
- getElementByID and getElementByTagName
- getAttribute and setAttribute
- Event handlers
- External files
- Unobtrusive JavaScript and graceful degradation
- Example: image gallery
- createElement and createTextNode
- appendChild and insertBefore
- Writing a custom insertAfter function
- Example: better blockquotes
- Separating structure, presentation and behaviour
- Manipulating the style property
- Updating class names
- Example: showing and hiding content
- Example site
- Image gallery
- Slideshow
- Navigation
- Table and form enhancements
DOM Scripting