Product Information
If you are looking to add exciting interactivity to Web pages and need a quick and easy understanding of the technology in order to do so, then this book is for you-whether you're new to JavaScript or you need a refresher on every-thing from validating user input forms to creating menu trees. Open the book and you'll discover clear, easy-to-follow instructions for more than 250 key JavaScript tasks, each presented in ten quick steps-or less. Easy-to-navigate pages, lots of screen shots, and to-the-point directions guide you through every common (and not so common) JavaScript challenge-and help you get more done in less time. * Each solution is ten steps-or less-to help you get the job done fast * Self-contained two-page spreads deliver the answers you need-without flipping pages * A no-fluff approach focuses on helping you achieve results * A resource packed with useful and fun ways to get the most out of JavaScript * Make it simple and get productive fast!- download ready-to-use source code for each task from the book's companion Web siteProduct Identifiers
PublisherWiley & Sons, Incorporated, John
ISBN-100764542419
ISBN-139780764542411
eBay Product ID (ePID)5930821
Product Key Features
Number of Pages648 Pages
LanguageEnglish
Publication NameJavascript in 10 Simple Steps or less
Publication Year2003
SubjectProgramming Languages / Javascript
TypeTextbook
Subject AreaComputers
AuthorArman Danesh
Dimensions
Item Height1.4 in
Item Weight32.4 Oz
Item Length9.2 in
Item Width7.5 in
Additional Product Features
LCCN2003-114066
Dewey Edition22
IllustratedYes
Dewey Decimal005.133
Intended AudienceTrade
Lc Classification NumberQa76.73.J39
Table of ContentCredits. About the Author. Acknowledgments. Introduction. Part 1: JavaScript Basics. Task 1: Creating a scriptBlock. Task 2: Hiding Your JavaScript Code. Task 3: Providing Alternatives to Your JavaScript Code. Task 4: Including Outside Source Code. Task 5: Commenting Your Scripts. Task 6: Writing a JavaScript Command. Task 7: Temporarily Removing a Command from a Script. Task 8: Using Curly Brackets. Task 9: Writing Output to the Browser. Task 10: Creating a Variable. Task 11: Outputting a Variable. Task 12: Creating a String. Task 13: Creating a Numeric Variable. Task 14: Performing Math. Task 15: Concatenating Strings. Task 16: Searching for Text in Strings. Task 17: Replacing Text in Strings. Task 18: Formatting Strings. Task 19: Applying Multiple Formatting Functions to a String. Task 20: Creating Arrays. Task 21: Populating an Array. Task 22: Sorting an Array. Task 23: Splitting a String at a Delimiter. Task 24: Calling Functions. Task 25: Alerting the User. Task 26: Confirming with the User. Task 27: Creating Your Own Functions. Task 28: Passing an Argument to Your Functions. Task 29: Returning Values from Your Functions. Task 30: Passing Multiple Parameters to Your Functions. Task 31: Calling Functions from Tags. Task 32: Calling Your JavaScript Code after the Page Has Loaded. Task 33: Using forLoops. Task 34: Testing Conditions with if. Task 35: Using Short-Form Condition Testing. Task 36: Looping on a Condition. Task 37: Looping through an Array. Task 38: Scheduling a Function for Future Execution. Task 39: Scheduling a Function for Recurring Execution. Task 40: Canceling a Scheduled Function. Task 41: Adding Multiple Scripts to a Page. Task 42: Calling Your JavaScript Code after the Page Has Loaded. Task 43: Check If Java Is Enabled with JavaScript. Part 2: Outputting to the Browser. Task 44: Accessing the documentObject. Task 45: Outputting Dynamic HTML. Task 46: Including New Lines in Output. Task 47: Outputting the Date to the Browser. Task 48: Outputting the Date and Time in a Selected Time Zone. Task 49: Controlling the Format of Date Output. Task 50: Customizing Output by the Time of Day. Task 51: Generating a Monthly Calendar. Task 52: Customizing Output Using URL Variables. Task 53: Dynamically Generating a Menu. Task 54: Replacing the Browser Document with a New Document. Task 55: Redirecting the User to a New Page. Task 56: Creating a "Page Loading ..." Placeholder. Part 3: Images and Rollovers. Task 57: Accessing an HTML-Embedded Image in JavaScript. Task 58: Loading an Image Using JavaScript. Task 59: Detecting MouseOver Events on Images. Task 60: Detecting Click Events on Images. Task 61: Switching an Image Programatically. Task 62: Using Multiple Rollovers in One Page. Task 63: Displaying a Random Image. Task 64: Displaying Multiple Random Images. Task 65: Using a Function to Create a Rollover. Task 66: Using a Function to Trigger a Rollover. Task 67: Using Functions to Create Multiple Rollovers in One Page. Task 68: Creating a Simple Rollover Menu System. Task 69: Creating a Slide Show in JavaScript. Task 70: Randomizing Your Slide Show. Task 71: Triggering Slide Show Transitions from Links. Task 72: Including Captions in a Slide Show. Task 73: Testing If an Image Is Loaded. Task 74: Triggering a Rollover in a Different Location with a Link. Task 75: Using Image Maps and Rollovers Together. Task 76: Gene