Cover image for Learn JavaScript In a Weekend.
Learn JavaScript In a Weekend.
Title:
Learn JavaScript In a Weekend.
Author:
Ford, Jerry Lee.
ISBN:
9781592004492
Personal Author:
Edition:
2nd ed.
Physical Description:
1 online resource (471 pages)
Contents:
Title -- Copyright -- Dedication -- Acknowledgments -- About the Author -- Contents -- Introduction -- What This Book Is About -- Who Should Read This Book? -- What You Need to Begin -- How This Book Is Organized -- Special Features of This Book -- FRIDAY EVENING Introducing JavaScript and JScript -- Introducing JavaScript and JScript -- What Kinds of Things Can You Do with JavaScript and JScript? -- A Little History Lesson -- JavaScript and Browser Compatibility -- Integrating JavaScript with HTML -- Your First JavaScript-"Hello World" -- Testing Your First Script -- JavaScript and Case Sensitivity -- Different Ways to Integrate JavaScript into Your HTML Pages -- Placing JavaScripts in the Body Section of the HTML page -- Placing JavaScripts in the Head Section of the HTML page -- Referencing JavaScript in an External .js File -- Placing JavaScript in an HTML Tag -- Taking a Break -- Introducing JScript -- Introducing the Windows Script Host -- What Operating Systems Are Compatible with the WSH? -- A Brief Overview of the WSH Architecture -- Writing Your First JScript -- Getting Comfortable with the Windows Command Prompt -- Setting up WSH Execution Hosts -- Configuring Command-Line Execution -- Configuring WScript Desktop Execution -- Configuring Individual Script Execution -- What's Next? -- SATURDAY MORNING Learning the Basics of JavaScript Coding -- A Few Words about Scripting -- Getting Comfortable with Statement Syntax -- Hiding JavaScript Statements -- Working with Values -- Declaring Variables -- Working with Variables -- Rules for Variable Names -- Defining Variable Scope -- Local Variables -- Global Variables -- Manipulating Variables -- Assigning Values -- Comparing Values -- Writing Text with Strings -- String Properties -- String Methods -- String Concatenation -- The Math Object -- Take a Break -- JavaScript and JScript Statements.

Using Conditional Statements to Alter Script Flow -- The if Statement -- The switch Statement -- Adding Comments for Clarity -- Declaring and Assigning Data to Variables -- Optimizing Code with Looping Logic -- The for Statement -- The while Statement -- The do...while Statement -- The label Statement -- The break Statement -- The continue Statement -- Manipulating Objects -- The for…in Statement -- The with Statement -- Streamlining Your Scripts with Functions -- Defining a Function -- Calling Functions -- Using Arrays -- Defining an Array -- Processing Arrays with for Loops -- Dense Arrays -- Sorting Arrays -- Populating Arrays with Dynamic Data -- Object-Based Programming -- Creating Custom Objects -- Working with Built-In Objects -- The Array Object -- The Boolean Object -- The Date Object -- The Function Object -- The Math Object -- The Number Object -- The Object Object -- The String Object -- What's Next? -- SATURDAY AFTERNOON Using JavaScript to Build Better Web Pages -- Working with Browser-Based Objects -- A Browser View of Objects -- A Brief Overview of Browser Object Models -- Supporting Older Browser Object Models -- Working with the Document Object Model -- Browser Objects -- The window Object -- The document Object -- The form Object -- The location Object -- The history Object -- The navigator Object -- Creating Custom Objects -- Creating Objects with an Object Initializer -- Deleting Your Object -- Expanding Object Definitions -- Handling Events -- Defining Events -- The event Object -- Types of Events -- Window and Frame Events -- Mouse Events -- Keyboard Events -- Error Events -- Using the onClick Event as a Decision Point -- Take a Break -- Using JavaScript to Manage Frames -- A Typical Frames Example -- Creating Frame Content Using JavaScript -- Controlling Frames with JavaScript -- Controlling More than One Frame at a Time.

