Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 778 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
778
Dung lượng
5,36 MB
Nội dung
[...]... 659 Specifying the Scripting Language 660 A Skeleton SVG Document with JavaScript 661 Adding a Title to an SVG Image 661 Creating a Simple Shape Using JavaScript 664 Adding Text Using JavaScript 666 xvi SamsTeachYourselfJavaScriptin21Days A Timed Animation Using JavaScript 668 Creating a Shape That Responds to Events 670 JavaScript Beyond Declarative... Strathclyde Jinjer Simon has been actively involved in the computer industry for the past 17 years Her involvement in the industry has included programming, providing software technical support, end-user training, developing written and online user documentation, creating software tutorials, developing Internet Web sites, and writing technical books Jinjer and her husband currently live in Coppell,... much less frustrating and demanding task than it was only a few years ago Both Microsoft and Netscape genuinely seem to attach importance to standards as they relate to JavaScript Hopefully many of the remaining problems will be ironed out in the near future The future for JavaScript is an exciting one How This Book Is Organized SamsTeachYourselfJavaScript in 21Days is organized into 21 chapters, and... DAY 18 Plugins and Applets 583 Plugins Versus Applets 584 Detecting Plugin Installation 585 Plugin Handling by Browsers 586 Checking for a Plugin 588 Determining Browser Support for a File Type 592 Working with Plugin Objects 594 Working with Applets 595 Java Basics 596 Calling a Java Applet 597 Interfacing with Java...x Sams TeachYourself JavaScript in 21Days Date Formatting 312 Converting the Numeric Day and Month Values 314 Combining Date Values 316 Time Formatting 317 Converting to an AM/PM Time Frame 319 Working with Time Zones 322 Converting Date and Time Formats 323 Date Calculations 325 Converting Between Strings and Dates... E-Commerce,” discusses the use of JavaScriptin e-commerce and shows you how to use JavaScriptin the creation of an online shopping basket Day 21, JavaScript and SVG,” takes you beyond the world of HTML/XHTML to show you a little of how JavaScript will be used with the exciting new Web graphics format SVG—Scalable Vector Graphics 3 4 Sams TeachYourself JavaScript in 21Days Who Should Read This Book... site, point your Web browser to http://www.samspublishing.com/ In the Search box, type injavascriptin21 Find this book from the list presented, and click on the link On the book’s main page, find and click the link called Related Materials to get to the files 5 WEEK 1 A Sound Foundation 1 Getting the Basics Right 2 Working with Data 3 Functions and Statements 4 JavaScript Is Object-Based 5 An Introduction... Topics DAY 15 Debugging and Error Handling 493 495 Preventing and Classifying JavaScript Errors 496 Commenting Code 496 Keeping Track of JavaScript Variables 497 JavaScript Error Types 498 Finding Syntax Errors 498 Errors in Netscape Navigator 499 Errors in Internet Explorer 500 Debugging Load-Time Errors 501 Using the document.writeln()... 503 Using the Alternate Inputs 506 Debugging Run-Time Errors I: Discrete Events 509 Using the alert() Method 511 Using HTML Form Elements 514 Contents xiii Debugging Run-Time Errors II: Continuous Events 518 Advanced Debugging Techniques 524 Creating a Run-Time JavaScript Interpreter 524 Opening a Debug Browser Window 527 Using JavaScript. .. NCSA Beginners Guide to HTML 720 Website Tips 720 CGI 721 CGI 101 721 CGI City 721 The CGI Resource Index 721 The Common Gateway Interface 721 E A Short History of JavaScript 723 Evolution of the Internet 723 Internet Programming Revolution 724 JavaScript Introduction 725 Browser Support of JavaScript . St.,Indianapolis,Indiana,46240 USA Andrew Watt and Jonathan Watt with Jinjer Simon and Jim O’Donnell JavaScript ™ in 21 Days Teach Yourself 00 2978 FM 4/10/02 10:45 AM Page i Sams Teach Yourself. 583 Plugins Versus Applets 584 Detecting Plugin Installation 585 Plugin Handling by Browsers 586 Checking for a Plugin 588 Determining Browser Support for a File Type 592 Working with Plugin Objects. degree in engineering at Strathclyde. Jinjer Simon has been actively involved in the computer industry for the past 17 years. Her involvement in the industry has included programming, providing software