JavaScript Editor JavaScript Validator     JavaScript Editor 



Team LiB
Previous Section Next Section

Index

S

school.xml file, 854
scope, variable, 97, 366, 713
screen
display capability of client screen, returning, 163
resolution, 451, 453
screen object
availHeight property, 942
availWidth property, 942
colorDepth property, 163, 164–165, 942
described, 941
height property, 163, 268, 942
width property, 163, 268, 942
window object property, as, 160
screen property (window object), 160
screenX property (event object), 471, 554, 931
screenY property (event object), 471, 554, 931
script block, 6
Script Debugger. See Microsoft Script Debugger
script HTML tag
browser support, 6
closing, 8
computer language, identifying in, 6
header, placing in, 6
language attribute, 6
purpose of, 5–6, 7
server-side usage, 668
src attribute, 150
type attribute, 6
scripting, client-side, 650, 669
scripting language, 3–4
scripting, remote, 401
scripting, server-side. See also ASP (Active Server Pages)
advertisement, updating using, 669–671
BOM object, using in, 669
browser detection, 690–696, 704
client-side scripting compared, 650, 669
content, separating from logic, 709
cookie, working with, 689
event handling, 710–711, 712, 713, 714, 715
form, submitting, 868–869
if statement, using in, 671–673
image, updating using, 669–671
introduced, 649–650
JavaScript-based, 650
language, declaring, 669
looping, 671–673
request handling
browser detection, 690–696, 704
client system data, retrieving, 673, 690–696
cookie data, 689
form checkbox data, 678, 682
form data sent via get method, 685
form data sent via post method, 674, 685
form select element data, 677–678
form text data, 674–677, 678, 682–685
HTTP role in, 674
object model, 673–674
operating system, detecting, 694
radio button data, 677–678, 682
URL, data passed in, 685–689
web page request, 650, 673, 674
server directive, 668
session tracking, 710–712
Trivia Quiz application, 713–718
web page
inserting script in, 668–669, 696–698
request, 650, 673, 674
variable content, writing to, 668
web server requirement, 650
script.js file, 709
scroll method (window object), 947
scrollBy method (window object), 947
scrolling_status.htm file, 354
scrollMessage function, 356
scrollTo method (window object), 947
scrollWidth property (window object), 355
search
property
Link object, 936
location object, 937
String object method, 296, 318, 920
secondBooking variable, 148
secondCall function, 388
secondDate variable, 227
secondNumber variable, 798, 799
secretNumber variable, 82–83
SecureHome.asp file, 701, 703
security
browser, 270–271
cookie, 419, 426, 427, 438–439
database, 753, 761, 764–766
IIS, 761
security.mdb file, 870, 873
securityPolicy property (document object), 175
Select
HTML tag, 215–216, 224
method
FileUpload object, 932
Password object, 939
Text object, 198
Textarea object, 945
object
blur method, 943
element event, 221–228
focus method, 943
form property, 942
length property, 942
name property, 942
onblur event, 942
onchange event, 224, 942
onfocus event, 942
Option object, relation to, 216
options property, 216, 220–221, 942
selectedIndex property, 216, 227, 817, 942
type property, 942
SQL statement, 739–743
selected property (Option object), 939
selectedCity variable, 344
selectedIndex property (Select object), 216, 227, 817
selectValue variable, 678
self property (window object), 257, 946
semicolon (;)
cookie string element separator, 425, 433
CSS property suffix, 605
for statement element separator, 85
HTML style attribute separator, 447
JavaScript statement suffix, 7
SQL statement suffix, 741
server. See also specific server type
ASP, installing on, 651
directive, 668
domain name, returning, 930
variable, 690
web page, loading from local server in IIS, 659
Server object
CreateObject method, 704, 707, 746, 752
Transfer method, 699
server-side include. See SSI
server-side processing, 650
server-side scripting. See scripting, server-side
ServerVariables property (Request object), 690
session
ASP, tracking in, 710–712
cookie
limiting cookie lifespan to, 425
tracking session using, 710, 712
introduced, 425
object, 710–711, 712, 715
SessionID property (Session object), 710
Session_OnEnd event, 710–711
Session_OnStart event, 710–711, 712, 715
set method (CustomerBooking class), 147–148
setAttribute method (Element object), 549–550, 552
setCookie function, 429–431, 437, 438, 439
setDate method (Date object), 140, 141, 904
setFrameAndPageControls function, 255–256
setFullYear method (Date object), 140, 904
setHours method (Date object), 144, 904
sethtml function, 468
setInterval method (window object), 352, 353, 360, 459, 947
setMilliseconds method (Date object), 144, 904
setMinutes method (Date object), 144, 904
setMonth method (Date object), 140, 141, 225, 904
setSeconds method (Date object), 144, 904
SetSource method (RealPlayer), 643, 858
setTime method (Date object), 905
setTimeout method (window object), 347–348, 351, 947
settimetest.htm file, 339
setup.exe file (IIS), 653
setUTCDate method (Date object), 339, 905
setUTCFullYear method (Date object), 339, 905
setUTCHours method (Date object), 339, 905
setUTCMilliseconds method (Date object), 339, 905
setUTCMinutes method (Date object), 339, 905
setUTCMonth method (Date object), 339, 905
setUTCSeconds method (Date object), 339, 905
setYear method (Date object), 905
SGML (Standard Generalized Markup Language), 522, 525
shift method (Array object), 901
shiftKey property (event object), 554
shockWavePlugin variable, 631
ShoppingBasket.htm file, 824
Show Table window (Access), 736, 737
showBasket function, 823–824
showDate property (CustomerBooking class), 148
showDescription function, 844
showMenu function, 475–476, 479, 577
showNNMenu function, 505–506
sidebar property (window object), 176
SimpleForm.htm file, 675, 676
sin method (Math object), 911
sine, returning, 911
size attribute
font tag, 446
input tag, 198, 201
select tag, 215–216, 224
slash (/)
regular expression delimiter, 297
XML element suffix, 592
slash, backward (\)
escape character/sequence, 21
regular expression special character, 322, 916
slashes (//) comment prefix, 11
slice method
Array object, 132, 901
String object, 920
small method (String object), 920
sort method (Array object), 133–134, 804–805, 901
sound
image rollover, playing sound on, 647, 856–858
RealPlayer control button set, adding to page, 641–642
source property (RegExp object), 915
spaces variable, 355
span HTML tag, 463
splice method (Array object), 901
split method (String object), 292–295, 312–314, 920
splitAndReverseText function, 294
SQL (Structured Query Language). See also database
case sensitivity, 739
coding using Access, 740–741
Connection object, executing using, 747, 753, 761, 768
delete statement, 745
IN operator, 745–746
insert statement, 744
Max function, 769
NOT IN operator, 745–746
select statement, 739–743
syntax, 740–741
update statement, 743–744
sqrt method (Math object), 911
SQRT1_2 property (Math object), 910
SQRT2 property (Math object), 910
square root, returning, 911
src
attribute
embed tag, 628, 637
frame tag, 238
img tag, 167, 351
script tag, 150
IMG object property, 166–167, 173, 811, 935
srcElement
event object property, 472, 479, 481, 569, 577
variable, 479
SSI (server-side include), 708–710, 790–791
Standard Generalized Markup Language. See SGML
startChar variable, 354, 357
startTimer function, 779, 781, 847
statement, 7
statistics on site usage, checking, 658
status bar
displaying/hiding, 263
message default, changing, 160–161, 946
message text, scrolling, 353–357
status property (window object), 360, 946
Stock table, 725, 731–733
StockId field, 733
stopPropagation method (event object), 932
stopTimer function, 779, 781
Strictly Equal operator, 889
strike method (String object), 920
string. See text
String
function, 899
object
anchor method, 918, 926
big method, 918
blink method, 918
bold method, 919
charAt method, 112–113, 919
charCodeAt method, 112–113, 115, 919
concat method, 919
constructor property, 918
fixed method, 919
fontcolor method, 919
fontsize method, 919
fromCharCode method, 117, 283, 919
indexOf method, 117–120, 432, 919
italics method, 919
lastIndexOf method, 117–120, 806, 919
length property, 110–111, 112, 918
link method, 919
match method, 296–297, 318–319, 919
prototype property, 918
replace method, 296, 298–299, 314–318, 826–827, 919
search method, 296, 318, 920
slice method, 920
small method, 920
source code, returning, 920
split method, 292–295, 312–314, 920
strike method, 920
sub method, 920
substr method, 120–121, 920
substring method, 120–121, 182, 225, 245, 357
sup method, 920
toLowerCase method, 80, 122, 920
toSource method, 920
toString method, 920
toUpperCase method, 80, 122, 367, 920
valueOf method, 920
String object, 110–112
Structured Query Language. See SQL
style
Div object property, 517, 848
HTML tag
color attribute, 448
CSS class, creating within, 448–449
font-family attribute, 448
font-size attribute, 448, 449
header, placement in, 447
position attribute, 450–452
syntax, 447
z-index attribute, 478
object
browser support, 538–539
color property, 455–456, 457
DHTML coding for, 454–457
DOM, coverage by, 538–539
top property, 458
style sheet
CSS
AREA object, 604
BLOCK object, 604
browser override, 448
browser support, 454
class, 448–449
described, 450
Display property, 604
FLOW object, 604
PAGE object, 604
property, 604–605
style tag, creating CSS class within, 448–449
XML, using with, 603–608, 612–613
DHTML
coding style object, 454–457
introduced, 446
menu, applying to, 478–479, 480–481
HTML
attributes, assigning multiple, 447
class, 448
div tag as style container, 450
element, positioning using, 450–454
font, formatting using, 448, 449
paragraph, formatting using, 447, 448, 449
style tag, applying using, 447–449
table cell, formatting using, 447, 448
XSLT, 609–613
Submit
Form object method, 190, 202, 933
object, 198, 943
substr method (String object), 120–121, 920
substring method (String object), 120–121, 182, 225, 245, 357
subtraction (arithmetic), 36, 39, 887, 889
sun object, 921
sup method (String object), 920
.swf files, 628
switch statement, 80–84, 116, 893, 895
switchDirection variable, 460
switchImage function, 351
System language property (navigator object), 938

Team LiB
Previous Section Next Section


JavaScript Editor JavaScript Validator     JavaScript Editor


©