User Tools

Site Tools


eg-259:review:dhtml

Dynamic Documents with JavaScript

Adapted from: Robert W. Sebasta, Programming the World-Wide Web, 3rd Edition, Addison Wesley, 2006. Supporting: Lecture 10.

  1. Define a dynamic XHTML document.
  2. If you know the id of an XHTML element, how can you get the DOM address of that element in JavaScript?
  3. If you have a variable that has the id of an XHTML element, how can you get the DOM address of that element in JavaScript?
  4. In what additional way can the DOM addresses of radio buttons and check boxes be obtained?
  5. What are the standard values for the visibility property?
  6. What properties control the foreground and background colours of a document?
  7. What events can be used to change a font when the mouse cursor is moved over and away from an element?
  8. What property has the content of an element?
  9. What JavaScript variable is associated with the z-index property?
  10. To move an element to the top of the display, do you set the z-index property to a large number or a small number?
  11. What exactly is stored in the clientX and clientY properties after a mouse click?
  12. What exactly is stored in the screenX and screenY properties after a mouse click?
  13. Describe the parameters and actions of the setTimeout function.

More Review Questions

eg-259/review/dhtml.txt · Last modified: 2011/01/14 13:00 by 127.0.0.1