Page does not exist.
Missing Page
Sorry. The page that you requested does not exist on the Department of Computer Science web site.
[an error occurred while processing this directive]
File: index.shtml
Creator: George Ferguson
Created: Tue Nov 13 19:31:40 2012
Time-stamp: Sorry. The page that you requested does not exist on the Department of Computer Science web site.
Last update: Friday, 05-Apr-2013 14:51:55 EDT
Page does not exist.
Missing Page
[an error occurred while processing this directive]
DMS102/CSC170D: Introduction to Web Development
For each of the following questions, start with the example document
linked here: dom-example.html. You can
of course also experiment with other documents as you explore the DOM.
Spring 2013
[an error occurred while processing this directive]
Assignment 8: DOM
display
CSS property
(and corresponding property of the
element's style
object) for how to make it
disappear.
style
object's color
property to that color.
Things to think about
[an error occurred while processing this directive]
File: doc-finish.shtml
Creator: George Ferguson
Created: Tue Dec 6 13:46:48 2011
Time-stamp: getElementById
returns a single element
(or undefined
). getElementsByTagName
and getElementsByClassName
return (possibly empty)
collections of elements (technically, these
are NodeList
objects).
getElementsByTagName
and getElementsByClassName
.
style
property to change the element's appearance. The properties of
a style
object are the CSS properties, with the names
adjusted to use Javascript identifiers (i.e., CamelCase rather
than hyphens).
body
element. Very soon we'll learn how to
trigger behaviors from mouse clicks and other events.