JavaScript in 10 Simple Steps or Less 2007 phần 9 doc

JavaScript in 10 Simple Steps or Less 2007 phần 9 doc

JavaScript in 10 Simple Steps or Less 2007 phần 9 doc

... in JavaScript Task 256: Changing Layer Visibility in JavaScript Task 257: Changing Layer Ordering in JavaScript Task 258: Fading Objects Task 2 59: Creating a Page Transition in Internet Explorer Task ... editing the code in your regular code editor and then copy and paste the bookmarklet into your favorites or bookmarks list at the end. 11 5424 19 Ch10.qxd 11/ 19/ 03 10:...

Ngày tải lên: 12/08/2014, 19:21

65 214 0
JavaScript in 10 Simple Steps or Less 2007 phần 1 ppsx

JavaScript in 10 Simple Steps or Less 2007 phần 1 ppsx

... 16: Searching for Text in Strings 32 Task 17: Replacing Text in Strings 34 Task 18: Formatting Strings 36 Task 19: Applying Multiple Formatting Functions to a String 38 Task 20: Creating Arrays ... JavaScript TM in 10 Simple Steps or Less 01 5424 19 FM.qxd 11/ 19/ 03 10: 28 AM Page i 01 5424 19 FM.qxd 11/ 19/ 03 10: 28 AM Page x Contents Credits vi About the Author vii A...

Ngày tải lên: 12/08/2014, 19:21

65 235 0
JavaScript in 10 Simple Steps or Less 2007 phần 2 potx

JavaScript in 10 Simple Steps or Less 2007 phần 2 potx

... result. 9. Save the file. 10. Open the file in a browser, and you should see 100 in the browser. JavaScript Basics 59 Task 29 02 5424 19 Ch01.qxd 11/ 19/ 03 10: 01 AM Page 59 Accessing the document Object T he ... information, methods, and access to objects reflecting the cur- rent document, including the following: • Arrays containing anchors, applets, embedded objects, forms...

Ngày tải lên: 12/08/2014, 19:21

65 296 0
JavaScript in 10 Simple Steps or Less 2007 phần 3 pps

JavaScript in 10 Simple Steps or Less 2007 phần 3 pps

... depending on the size of the decimal por- tion of the number. With Math.floor the result is always the next lowest inte- ger. Therefore, rounding 2 .99 9 would result in the integer 3, but applying Math.floor ... in that window • window.close: Closes a window • onLoad: Used in the body tag to trigger JavaScript to execute when a document continues loading The following steps creat...

Ngày tải lên: 12/08/2014, 19:21

65 206 0
JavaScript in 10 Simple Steps or Less 2007 phần 4 ppsx

JavaScript in 10 Simple Steps or Less 2007 phần 4 ppsx

... check box. Working with Forms 195 Task 94 05 5424 19 Ch04.qxd 11/ 19/ 03 10: 00 AM Page 195 Validating E-mail Addresses W hen validating information on a form, you may want to test if the text in a text ... file in the form, and check boxes in a list appear, as shown in Figure 91 -2. Figure 91 -2: The form with a series of check boxes. Working with Forms 1 89 Task 91 cross-...

Ngày tải lên: 12/08/2014, 19:21

65 181 0
JavaScript in 10 Simple Steps or Less 2007 phần 5 pps

JavaScript in 10 Simple Steps or Less 2007 phần 5 pps

... the window or document in the new window just as you would access the original window or document. This task illustrates how to open a new window containing a form and then pro- vide a link in ... close the new window from the original window or close the original window from the new window: 1. In a script block in the header of a new document, open the second document in a ne...

Ngày tải lên: 12/08/2014, 19:21

65 367 0
JavaScript in 10 Simple Steps or Less 2007 phần 6 pot

JavaScript in 10 Simple Steps or Less 2007 phần 6 pot

... Sheet Settings Task 191 : Hiding an Object in JavaScript Task 192 : Displaying an Object in JavaScript Task 193 : Detecting the Window Size Task 194 : Forcing Capitalization with Style Sheet Settings Task ... you are using: • In Netscape 6 and higher, the window.innerHeight property indi- cates the height of the working area of the browser window in pixels. • In Internet Explor...

Ngày tải lên: 12/08/2014, 19:21

65 156 0
JavaScript in 10 Simple Steps or Less 2007 phần 7 pot

JavaScript in 10 Simple Steps or Less 2007 phần 7 pot

... presented in this task to do a number of interest- ing things. For example, using the information in Tasks 178 or 1 79, you can place items in certain loca- tions in the Window. For instance, ... type=”text/css”> </style> 2. Create a style definition for links: :link { background-color: #99 999 9; color: red; font-style: italic; } 3. In the body of the document, create a...

Ngày tải lên: 12/08/2014, 19:21

65 207 0
JavaScript in 10 Simple Steps or Less 2007 phần 8 pdf

JavaScript in 10 Simple Steps or Less 2007 phần 8 pdf

... onSelect. Handling Events 471 Task 227 cross-reference • The techniques for working with selection lists in forms are outlined in Tasks 82 to 86. 10 5424 19 Ch 09. qxd 11/ 19/ 03 10: 22 AM Page 471 8. ... Task 26 for infor- mation on how to create a confirmation dialog box using the window. confirm method. 10 5424 19 Ch 09. qxd 11/ 19/ 03 10: 22 AM Page 457 Placing Content Offsc...

Ngày tải lên: 12/08/2014, 19:21

65 187 0
JavaScript in 10 Simple Steps or Less 2007 phần 10 doc

JavaScript in 10 Simple Steps or Less 2007 phần 10 doc

... 100 getTimezoneOffset method, 98 99 output customization, 102 103 output to browser, 96 97 output to browser, formatting, 100 101 setHours method, 98 99 time zone and, 98 99 toGMTString method, 100 toLocaleString method, ... overriding, 380–381 HTML (HyperText Markup Language) comments, hiding JavaScript code, 4–5 dynamic HTML, outputting, 92 93 610 JavaScript in 10...

Ngày tải lên: 12/08/2014, 19:21

62 319 0
Từ khóa:
w