Training Guide: Programming in HTML5 with JavaScript and CSS3 Ebook

(Nora) #1

648


start() function, 345
stateless model, 312–313
statements, 71
statements, variables and, 71–73
static NodeList, 112–113
static position (<div> element), 181
step attribute (<input> element), 329
stopPropagation() function, 116
storage event, 117
storage mechanisms
browser support, 561
capacity considerations, 561–562
cookie considerations, 556
described, 555
handling storage events, 565–568
HTML5-supported, 558–560
jQuery cookie plug-in, 556–557
lesson summary and review, 564–565, 568–
569, 579–580
localStorage global variable, 560–562
potential performance pitfalls, 563–564
practice exercises, 569–578
sessionStorage global variable, 562–563
storing complex objects, 562
web storage, 555–564
Storage object
clear() method, 560
described, 560, 563
getItem() method, 560
key() method, 561
length property, 560
removeItem() method, 560
setItem() method, 560
StorageEvent object
described, 566
key property, 566
newValue property, 566
oldValue property, 566
storageArea property, 566
url property, 566

sibling selectors, 151–153
SignalR library, 423
Simple Object Access Protocol (SOAP), 366
single quotes ('), 69
size attribute (<select> element), 317
.sln file extension, 356
<small> element, 35, 220
SOAP (Simple Object Access Protocol), 366
Socket.IO library, 423–424
sounds. See audio and sounds
<source> element
described, 35
setting audio source, 445
setting video source, 439–440
src attribute, 439, 445
type attribute, 439, 445
as void element, 39
<span> element
described, 35
expando attributes and, 39
historical usage, 206
special characters (HTML entities), 41–42
specialized classes, 262
specificity (selectors)
calculating, 161–162
in cascading styles, 160
spellcheck global attribute, 37
Split App template, 6
square brackets, 109, 264
src attribute
<audio> element, 446
<embed> element, 50
<iframe> element, 44
<img> element, 47–48
<source> element, 439, 445
<video> element, 441
SRT (SubRip Text), 441
stalled event, 120
Standard Generalized Markup Language (SGML),
30, 137

sibling selectors
Free download pdf