Team LiB
Previous Section Next Section

Index

S

<S> object, 209-210
<SAMP> object, 204-205
saveCustoms() function, 502-505
saveForm() function, 137, 321-323
saving
color, 502-505
forms, 137
scope
functions, 115
variables, 21-23
scores, tests. See grading
Screen object, 159, 304-308
screens
color, 308-310
resolution, 304-308
size, 304-308
<SCRIPT> object, 4-6, 298-299, 340-341
scripts
embedding, 4-6
hiding, 298-299
signing
Netscape Signing Tool, 338-340
privileges, 341-343
security, 338-341
search() function, 98
security
ARCHIVE attribute, 340-341
clients, 311
code, 533-540
cookies, 311, 326
forms, 311
functionality, 371-373, 518-519
JAR files, 340-341
overview, 337, 455-456
passwords
checking, 456-457
context menus, 461-464
cookies, 473-476
hiding, 458-461
mouse events, 461-464
successful, 464-476
scripts
Netscape Signing Tool, 338-340
privileges, 341-343
signing, 338-341
Web sites, 464-476
select boxes (forms), 246-255, 260-262
insertOptions() function, 133-136
sortSelect() function, 128-136, 251-252
swapSelects() function, 129-133, 250-251
value, 255
<SELECT> object
event handlers, 221
functions, 221
properties, 220
selection statements, 7, 43-60
semicolons (;), code blocks, 14-15
sequential functions, 105
setCustoms() function, 330, 505-511
setDate() function, 414-415
setTimeout() function, 190-197, 480-485
shift() function, 84-85, 87
shipping address. See addresses
shopping cart
addresses, 452
code, 559-566
cookies
checkout, 448-452
commas, 439
creating, 438-442
deleting, 445-448
displaying, 443-448
for loops, 443-445, 451
functionality, 371, 525-528
if statements, 445-448
items
adding, 438-442
commas, 439
data storage, 439
deleting, 445-448
displaying, 443-448
purchasing, 448-452
totalling, 439
overview, 437-438
pointers, 438
validating, 452
show() function, 286-288
signing scripts
Netscape Signing Tool, 338-340
privileges, 341-343
security, 338-341
single-dimension arrays, 74-76
size
cookies, 334
pop-up calendars, 402-405
screens, 304-308
windows, 284-285
size() function, 144, 146-147
slice() function
arrays, 85
strings, 98
small() function, 98-99
<SMALL> object, 209-210
sort() function, 105-110
arrays, 85-87
strings, 125-128
sorting
select boxes, 128-136, 251-252
strings
binary, 105-110
functions, 125-128
sortSelect() function, 251-252
HTML select boxes, 129-136
strings, 128-129
spaces, 12-14
special data types, 17-19
split() function, 99
Stack() function, 148
stacks
arrays, 87
objects, 147-148
statements
assignment, 7
break, 52-53, 59, 69-70
continue, 69-70
control structures, 43
if (conditional), 44-50
shopping cart, 445-448
ternary operator, 40
if-else if, 44-50
iterative, defined, 7
repetition, 43, 60-70. See also loops
return, 59
selection, 7, 43-60
switch, 51-60
true/false
boolean data types, 16-17
Boolean object, 150
boolean operators, 28-29
logical operators, 29-30, 38-39
stores (online). See shopping cart
storing shopping cart data, 439
strike() function, 99-100
<STRIKE> object, 209-210
string() function, 114
strings
comparing, 124-125
concatenating, 40-41
declaring, 90
defined, 73
functions
anchor(), 93
big(), 94
blink(), 94
bold(), 94
charAt(), 94-95
charCodeAt(), 95
compareTo(), 124-125, 128-129
concat(), 95
escape(), 111
eval(), 112
fixed(), 95
fontcolor(), 96
fontsize(), 96
fromCharCode(), 96
indexOf(), 96-97
isNaN(), 112
italics(), 97
lastIndexOf(), 97
link(), 97-98
match(), 98
parseFloat(), 113
parseInt(), 113-114
replace(), 98
search(), 98
slice(), 98
small(), 98-99
sort(), 125-128
sortSelect(), 128-129
split(), 99
strike(), 99-100
string(), 114
sub(), 100
substr(), 100
substring(), 100
sup(), 101
toLowerCase(), 101
toUpperCase(), 101
Java applets, 90
length, 93
literals, 73, 90-93
new operator, 90
numbers, converting, 20
objects, 90-93
overview, 16-17
properties, 93
prototype, 93
rotating ads, 478-480
quotes, 73
sorting
binary, 105-110
functions, 125-128
<STRONG> object, 204-205
structures, control, 43
sub() function, 100
submitting, 259-260, 428-434
substr() function, 100
substring() function, 100
suffixes
calendar dates, 56-59
numbers (functions), 121-122
sup() function, 101
surveys
functionality, 367-371, 522-524
overview, 421-422
processing, 428-434, 551-557
timers, 428
validating, 426-427
Web browsers, 428
swapping, select boxes, 129-133, 250-251
swapSelects() function, 129-133, 250-251
switch statements, 51-60

Team LiB
Previous Section Next Section