... site while surfing the Web. You 52 52 CHAPTER ✦ ✦ ✦ ✦ In This Chapter Temporary and persistent cookies World time calculations CGI-like intelligence ✦ ✦ ✦ ✦ 64 JavaScript Applications cannot use ... works inside. 66 JavaScript Applications The sample page described in this chapter and in whatsnew.htm is pretty boring to look at, because the power all lies in the scripting that user...
Ngày tải lên: 24/01/2014, 10:20
... scripts, the JavaScript object world begins to wrap around itself in a way. Despite all the attributes that define a link, JavaScript regards a link as the same as a location object (Chapter 15). ... direct the URL to a JavaScript function. The URL javascript: functionName() is a valid location parameter for the HREF attribute (and not just in the link object). Using the javascript:...
Ngày tải lên: 10/12/2013, 15:15
Tài liệu Javascript bible_ Chapter 31 pptx
... possible in JavaScript. JavaScript control structures follow along the same lines of many programming languages, particularly with additions made in Navigator 4 and Internet Explorer 4 (for JavaScript 1.2). ... if constructions earlier in this chapter. When a loop-counting variable is established in the initial expression, the condition statement usually defines how 652 Part III ✦ Ja...
Ngày tải lên: 21/12/2013, 05:17
Tài liệu Javascript bible_ Chapter 32 pptx
... representations of two operands 32 32 CHAPTER ✦ ✦ ✦ ✦ In This Chapter Understanding operator categories Role of operators in script statements ✦ ✦ ✦ ✦ 674 Part III ✦ JavaScript Object and Language Reference Boolean ... the user’s data entry has been validated enough for JavaScript to know that the entry is a number. Now the function must 677 Chapter 32 ✦ JavaScript Operators check...
Ngày tải lên: 21/12/2013, 05:17
Tài liệu Javascript bible_ Chapter 34 pptx
... Netscape’s JavaScript Debugger, described in Chapter 46). The methods are watch() and unwatch(). The watch() method instructs JavaScript to keep an eye on a particular property in an object (any JavaScript- accessible ... See Chapter 13 for details on this convenient way to share utility functions among many documents. 714 Part III ✦ JavaScript Object and Language Reference Custo...
Ngày tải lên: 17/01/2014, 08:20
Tài liệu Javascript bible_ Chapter 35 pptx
... another type. 35 35 CHAPTER ✦ ✦ ✦ ✦ In This Chapter Converting strings into object references Converting strings to numbers for math Adding comments to scripts ✦ ✦ ✦ ✦ 728 Part III ✦ JavaScript Object ... can be used anywhere in a script. If you’ve read earlier chapters, you have been introduced to many of these functions and statements. This chapter is presented as a convenient plac...
Ngày tải lên: 17/01/2014, 08:20
Tài liệu Javascript bible_ Chapter 38 pptx
... or the JavaScript code (JavaScript s string.split() and array.join() methods help a great deal here). 786 Part IV ✦ Putting JavaScript to Work Data type conversions The example in this chapter ... back to JavaScript, that passed object is converted to its original JavaScript object type. But objects of other classes are passed as their native objects wrapped in JavaScript “clothin...
Ngày tải lên: 17/01/2014, 08:20
Tài liệu Javascript bible_ Chapter 8 pptx
... script function. The technique involves a pseudo-URL called the javascript: URL. If you place the name of a function after the javascript: URL, a scriptable browser runs that function. So as ... from the function. Remember this javascript: URL technique for all tags that include HREF and SRC attributes: If an attribute accepts a URL, it can accept this javascript: URL as well. This can ....
Ngày tải lên: 24/01/2014, 09:20
Tài liệu Javascript bible_ Chapter 16 pdf
... take JavaScript. Review the document object’s place within the JavaScript object hierarchy. Figure 16-1 clearly shows that the document object is a pivotal point for a large percentage of JavaScript objects. In ... divided its discussion into many chapters, each focusing on related object groups. This chapter looks only at the document object, while each of the eight succeeding chapte...
Ngày tải lên: 10/12/2013, 15:15
Tài liệu Javascript bible_ Chapter 18 doc
... onLoad= hspace lowsrc name src vspace width x y 18 18 CHAPTER ✦ ✦ ✦ ✦ In This Chapter How to precache images Swapping images after a document has loaded Creating interactive client-side image maps ✦ ✦ ✦ ✦ 362 Part III ✦ JavaScript Object ... document.links[ index ]. property About this object JavaScript treats a map area object as one of the link objects in a document (see the link o...
Ngày tải lên: 10/12/2013, 15:15