Available NOW
Many Web surfers have high expectations for Web pages -- they expect to see rollovers, forms, and other
types of interactivity. By learning the basics of JavaScript, you can take your first step into the world of interactive Web sites.
The Web Wizard's Guide to JavaScript will show your students how to create scripts, modify scripts, and more. From creating rollovers to setting up cookies, this book will help you create well-designed, user-friendly Web sites.
Features:
- Teaches the skills and techniques needed for interactive web authoring.
- Develops good programming habits that you will apply for years to come.
- Clearly explains the relationship between JavaScript and the objects
created by the web browser.
- Teaches how to create modular code by storing frequently used scripts in
code libraries.
- Provides dozens of scripting examples tested on all major browsers and
platforms.
Back to top
Chapter 1: JavaScript Basics
- What is JavaScript?
- Why might you wish to learn JavaScript?
- A little history
- Fundamental concepts of JavaScript
Chapter 2: How to Enhance Web Pages with JavaScript
- Sequence-one thing after another
- Looping - repeating a sequence
- Conditional branching scripts
- Placing scripts in HTML pages
- Placing scripts in special script libraries
- The obligatory "Hello World!"
- Creating a page to create other pages
- Using HTMLBuilder to create your HTML shells
Chapter 3: Image Swapping
- Images and browser's memory
- Assigning image files to the SRC property
- Rollovers and the SRC property
- Accommodating older browsers
- Using image swapping for navigation bars
- Special issues with frames
- Enhancing a navigation bar
Chapter 4: Forms and Form Elements
- What is an HTML form?
- Inputs and text areas
- Selection menus
- Radio buttons
- Check boxes
- Buttons
- Form validation techniques
Chapter 5: More Image Swapping
- Slide shows
- Animated banner advertisements
Chapter 6: Working with Dates and Times
- The date object
- A basic JavaScript clock
- Making decisions based on the time
- Making decisions based on the date
Chapter 7: Cookies -- Maintaining State
- What are cookies?
- How to set a cookie
- How to get a cookie
- How to delete a cookie
- Common uses for cookies
Chapter 8: Useful Web Programming Techniques
- Client-side image mapping and JavaScript
- Detecting plugins
- Detecting browsers and platforms
- Using code libraries for efficient development
- Changing the text in the status bar
- Creating scrolling text
- Debugging tips
Chapter 9: Working with Frames and Windows
- How to keep a page in its frameset
- How to create a popup window to display Web pages
- Changing the content of one window from another
- Using code libraries for efficient development
- Writing the content of frames dynamically
Chapter 10: What's Next?
- More ideas for JavaScript-enhanced pages
- Where to learn more
- Dynamic HTML
- Flash and ActionScript
- Director and Lingo
Back to top
To order The Web Wizard's Guide to JavaScript, ask your bookstore for ISBN 0-201-75833-4.
Back to top
© Copyright 2002 AW Higher Education Group, a division of Pearson Education, a Pearson plc company. All rights reserved. Legal disclaimer. E-mail webmaster@awl.com
|