JavaScript Bible, Gold Edition part 29 ppsx
... are included with the basic Windows version browser: JScript (compatible with JavaScript) and Visual Basic Scripting Edition (VBScript). The default scripting engine is JScript. But if you wish ... offsetWidth properties are not part of the W3C DOM specification, Netscape has implemented these properties in NN6 On the CD-ROM elementObject.offsetHeight 130 Part III ✦ Document Objects Re...
Ngày tải lên: 06/07/2014, 06:20
... (Yes, arrays are JavaScript objects, but they belong to the core JavaScript language rather than the document object model.) A special keyword — new — preceding a call to the JavaScript function ... entire event handler attribute. CD-54 Part II ✦ JavaScript Tutorial Listing 7-2 (continued) </SCRIPT> </HEAD> <BODY> <SCRIPT LANGUAGE= JavaScript > demo() // runs...
Ngày tải lên: 06/07/2014, 05:20
... 100 Part III ✦ Document Objects Reference NN6-specific features in that browser’s implementation of JavaScript 1.5, link the .js library with the following tag: <SCRIPT LANGUAGE= JavaScript1 .5” ... your requirements, the rest of the chapters in Part III and all of Part IV pro- vide in-depth references to the document object model and core JavaScript lan- guage features. Observe...
Ngày tải lên: 06/07/2014, 06:20
JavaScript Bible, Gold Edition part 39 ppsx
... on your page until a human intervenes. All dialog boxes generated by JavaScript identify themselves as being generated by JavaScript (less egregiously so in version 4 browsers and later). This ... dialog boxes (see the window.showModalDialog() and window.showModeless() methods), JavaScript dialog boxes are not particularly flexible in letting you fill them with text or graphic elements...
Ngày tải lên: 06/07/2014, 06:20
JavaScript Bible, Gold Edition part 47 ppsx
... 316 Part III ✦ Document Objects Reference src Value: URL String Read/Write NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 ... method([parameters]) NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility ✓ On the CD-ROM popup 308 Part III ✦ Document Objects Reference Example on the CD-ROM Related Items: FRAME.borderColor, FRAMESET.frameBorder ... to remove a frame from a frameset view, you might be safer...
Ngày tải lên: 06/07/2014, 06:20
JavaScript Bible, Gold Edition part 54 ppsx
... Chapter 29. On the CD-ROM document.createEventObject() 379 Chapter 18 ✦ The Document and Body Objects is interested in preprocessing. If you want the document object to intercept all events of a particular ... See the addEventListener() method in Chapter 15 for the W3C counterpart to the NN4 captureEvents() method. Also, see Chapter 29 for more details on the combination of event capture...
Ngày tải lên: 06/07/2014, 06:20
JavaScript Bible, Gold Edition part 56 ppsx
... 402 Part III ✦ Document Objects Reference bgProperties Value: String constant Read/Write NN2 NN3 NN4 ... margin, the property does not return that default value. On the CD-ROM document.body.bottomMargin 406 Part III ✦ Document Objects Reference doScroll([“scrollAction”]) Returns: Nothing. NN2 NN3 NN4 NN6 ... Items: None. rightMargin See bottomMargin. On the CD-ROM On the CD-ROM document.b...
Ngày tải lên: 06/07/2014, 06:20
JavaScript Bible, Gold Edition part 66 ppsx
... authors to use a URN (Uniform Resource Name) for the destination of the A element. (See Note A.urn 500 Part III ✦ Document Objects Reference hrefLang Value: String Read/Write NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 ... control over the MIME type of the destination document. Related Item: A.type property. A.mimeType 504 Part III ✦ Document Objects Reference http://www.ietf.org/rfc/rfc2141.txt for in...
Ngày tải lên: 06/07/2014, 06:20
JavaScript Bible, Gold Edition part 87 ppsx
... outermost document when captureEvents() is set. Listing 29- 1: NN4 Event Capture and Release <HTML> <HEAD> <SCRIPT LANGUAGE= JavaScript > function setDocCapture(enable) { if (!enable) ... <P><INPUT TYPE=”button” VALUE=”Button ‘layerButton2’” Continued 716 Part III ✦ Document Objects Reference Listing 29- 1 (continued) <INPUT TYPE=”button” VALUE=”Button ‘mai...
Ngày tải lên: 06/07/2014, 06:20
JavaScript Bible, Gold Edition part 89 ppsx
... (evt.eventPhase) { 736 Part III ✦ Document Objects Reference Listing 29- 10: Checking Events for Modifier Keys <HTML> <HEAD> <TITLE>Event Modifiers</TITLE> <SCRIPT LANGUAGE= JavaScript > function ... rely on the existence of particular objects and properties for their proper execution. For NN4, the event object is 730 Part III ✦ Document Objects Reference Li...
Ngày tải lên: 06/07/2014, 06:20