Archive for July, 2007

Web servers - Chapter number The remaining reserved keywords as of

Tuesday, July 31st, 2007

Chapter number The remaining reserved keywords as of edition 3 are: . abstract . boolean . byte . char . class . const . debugger . double . enum . export . extends . final . float . goto . implements . import . int . interface . long . native . package . private . protected . public . short . static . super . synchronized . throws . transient . volatile However, you should note that Netscape anticipates a future standard and supports these already: . export . import 1278

Zeus web server - Error! No text of specified style in document.

Tuesday, July 31st, 2007

Error! No text of specified style in document. Here is a list of keywords that ECMA edition 2 mandates a compliant implementation should support: . break . continue . delete . else . for . function . if . in . new . return . this . typeof . var . void . while . with In addition, these are constants that should also be avoided: . true . false . null The third edition of the ECMA standard adds these keywords which in the earlier edition were reserved for future use: . case . catch . default . do . finally . instanceof . switch . throw . try 1277

Yahoo free web hosting - Chapter number Example code: // Object sensing routine

Monday, July 30th, 2007

Chapter number Example code: See also: captureEvents(), Event, Event names, Event type constants, Event.modifiers, Event.which, onKeyDown, onKeyPress, onKeyUp, String.fromCharCode() Keyword (Definition) The keywords that ECMAScript defines should be avoided when you create your own identifier or variable names. A keyword is a word that has special significance in the JavaScript language. It follows the rules that ECMA lays down for describing identifiers. All of the JavaScript keywords are reserved and define the language syntax. You must not use any of them as identifier names for variables, properties, methods and functions that you define. ECMAScript reserves a set of keywords for future use. These are intended to make provision for future language features and to give developers warning that they should avoid using these keywords in order that their scripts should continue to operate when the language is revised. Other special names are defined by JavaScript to identify properties of the Global object and constructor functions of the built-in data types. You should avoid these too, unless you are intentionally overriding their functionality with your own. 1276

Tomcat web server - Error! No text of specified style in document.

Monday, July 30th, 2007

Error! No text of specified style in document. Event name JavaScript JScript N IE Opera DOM HTML Notes onClick 1.5 + 1.0 + 6.0 + 4.0 + 3.0 + 4.0 + Warning onDblClick 1.5 + 3.0 + 6.0 + 4.0 + 3.0 + 4.0 + Warning onDragStart 3.0 + 4.0 + - onFilterChange 3.0 + 4.0 + - onHelp 3.0 + 4.0 + Warning onKeyDown 1.5 + 3.0 + 6.0 + 4.0 + 3.0 + 4.0 + Warning onKeyPress 1.5 + 3.0 + 6.0 + 4.0 + 3.0 + 4.0 + Warning onKeyUp 1.5 + 3.0 + 6.0 + 4.0 + 3.0 + 4.0 + Warning onMouseDown 1.5 + 3.0 + 6.0 + 4.0 + 3.0 + 4.0 + Warning onMouseMove 1.5 + 3.0 + 6.0 + 4.0 + 4.0 + Warning onMouseOut 1.5 + 3.0 + 6.0 + 4.0 + 3.0 + 4.0 + Warning onMouseOver 1.5 + 1.0 + 6.0 + 4.0 + 3.0 + 4.0 + Warning onMouseUp 1.5 + 3.0 + 6.0 + 4.0 + 3.0 + 4.0 + Warning onSelectStart 3.0 + 4.0 + - Inheritance chain: Element object, Node object Keyboard events (Definition) Some events within the event-handling complex of a browser are related to keyboard handling. The following events relate to keyboard handling: . onKeyDown . onKeyUp . onKeyPress These events are classified as keyboard events because they are generated as a result of user interactions with the keyboard. Note that the onKeyPressevent is triggered as a result of a matching pair of onKeyDown and onKeyUp events. You should not rely on the events arriving in any particular order, although onKeyPress probably arrives before onKeyUp. For example, as a key is pressed, an onKeyDown event is fired. As it is released, an onKeyUp event and an onKeyPress event are fired. An onKeyPress is only fired once for each onKeyDown and onKeyUp pair. In Netscape, you can capture keyboard events by calling the captureEvents() method like this: window.captureEvents(Event.KEYPRESS); This need not necessarily apply to the window; the area of interest can be more limited by selecting an appropriate object. 1275

