JavaScript: The Complete Reference, Second Edition

W

W3C standards, 21, 134

W3Compiler, 69, 724

wbr object, proprietary document objects, 903

<wbr>, 903

weakly typed languages, 48 “49, 732

Web browsers. See browsers

Web sites, IE security zones and, 687

week typing. See dynamic typing

well- formed documents, 606

well-formed XML, 603 “607

compared with documents that are not well-formed, 606

syntax rules, 604 “606

valid documents and, 607

while loops

loop types and, 37

overview of, 102 “103

syntax of, 747

whitespace

characters , 26 “27

crunching , 724

syntax errors caused by omission, 76

Window object. See also frames

accessing window history, 366 “367

alert( ) method, 348

changing window appearance, 551

confirm( ) method, 348 “350

dialogs, 347 “351

document property, 134

DOM methods and, 360 “361

events, 370 “371

extensions to, 381 “384

input/output with, 40 “41

inter-window communication, 361 “362

methods, 906 “911

moving windows , 362 “363

in Object model, 223

onerror handler, 710 “712

opening and closing windows, 351 “354

overview of, 903

pop-up windows, 670 “671

prompt( ) method, 350 “351

properties, 371, 904 “906

resizing windows, 363

same-origin policy and, 681

Screen object as child of, 544

scrolling windows, 364 “366

setting window location, 366

status bar properties, 367 “368

timeout and interval methods, 368 “370

user interaction with, 32

window. open parameters, 354 “358

writing to windows, 358 “360

window.frames[ ]. See frames

Wireless Markup Language (WML), 603

with statements

Math objects and, 182 “183

overview of, 108 “109

referencing object properties, 141 “142

syntax, 745

WML (Wireless Markup Language), 603

write( ) method, Document object, 42, 61, 358 “359, 362, 389 “390

writeln ( ) method, Document object, 42, 389 “390

writePage( ) method, 720 “721

Категории