JavaScript in 10 Simple Steps or Less 2007 phần 5 pps
... navigating in one of the frames. Manipulating Browser Windows 2 85 Task 138 06 54 2419 Ch 05. qxd 11/19/03 10: 33 AM Page 2 85 Opening a Full-Screen Window in Internet Explorer I nternet Explorer supports ... 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...
Ngày tải lên: 12/08/2014, 19:21
... Concatenating Strings Task 16: Searching for Text in Strings Task 17: Replacing Text in Strings Task 18: Formatting Strings Task 19: Applying Multiple Formatting Functions to a String Task 20: Creating ... 117 Task 57 : Accessing an HTML-Embedded Image in JavaScript 118 Task 58 : Loading an Image Using JavaScript 120 Task 59 : Detecting MouseOver Events on Images 122 xii JavaScr...
Ngày tải lên: 12/08/2014, 19:21
... in Figure 55 -1. Figure 55 -1: Entering a URL in the form. 8. Click on the Go button, and you will be redirected to the URL you entered, as shown in Figure 55 -2. Figure 55 -2: Redirecting to the ... appear above the main window and then disappear as soon as the main window finishes loading. Outputting to the Browser 1 15 Task 56 03 54 2419 Ch02.qxd 11/19/03 10: 01 AM Page 1 1...
Ngày tải lên: 12/08/2014, 19:21
JavaScript in 10 Simple Steps or Less 2007 phần 4 ppsx
... check box. Working with Forms 1 95 Task 94 05 542419 Ch04.qxd 11/19/03 10: 00 AM Page 1 95 Validating E-mail Addresses W hen validating information on a form, you may want to test if the text in a text ... Figure 1 05 -1: A form with two password fields. 8. Enter two mismatched passwords and submit the form. You should see an appropriate error message, as in Figure 1 05 -2. Figure...
Ngày tải lên: 12/08/2014, 19:21
JavaScript in 10 Simple Steps or Less 2007 phần 2 potx
... the elements in sorted order. Sorting is performed in ascending order alphabetically or numerically as appropriate. To use the method, simply call it: arrayName.sort(); The following task creates ... cur- rent document, including the following: • Arrays containing anchors, applets, embedded objects, forms, layers, links, and plug-ins from the current document. • Properties providing inf...
Ngày tải lên: 12/08/2014, 19:21
JavaScript in 10 Simple Steps or Less 2007 phần 6 pot
... = 310 Part 6 Task 150 07 54 2419 Ch06.qxd 11/19/03 10: 34 AM Page 310 Centering an Object Horizontally W ith JavaScript, you can determine the dimensions of the working area of the browser window. ... dialog box. Manipulating Cookies 3 05 Task 147 07 54 2419 Ch06.qxd 11/19/03 10: 34 AM Page 3 05 4. Display the information in a dialog box for the user using window.alert so that t...
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, ... style=”padding: 5px 10px 15px 20px;”> Text goes here </div> • Specify distinct margins individually using the padding-top, padding-bottom, padding-right, and padding-left attrib- ut...
Ngày tải lên: 12/08/2014, 19:21
JavaScript in 10 Simple Steps or Less 2007 phần 8 pdf
... bookmark or favorite for a JavaScript bookmarklet. 11 54 2419 Ch10.qxd 11/19/03 10: 22 AM Page 479 Checking for E-mail Links with a Bookmarklet T his task outlines how to search a page for e-mail links ... techniques for working with selection lists in forms are outlined in Tasks 82 to 86. 10 54 2419 Ch09.qxd 11/19/03 10: 22 AM Page 471 8. Close the if and for blocks, and the...
Ngày tải lên: 12/08/2014, 19:21
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 259 : Creating a Page Transition in Internet Explorer Task ... Controlling Layer Placement in HTML Task 252 : Controlling Layer Size in HTML Task 253 : Controlling Layer Visibility in HTML Task 254 : Controlling Layer Ordering in...
Ngày tải lên: 12/08/2014, 19:21
JavaScript in 10 Simple Steps or Less 2007 phần 10 doc
... 48 values, returning, 58 59 void, 484–4 85 XBackground, 55 0 55 1 xColor, 54 6 54 7, 54 8 54 9 xHide, 54 2 54 3 xMoveTo, 55 2 55 3 xResizeTo, 55 6 55 7 xShow, 54 2 54 3 xSlideTo, 55 4 55 5 xZIndex, 54 4 54 5 G getCookie ... JavaScript code, 4 5 dynamic HTML, outputting, 92–93 610 JavaScript in 10 Simple Steps or Less 15 542419 index.qxd 11/19/03 10: 25 AM Pag...
Ngày tải lên: 12/08/2014, 19:21