Free web hosting music - KBD object (Object/HTML) An object representing content to

Sunday, July 29th, 2007

KBD object (Object/HTML) An object representing content to be displayed as if typed on the keyboard. Availability: DOM level 1 JavaScript 1.5 JScript 3.0 Internet Explorer 4.0 Netscape 6.0 Inherits from: Element object IE myKBD = myDocument.all.anElementID IE myKBD = myDocument.all.tags(”KBD”)[anIndex] IE myKBD = myDocument.all[aName] -myKBD = myDocument.getElementById(anElementID) -myKBD = myDocument.getElementsByName(aName)[anIndex] JavaScript syntax: -myKBD = myDocument.getElementsByTagName(”KBD”)[anIndex] HTML syntax: anElementID The ID attribute of the element required anIndex A reference to an element in a collection Argument list: aName An associative array reference Event handlers: onClick, onDblClick, onDragStart, onFilterChange, onHelp, onKeyDown, onKeyPress, onKeyUp, onMouseDown, onMouseMove, onMouseOut, onMouseOver, onMouseUp, onSelectStart The appearance of the content described by this object is likely to look similar to that enclosed in ,

or
 tags.   See also:  Element object, LISTING object, PRE object

J Jump (Make web site) statement (Definition) Jump statement (Definition)

Sunday, July 29th, 2007

J Jump statement (Definition) Jump statement (Definition) Unconditionally jump to a new location in the script. A jump statement is one, which forces the flow of execution to jump unconditionally to another location in the script. Jump statements in JavaScript are used to terminate iteration statements. A function call causes execution to go unconditionally to a new location (the beginning of the function’s script source text block its body) but a function call is not strictly a jump statement because the flow of control returns eventually to the line following the function call. A return statement is considered to be a jump statement. See also: break, continue, goto, return, Statement 1273

JavaScript Programmer’s Reference Warnings: . This is sometimes (Web design course)

Sunday, July 29th, 2007

JavaScript Programmer’s Reference Warnings: . This is sometimes called tags object but if you inspect the object with some script that reveals its constructor, you will see it is really a member of the JSSTags class. . Deprecated for any further use. This was available only in Netscape 4.0 and is completely removed from Netscape 6.0. See also: Document.ids[], Document.tags[], JavaScript Style Sheets, JSSTag object, JSSTags. Property JavaScript JScript N IE Opera NES ECMA DOM CSS HTML Notes 1.2 + 4.0 + Warning, Deprecated Property attributes: DontEnum. JSSTags. (Property) A JSS object corresponding to a single HTML tag. Availability: JavaScript 1.2 Netscape 4.0 Deprecated Property/method value type: JSSTag object JavaScript syntax: N myDocument.classes.aClassName.aTagName aClassName The name of a style class Argument list: aTagName The name of an HTML tag This object represents an HTML tag. However it is only available in Netscape 4.0 and is a means of access that ultimately leads to a Style object. You can refer to a specific HTML tag name or you can use the value “all” to indicate that all HTML tags of any kind with the appropriate CLASS name will be affected. This mechanism is radically different to and much more complex than the simple style property belonging to an Element object in MSIE. From the value in this property, you would traverse the style tree down another level to find a style object with properties that directly affect the appearance of the document. Warnings: . Deprecated for any further use. This was available only in Netscape 4.0 and is completely removed from Netscape 6.0. See also: JSSTags object 1272

J JSSTags object (Object/JSS) Warnings: . Deprecated (Free web hosts)

Saturday, July 28th, 2007

