the book of javascript 2nd edition phần 2 pot
... click the link, an alert box should come up and say Off to the Book of JavaScript! (Figure 4-6). When you click OK in the box, the page should load the Book of JavaScript website. Figure 4-6: The ... "alert('Off to the Book of JavaScript! ');">Visit the Book of JavaScript website</a> Figure 4-5: A link that calls an alert Try...
Ngày tải lên: 06/08/2014, 09:20
... click the link, an alert box should come up and say Off to the Book of JavaScript! (Figure 4-6). When you click OK in the box, the page should load the Book of JavaScript website. Figure 4-6: The ... sets the left border of the window you’re moving. If you move the left border of the window into the center of the screen, the window will be too far...
Ngày tải lên: 06/08/2014, 16:23
... sets the left border of the window you’re moving. If you move the left border of the window into the center of the screen, the window will be too far to the right. To get the window to the center ... it. The function multiplyTheFields() does all the work. The code in X of Figure 7-16 looks up the value of the text field field_one (]) inside the fo...
Ngày tải lên: 06/08/2014, 09:20
the book of javascript 2nd edition phần 6 pot
... along the colon. It then loads the first part of the element into the_ property and the second part into the_ value. The first time through the loop, the_ property is "name" and the_ value is "thau". ... Description parentNode Parent node of the node childNodes List of the children of the node firstChild First child of the node lastchild...
Ngày tải lên: 06/08/2014, 09:20
the book of javascript 2nd edition phần 10 pot
... 21 9 22 0 and security, 360 setting, 21 8 duration of, 22 2 22 4 multiple, 22 5 multiple pieces of information, 22 0 22 2 for shopping cart, 22 6 23 2 uses, 21 5 viewing, 21 7 Coordinated Universal Time (UTC) ... 473 cookies basics, 21 6 21 7 capabilities and limitations, 21 7 21 8 for data storage, vs. webserver, 300–301, 3 02 example, 21 6 libraries, 22 5 22 6 reading, 21...
Ngày tải lên: 06/08/2014, 09:20
THE BOOK OF JAVASCRIPT, 2ND EDITION phần 10 potx
... tags, 23 7 23 8 left component, 23 6 property of browser window, 72 of div element, 23 9 length property of array element, 126 , 414 of form object, 425 of history element, 427 of radio element, 439 of select ... ActiveXObject("Microsoft.XMLHTTP"); INDEX 477 go() method, of history element, 427 Goodman, Danny (The Javascript Bible), 4 12 Google Maps, 26 1,...
Ngày tải lên: 06/08/2014, 16:23
the book of javascript 2nd edition phần 1 pptx
... Information 22 0 Setting the Duration of a Cookie 22 2 Who Can Read the Cookie? 22 4 The Whole Cookie 22 4 Setting Multiple Cookies 22 5 Cookie Libraries 22 5 A Cookie-Based Shopping Cart 22 6 Adding an ... 22 6 Adding an Item to the Cart 22 7 The Checkout Page 22 9 The readTheCookie() Function 23 0 The checkOut() Function 23 1 Summary 23 2 Assignment 23 2 xxviii...
Ngày tải lên: 06/08/2014, 09:20
the book of javascript 2nd edition phần 4 doc
... 4,000. Going Off the Deep End The script in Figure 8-8 looks at the values of form elements 0 through 3, which are the four checkboxes at the start of the form. The next form element in the figure is the ... X. The first line in the body of the func- tion then swaps the image stored in position 0 of the_ images with the image on the page. If rotateIm...
Ngày tải lên: 06/08/2014, 09:20
the book of javascript 2nd edition phần 5 docx
... of the upper-left corner and the x and y coordinates of the lower-right corner, in pixels. So the first area in Figure 10-19 goes from the (9, 23 ) point of the image to the (41, 42) point of ... indexOf(), the lastIndexOf() method gives you the position of the last occurrence of a character or substring. Table 11-1 shows the value of various calls to i...
Ngày tải lên: 06/08/2014, 09:20
the book of javascript 2nd edition phần 7 ppsx
... into which the results of the script will be placed. The ems you see in the style of the div set the width of the div equal to some multiple of the width of the letter m (em) in the font being ... browser, the script will automatically adjust the width of the div. The JavaScript code will automatically change the height of the div as the...
Ngày tải lên: 06/08/2014, 09:20