Chapter 22 (^) ❘ 491
bapp01.indd 02/18/2015 Page 491
CHAPTER 20
- You must keep track of whether the slideshow has been interrupted to prevent the normal
transition from occurring. - The transitioning property prevents multiple animations from occurring simultaneously. It
ensures that only one animation happens at a time. - The number of items with the slideshow element with the class name slide is iterated, and
controls are created for each of these items. The controls are given an id name that contains
a reference to the collection and a reference to the slide. Finally, the slide’s offset number is
made the text of the control.
CHAPTER 21
- h.264, Ogg, and WebM
- The tracks option. (Extra credit for specifying that it displays the text from HTML5
- The preload attribute.
CHAPTER 22
- contenteditable
- document.execCommand
- Any options that require a user interface prompt or data value when used with document.
execCommand, such as fontname or fontsize. - Answers will vary but should describe a Selection object that contains a collection of Range
objects, which, in turn, stores information about bounding nodes and positions within them. - $(this).data()