J JSSTags object (Object/JSS) Warnings: . Deprecated for any further use. This was available only in Netscape 4.0 and is completely removed from Netscape 6.0. See also: JSSTag.height, style.width JSSTags object (Object/JSS) Part of the Netscape Navigator style JSS rendering support. JavaScript 1.2 N N aClassName myJSSTags = myJSSTags = myDocument.ids.anIdValue Availability: Netscape 4.0 Deprecated myDocument.classes.aClassNameJavaScript syntax: Argument list: anIdValue Object properties: The name of a style class The value of an ID=”…” HTML tag attribute This object is somewhat like an array in that it contains a collection of objects that can be accessed associatively by name. However, unlike an array, it does not respond to the length property request. Also unlike an array, you cannot access its members using index values. The only meaningful property of this object is one of its array elements corresponding to an HTML tag name. There is one item in this collection for each HTML tag. This is part of the deprecated JSS support in Netscape 4.0. It is not recommended that you use these facilities in new projects. You cannot enumerate this object to inspect its properties. The document.tags object has properties that correspond to each of the stylable tags for example, there is a document.tags.P, document.tags.B and document.tags.H1 object. Each of those objects has properties such as borderWidth and color so you can set or get the property value. Note that the tags object properties can be specified in mixed case as it is case-insensitive. Its properties contain objects that correspond to HTML tags and therefore they also have case- insensitive properties that correspond to each tag’s attributes. Its an interesting way to control style from JavaScript, but since it was only ever supported in Netscape 4.0 and is no longer available in Netscape 6.0 (which fully supports CSS), there is no future for JSS. 1271

JavaScript Programmer’s Reference The JSSTag.whiteSpace property corresponds to (Web design conference)

Saturday, July 28th, 2007

JavaScript Programmer’s Reference The JSSTag.whiteSpace property corresponds to the white-space CSS property. This property controls how tabs, newline characters and additional whitespace inside an element is presented. The following values are available: . normal . pre . nowrap The default value for this property is “normal”. This value is inherited from its parent container element. Warnings: . Deprecated for any further use. This was available only in Netscape 4.0 and is completely removed from Netscape 6.0. style.whiteSpace See also: JSSTag.width (Property) This is the width of an object. Availability: CSS level 1 JavaScript 1.2 Netscape 4.0 Deprecated Property/method value type: String primitive JavaScript syntax: N myJSSTag.width N myJSSTag.width = aWidth CSS syntax: HTML syntax: width: aWidth <... WIDTH="..."> Argument list: A CSS length value aWidth The JSSTag.width property corresponds to the width CSS property. This property can be used to control the width of an object on the screen. The value can be specified as a length measured in units, a percentage of the containing block the element is located in or an “auto” value that lets the browser compute the size. The default value for this property is “auto”. This value is not inherited from its parent container element. 1270

J JSSTag.whiteSpace (Property) The JSSTag.verticalAlign property corresponds

Friday, July 27th, 2007

J JSSTag.whiteSpace (Property) The JSSTag.verticalAlign property corresponds to the vertical-align CSS property. This property controls the vertical alignment of an element. It provides a way to raise or lower individual letters to create subscript or superscript effects. The technique can be used to move images relative to a line of text. The following values are meaningful for this property: . baseline . sub . super . top . text-top . middle . bottom . text-bottom In addition you can specify a percentage value and a length value in various units of measure. The default value for this property is “baseline”. This value is not inherited from its parent container element. Warnings: . Deprecated for any further use. This was available only in Netscape 4.0 and is completely removed from Netscape 6.0. See also: style.verticalAlign JSSTag.whiteSpace (Property) The control of white space collapsing or retention in the object. CSS level 1 JavaScript 1.2 Netscape 4.0 Deprecated Availability: Property/method value type: String primitive JavaScript syntax: N myJSSTag.whiteSpace N myJSSTag.whiteSpace = aControl CSS syntax: white-space: aControl Argument list: aControl A whitespace preservation control 1269