Javascript in an Instant (Visual Read Less, Learn More)

Javascript in an Instant (Visual Read Less, Learn More)

  • ただいまウェブストアではご注文を受け付けておりません。 ⇒古書を探す
  • 製本 Paperback:紙装版/ペーパーバック版/ページ数 251 p.
  • 言語 ENG
  • 商品コード 9780764536595
  • DDC分類 005.133

Full Description

Using the award-winning Visual learning system, this compact, value-priced guide shows visual learners how to get up and running on the core tasks in JavaScript - which you'll use over and over again. Concise, step-by-step instructions and consistent placement of elements make fast learning of essential JavaScript tasks. This book uses the largest high-resolution screen shots of any book in the Visual series. It covers the most popular features of JavaScript including assigning values to variables, declaring functions, creating instances, working with frames, and using buttons.


1. Introducing JavaScript. Enter JavaScript Statements in the URL Field. Embed JavaScript within an HTML Document. Link to an External JavaScript File. Present Content to Non--JavaScript Browsers. Add Comments to JavaScript. 2. Using Variables and Arrays. Declare Variables. Assign Values to Variables. Using Integers. Using Floating--Point Numbers. Using Boolean Values. Using Strings. Determine Variable Type. Convert Strings to Numbers. Convert Numbers to Strings. Declare an Array. Determine the Number of Elements in an Array. Convert an Array into a String. Sort an Array. 3. Creating Expressions. Using Arithmetic Operators. Increment and Decrement Variables. Create Comparison Expressions. Create Logical Expressions. Using Conditional Operators. Understand Precedence. Evaluate String Expressions. Identify Numbers. 4. Controlling Program Flow. Using if--else Statements. Using for Loops. Using while Loops. Break Loops. Continue Loops. Using JavaScript Timers. Set Regularly Timed Intervals. Clear Timeouts and Intervals. 5. Working with Functions. Declare a Function. Call a Function. Pass Parameters to a Function. Return Values from a Function. Call a Function from an HTML Link. 6. Handling Events. Detect a Mouse Click. Detect a Double--Click. Create Rollover Objects. Detect a Key Press. Set Focus. Detect a Pull--Down Menu Selection. Create Page Loading and Unloading Messages. 7. Using Objects. Understand Objects, Properties, and Methods. Using Web Page Element Objects. Using Subobjects. Using Predefined Objects. Create New Objects. Refer to the Current Object. View Object Properties. Using the Array Object. Using the image Object. Preload Images. Change Images. Using the link and anchor Objects. Change Links. Using the history Object. 8. Working with Windows. Using the window and document Objects. Display Text on a Browser's Status Bar. Change Background Colors. Change Text and Link Colors. Change the Document Title. Display the Modification Date. View the URL of the Current Document. View the Referring Page. Open a New Browser Window. Close a Remote Window. Print a Window. Move a Window. Resize a Window. Inform the User with an Alert Dialog Box. Accept Input with a Prompt Dialog Box. Enable User Decisions with a Confirm Dialog Box. 9. Working with Strings. Using the string Object. Work with Substrings. Concatenate Strings. Format String Variables. Build Anchors and Links. Determine String Length. Change Case. Search within a String. Locate Characters in a String. Replace Text in a String. Split a String. 10. Working with Dates and Times. Using the date Object. Display the Time and Date. Get Date and Time Values. Set Date and Time Values. Work with Time. Work with Time Zones. 11. Using the Math Object. Using the Math Object. Generate Random Numbers. Using Mathematical Constants. Using Trigonometric Functions. Using Logarithmic and Exponential Methods. Using the Square Root Method. Round Numbers. Raise Numbers to a Power. Find Minimum and Maximum Values. Using Absolute Values. 12. Working with Forms. Using Text Boxes. Work with Password Boxes. Work with Hidden Fields. Work with Textarea Boxes. Using Buttons. Using a Reset Button. Using a Submit Button. Using Check Box Buttons. Using Radio Buttons. Work with Selection Lists. Work with Separate Selection List Items. Work with a Multiple--Selection List. Disable Form Elements. Work with Forms. Validate Forms. Control Form Focus. Using Focus Events. 13. Working with Frames. Work with the frame Object. Access Frames by Name. Find the Number of Frames. Reference the Current Frame. Reference across Frames. Write to a Separate Frame. Detect Frame Resizing. Set the Target Frame. Print a Frame. 14. Determining Environment Properties. Using the navigator Object. Detect a User's Browser. Detect the Browser's Version. Detect a User's Operating System. Understand a User Agent. Determine Whether Java Is Enabled. Determine the Code Name. Using the location Object. Set and Read Cookies. Encode Characters. 15. Debugging JavaScript. Detect JavaScript Errors. Debug with Comments. Output Values to Text Boxes. Common JavaScript Errors.