JavaScript for the World Wide Web (Visual QuickStart Guide)

JavaScript for the World Wide Web (Visual QuickStart Guide)

by Jeremy Schneider

Paperback

$15.17 $17.95 Save 15% Current price is $15.17, Original price is $17.95. You Save 15%.

Product Details

ISBN-13: 9780201688146
Publisher: Peachpit Press
Publication date: 01/01/1997
Series: Visual QuickStart Guide Series
Pages: 192
Product dimensions: 7.00(w) x 8.97(h) x 0.39(d)

Table of Contents

Introduction 1(1)
JavaScript and Java 2(1)
A scripting language 3(1)
Client-side processing 4(1)
Viewing a JavaScript script 5(1)
Browsers and their versions 6(1)
Chapter 1 JavaScript Basics
7(18)
Inserting your script in HTML
8(1)
Putting your script in a separate file
9(1)
Including non-JavaScript content
10(1)
Writing text and HTML from a script
11(1)
Writing Performatted text
12(1)
Inserting comments in a script
13(1)
Displaying an alert message
14(1)
Displaying a confirm dialog box
15(1)
Displaying a prompt dialog box
16(1)
What are variables?
17(1)
Types of values
18(1)
Storing text as strings
19(1)
Storing values as Booleans
20(1)
Storing numbers
21(1)
Arithmetic operators
22(1)
Combining strings of text
23(1)
Modifying variables
24(1)
Chapter 2 Objects and Events
25(10)
Object orientation
26(1)
The object hierarchy
27(1)
The browser hierarchy
28(2)
Addressing a form in JavaScript
30(1)
Events and event handlers
31(1)
Responding to events
32(1)
Shortening addresses with THIS
33(1)
Creating your own objects
34(1)
Chapter 3 Functions
35(12)
Defining a function
36(1)
Calling a function
37(1)
Giving information to a function
38(1)
Variable scope
39(1)
Using a value from a function
40(1)
Resetting event handlers
41(1)
Triggering functions with links
42(1)
Assigning code to an HTML attribute
43(1)
Creating a new function
44(1)
Determining what triggered a function
45(1)
Using extra arguments
46(1)
Chapter 4 Working with Forms
47(18)
Responding to a button click
48(1)
Determining if a radio button is checked
49(1)
Selecting a radio button
50(1)
Determining if checkboxes are selected
51(1)
Changing the text in a text field
52(1)
Displaying information in a text field
53(1)
Using a selected menu item
54(1)
Changing the text of a menu item
55(1)
Changing which menu item is selected
56(1)
Adding a new menu item
57(1)
Passing information between forms
58(1)
Asking the user to confirm a reset
59(1)
JavaScript and CGI
60(1)
Triggering a form submission
61(1)
Validating a form
62(1)
Determining if a file is chosen to upload
63(1)
Determining an input type
64(1)
Chapter 5 Loops and Conditionals
65(16)
What are conditionals?
66(1)
Making a simple decision
67(1)
Comparing values
68(1)
Testing multiple conditions
69(1)
Introducing alternative code
70(1)
Using multiple alternatives
71(1)
Using shorthand conditionals
72(1)
Repeating code with a loop
73(1)
Counting with a for loop
74(1)
Working with properties of an object
75(1)
Avoiding infinite loops
76(1)
Testing several form elements
77(1)
Stopping a loop
78(1)
Making exceptions in a loop
79(1)
Shortening addresses
80(1)
Chapter 6 Strings and Numbers
81(16)
Converting strings to numbers
82(1)
Converting strings to integers
83(1)
Converting numbers to strings
84(1)
Determining the type of a variable
85(1)
Determining individual letters of text
86(1)
Formatting text for display
87(1)
Searching a string
88(1)
Splitting a string
89(1)
Validating a numerical entry
90(1)
Generating a random number
91(1)
Using a mathematical constant
92(1)
Performing mathematical operations
93(1)
Rounding numbers
94(1)
Dertermining the largest number
95(1)
Using randomly selected images
96(1)
Chapter 7 Within the Window
97(14)
Reacting to page loading
98(1)
Suppressing error messages
99(1)
Scrolling the user's window
100(1)
Displaying a message in the status bar
101(1)
Inserting a pause
102(1)
Displaying a scrolling status message
103(1)
Changing the colors of a page
104(1)
Dertermining the previous URL
105(1)
Testing the numbers of anchors
106(1)
Confirming a link
107(1)
Responding to mouse movement
108(1)
Changing a link's reference
109(1)
Providing help for the user
110(1)
Chapter 8 Images and Image Maps
111(18)
Dertermining image attributes
112(1)
Reacting to image loading
113(1)
Reacting to a completed image load
114(1)
Responding to an image abort
115(1)
Changing an image
116(1)
Triggering an image change with an event
117(1)
Creating interactive buttons
118(1)
Creating a JavaScript animation
119(1)
Reacting to movement over an image map
120(1)
Creating an interactive image map
121(1)
Changing the links of an image map
122(1)
Chapter 9 Dates and Arrays
129(8)
Displaying the current date
124(1)
Working with part of a date
125(1)
Storing a specific date
126(1)
Changing part of a date
127(1)
Converting to the user's time zone
128(1)
Creating a clock
129(1)
Generating a random numbers
130(1)
Creating an array
131(1)
Creating an array in Navigator 2.0
132(1)
Reversing the order of array entries
133(1)
Joining array entries
134(1)
Sorting entries alphabetically
135(1)
Sorting entries numerically
136(1)
Chapter 10 Frames and Windows
137(10)
Opening a new window
138(1)
Closing a window
139(1)
Creating a floating navigation bar
140(1)
Bringing a window to the front
141(1)
Referring to frames
142(1)
Referring to nested frames
143(1)
Writing to a window
144(1)
Storing information across pages
145(1)
Creating a visual history bar
146(1)
Chapter 11 User Information
147(16)
Counting the number of sites visited
148(1)
Changing the URL of a window
149(1)
Moving the window to a prior URL
150(1)
Reloading the current page
151(1)
Replacing the current page
152(1)
Determining the browser name
153(1)
Running a script only on Navigator 3.0
154(1)
Determining if a MME type is supported
155(1)
Determining the browser's plug-ins
156(1)
What are cookies?
157(1)
Storing a cookie
158(1)
Retrieving a cookie
159(1)
Encoding punctuation in a cookie
160(1)
Storing user input in multiple cookies
161(1)
Deleting a cookie
162(1)
Chapter 12 Java and JavaScript
163(6)
Determining if Java is enabled
164(1)
Using LiveConnect
165(1)
Using a Java method
166(1)
Accessing a Java applet
167(1)
Controlling a plug-in
168(1)
Appendix A Object Heirarchy 169(4)
Appendix B Navigator 3.0 173(2)
Appendix C Internet Explorer 175(2)
Index 177

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews