JavaScript in 10 Simple Steps or Less 2007 phần 3 pps
... code for creating and triggering each rollover becomes noticeably simpler. 138 Part 3 Task 67 04 542419 Ch 03. qxd 11/19/ 03 10: 00 AM Page 138 The following steps outline how to create a simple ... “abcd”. 130 Part 3 Task 63 04 542419 Ch 03. qxd 11/19/ 03 10: 00 AM Page 130 Creating a “Page Loading ” Placeholder T his task looks at how to create a “page loading” placeholder...
Ngày tải lên: 12/08/2014, 19:21
... 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 ... Determining an Object’s Location 33 0 Task 160: Placing an Object 33 2 Task 161: Moving an Object Horizontally 33 4 Task 162: Moving an Object Vertically 33 6 Task 1 63: Moving an O...
Ngày tải lên: 12/08/2014, 19:21
... You need to keep this in mind when working with selec- tion lists dynamically from JavaScript. • The use of the short-form ++ operator increases the operand before it by one. For instance a++ is the same ... function. In the event handlers for fields in a form, this refers to the object for the fields themselves, and form fields have a form property referring to the form object conta...
Ngày tải lên: 12/08/2014, 19:21
JavaScript in 10 Simple Steps or Less 2007 phần 5 pps
... Æ Window</a> </body> Listing 132 -1: Closing a window from a link. 4. Save the file and open it in a browser. A page containing a link like the one in Figure 132 -2 is displayed. Figure 132 -2: Offering a close link inside ... original window or document. This task illustrates how to open a new window containing a form and then pro- vide a link in the original window, whic...
Ngày tải lên: 12/08/2014, 19:21
JavaScript in 10 Simple Steps or Less 2007 phần 2 potx
... cur- rent document, including the following: • Arrays containing anchors, applets, embedded objects, forms, layers, links, and plug-ins from the current document. • Properties providing information about ... want them sorted. The array object provides a sort method that does just this: It returns a comma- separated list of the elements in sorted order. Sorting is performed in ascending o...
Ngày tải lên: 12/08/2014, 19:21
JavaScript in 10 Simple Steps or Less 2007 phần 6 pot
... Cookie”); </script> Listing 1 53- 2: Creating two cookies from a single script in JavaScript. Manipulating Cookies 31 7 Task 1 53 tip • In theory, browsers should store at least 30 0 cookies of at least 4096 characters in ... dialog box. Manipulating Cookies 30 5 Task 147 07 542419 Ch06.qxd 11/19/ 03 10: 34 AM Page 30 5 4. Display the information in a dialog box for th...
Ngày tải lên: 12/08/2014, 19:21
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 179, you can place items in certain loca- tions in the Window. For instance, ... 0px; text-decoration:none; color:#FFFFFF; } .menuEntry { text-decoration:none; color:#FFFFFF; } .menuEntry:link { color:#FFFFFF; } .menuEntry:hover { background-color:#CCCCCC; Æ color:#020A...
Ngày tải lên: 12/08/2014, 19:21
JavaScript in 10 Simple Steps or Less 2007 phần 8 pdf
... Bookmarklet Task 230 : Checking for E-mail Links with a Bookmarklet Task 231 : E-mailing Selected Text with a Bookmarklet in Internet Explorer Task 232 : E-mailing Selected Text with a Bookmarklet in Netscape Task ... Bookmarklet Task 237 : Hiding Banners with a Bookmarklet Task 238 : Opening All Links in a New Window with a Bookmarklet Task 239 : Changing Page Fonts with a Bookmarklet...
Ngày tải lên: 12/08/2014, 19:21
JavaScript in 10 Simple Steps or Less 2007 phần 9 doc
... Layer Visibility in JavaScript Task 257: Changing Layer Ordering in JavaScript Task 258: Fading Objects Task 259: Creating a Page Transition in Internet Explorer Task 260: Installing the X Cross-Browser ... Controlling Layer Size in HTML Task 2 53: Controlling Layer Visibility in HTML Task 254: Controlling Layer Ordering in HTML Task 255: Changing Layer Placement and Size in...
Ngày tải lên: 12/08/2014, 19:21
JavaScript in 10 Simple Steps or Less 2007 phần 10 doc
... 190–191 cursor, 434 – 435 float, 38 2 38 3 font-family, 36 0 36 1 font-size, 36 2 36 3 font-style, 36 2 36 3 font-weight, 36 2 36 3 id, 32 8 letter-spacing, 36 6 36 7 line-height, 32 8, 34 8 34 9 margin, 37 2 37 3 margin-bottom, ... 37 2 37 3 margin-bottom, 37 2 37 3 margin-left, 37 2 37 3 margin-right, 37 2 37 3 margin-top, 37 2 37 3 onMouseOver, 122–1 23, 454–455 padding, 4...
Ngày tải lên: 12/08/2014, 19:21