Learn Javascript.pdf

(17524 KB) Pobierz
714652051 UNPDF
714652051.002.png
Learn JavaScript
Chuck Easttom
Wordware Publishing, Inc.
714652051.003.png
Library of Congress Cataloging-in-Publication Data
Easttom, Chuck.
Learn JavaScript / by Chuck Easttom.
p. cm.
Includes index.
ISBN 1-55622-856-2 (pbk.)
1. JavaScript (Computer program language). I. Title.
QA76.73.J39 E38
2001
005.2'762--dc21
2001046844
CIP
© 2002, Wordware Publishing, Inc.
All Rights Reserved
2320 Los Rios Boulevard
Plano, Texas 75074
No part of this book may be reproduced in any form or by
any means without permission in writing from
Wordware Publishing, Inc.
Printed in the United States of America
ISBN 1-55622-856-2
10987654321
0110
Product names mentioned are used for identification purposes only and may be trademarks of their respective
companies.
All inquiries for volume purchases of this book should be addressed to Wordware Publishing, Inc., at the
above address. Telephone inquiries may be made by calling:
(972) 423-0090
714652051.004.png
Contents Summary
Chapter 1 HTML Primer ...............................1
Chapter 2 JavaScript Primer ............................13
Chapter 3 Alerts, Prompts, and User Feedback ..................33
Chapter 4 Image Effects ..............................43
Chapter 5 Background Effects ...........................59
Chapter 6 The Document Object Model ......................75
Chapter 7 Working with Date and Time ......................87
Chapter 8 Working with Cookies .........................97
Chapter 9 Working with the Status Bar ......................111
Chapter 10 Creating Dynamic Menus .......................121
Chapter 11 Working with Forms ..........................135
Chapter 12 Strings in JavaScript ..........................149
Chapter 13 Math in JavaScript ..........................157
Chapter 14 Adding Plug-ins ............................169
Chapter 15 Objects in JavaScript .........................181
Chapter 16 Tips and Tricks ............................187
Chapter 17 JavaScript Games ...........................197
Chapter 18 ActiveX and JavaScript ........................209
Chapter 19 Programming and JavaScript .....................217
Chapter 20 Antique Bookstore Project .......................223
Appendix A Online Resources ...........................235
iii
714652051.005.png
iv
Contents Summary
Appendix B HTML Reference............................239
Appendix C JavaScript Reference .........................243
Appendix D Common Errors ............................249
Index .................................251
714652051.001.png
Zgłoś jeśli naruszono regulamin