Displaying Other Web Sites Using Frames -- Frames-No Thank You -- Using JavaScript to Manage Forms -- The form Object -- Form Properties and Methods -- Form Events -- Other form Related Methods -- Form Validation -- What's Next? -- SATURDAY EVENING Doing Really Cool Things with Your Web Pages -- Controlling the Status Bar -- Posting a Message to the Status Bar -- Posting a Blinking Message to the Status Bar -- Scrolling a Message in the Status Bar -- Providing Link Descriptions in the Status Bar -- Improving Browser Navigation -- Creating Your Own URL Field -- Creating an Automatic Drop-Down Navigation Menu -- Creating a Drop-Down Menu with a Button Control -- Scrolling and Jumping -- Working with Rollovers -- Taking Advantage of Dialog Boxes -- Testing Pop-Up Dialog Boxes -- Adding a Welcome Message -- Using the Visitor's Name in a Message -- Take a Break -- Working with Different Types of Browsers -- Gathering Browser Information -- A Browser Redirection Example -- Other Neat Stuff -- Building a JavaScript Clock -- A Simple Password Script -- A Rotating Banner Example -- Basic Graphics and Animation -- The Blinking Eye -- The Background Changer -- The Picture Viewer -- What's Next? -- SUNDAY MORNING Advanced JavaScript Coding -- Baking JavaScript Cookies -- Understanding Cookie Syntax -- Creating a Cookie -- Viewing Your Cookie -- Debugging Your JavaScripts -- Load-Time Errors -- Runtime Errors -- Logic Errors -- Habits of Highly Effective Programmers -- Using Checkpoints -- Test Before You Write -- Trapping Errors with onError -- Internet Explorer Error Messages -- Working with the Netscape JavaScript Console -- Testing JavaScript Statements -- Take a Break -- Overview of the On-line Bookmall Web Site -- Crafting the Index Page -- The Featured Book -- Navigating the Bookmall -- Finishing the Bookmall -- Receiving Customer E-Mail -- What's Next?.

SUNDAY AFTERNOON Learning How to Use JScript and the WSH -- An Overview of the WSH Object Model -- WSH Object Properties -- Accessing WSH Object Properties -- WSH Object Methods -- Working with WSH Object Methods -- JScript Runtime Objects -- Runtime Object Properties -- Runtime Object Methods -- Take a Break -- Working with the Windows File System -- Opening and Closing Files -- Creating Report and Log Files -- Writing Output a Few Characters at a Time -- Writing Output a Line at a Time -- Formatting Output Files with Blank Lines -- Processing File Contents -- Skipping Lines when Processing Files -- Processing Formatted Data -- Processing the Contents of an Entire File -- Administering Files and Folders -- Working with the FileSystemObject Object -- Copying, Moving, and Deleting Files -- Creating, Copying, Moving, and Deleting Folders -- Working with the File Object -- Working with the Folder Object -- What's Next? -- SUNDAY EVENING Using JScript to Automate Windows Tasks -- Automating Windows Desktop Tasks -- Working with Shortcuts -- Scripting Shortcut Creation -- Setting up Shortcuts for Windows Folders -- Deleting Unused Shortcuts -- Configuring Shortcut Properties -- Using Shortcuts to Configure the Windows Start Menu -- Using Shortcuts to Configure the Quick Launch Toolbar -- Executing Windows Commands -- Controlling Windows Services -- Creating New User Accounts -- Working with Networks and Network Resources -- Taking a Break -- Interacting with the Windows Registry and Application Event Log -- Recording Messages in the Windows Application Event Log -- Interacting with the Windows Registry -- Storing Data in the Windows Registry -- Reading Date Stored in the Windows Registry -- Deleting Data Stored in the Windows Registry -- Performing System Configuration Via the Windows Registry -- Automating Script Execution.

Scheduling Script Execution from the Windows Command Line -- Running the Windows Scheduled Task Wizard -- Setting Up a Scheduled Task -- What's Next? -- What's on the Web Site? -- Integrating JavaScript with HTML -- GLOSSARY -- INDEX -- A -- B -- C -- D -- E -- F -- G -- H -- I -- J -- K -- L -- M -- N -- O -- P -- Q -- R -- S -- T -- U -- V -- W -- Z.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: