Archive for July, 2007

Error! No text (Web hosting unlimited bandwidth) of specified style in document.

Sunday, July 22nd, 2007

Error! No text of specified style in document. This property contains the value that is transmitted in the body of the outgoing e-mail. You can store any valid 7 bit ASCII text here. If you want to get really sneaky, you can construct a MIME type separator and embed some attachments or send a multi-part message. SendMail.Cc (Property) Defines a list of CC recipients. JavaScript 1.2 String primitive mySendMail.Cc NES Availability: Netscape Enterprise Server version 3.0 Property/method value type: JavaScript syntax: This property contains the value that is transmitted in the CC: header of the outgoing e-mail. The value assigned to this property should be a comma separated list of CC: recipient e-mail addresses. SendMail.constructor (Property) A constructor function for object instances. JavaScript 1.2 Function object NES mySendMail.constructor Availability: Netscape Enterprise Server version 3.0 Property/method value type: JavaScript syntax: The constructor is that of the built-in SendMail prototype object. You can use this as one way of creating mail dispatchers although it is more popular to use the new SendMail() technique. This property is useful if you have an object that you want to clone but you don’t know what sort of object it is. Simply access the constructor belonging to the object you have a reference to. SendMail.errorCode() (Method) Retrieves an error code value after attempting to transmit. JavaScript 1.2 Number primitive mySendMail.errorCode() NES Availability: Netscape Enterprise Server version 3.0 Property/method value type: JavaScript syntax: If the message sending failed, then you should be able to retrieve an error code value with this method. 1913

Web host forum - Chapter number Method JavaScript JScript NES Notes errorCode()

Sunday, July 22nd, 2007

Chapter number Method JavaScript JScript NES Notes errorCode() 1.2 + 3.0 + - errorMessage() 1.2 + 3.0 + - send() 1.2 + 3.0 + - SendMail() (Constructor) A constructor for creating objects that encapsulate an outgoing e-mail message. Availability: JavaScript 1.2 Netscape Enterprise Server version 3.0 Property/method value type: SendMail object JavaScript syntax: NES new SendMail() Use this as an alternative method of constructing instances by cloning objects rather than instantiating fresh ones from the owning class. See also: Netscape Enterprise Server, SendMail object SendMail.Bcc (Property) Defines the list of blind copy recipients. Availability: JavaScript 1.2 Netscape Enterprise Server version 3.0 Property/method value type: String primitive JavaScript syntax: NES mySendMail.Bcc This property contains the value that is transmitted in the BCC: header of the outgoing e-mail. The value assigned to this property should be a comma separated list of BCC: recipient e-mail addresses. SendMail.Body (Property) The body text for the e-mail message. Availability: JavaScript 1.2 Netscape Enterprise Server version 3.0 Property/method value type: String primitive JavaScript syntax: NES mySendMail.Body 1912

Error! No text of specified style in document. (Web host server)

Sunday, July 22nd, 2007

Error! No text of specified style in document. SendMail object (Object/NES) An object that encapsulates an outgoing e-mail message. Availability: JavaScript 1.2 Netscape Enterprise Server version 3.0 NES mySendMail = SendMail JavaScript syntax: NES mySendMail = new SendMail() Object properties: Bcc, Body, Cc, constructor, ErrorsTo, From, Organization, prototype, ReplyTo, Smtpserver, Subject, To Object methods: errorCode(), errorMessage(), send() This provides a way for the Netscape Enterprise Server to send e-mail messages as a result of a client request. You create a new message handling object with the SendMail() constructor. Then you define where it is going to be sent, its subject matter and content by storing string values in its various properties. Finally, you transmit the message via an SMTP server with the send() method. Example code: mySendMail = new SendMail(); mySendMail.Smtpserver = “mailhost”; mySendMail.To = “someone@somewhere.com”; mySendMail.From = “me@here.com”; mySendMail.Subject = “A test message”; mySendMail.Body = “Some body text”; mySendMail.send(); See also: Netscape Enterprise Server, SendMail(), unwatch(), watch() Property JavaScript JScript NES Notes Bcc 1.2 + 3.0 + - Body 1.2 + 3.0 + - Cc 1.2 + 3.0 + - constructor 1.2 + 3.0 + - ErrorsTo 1.2 + 3.0 + - From 1.2 + 3.0 + - Organization 1.2 + 3.0 + - prototype 1.2 + 3.0 + - ReplyTo 1.2 + 3.0 + - Smtpserver 1.2 + 3.0 + - Subject 1.2 + 3.0 + - To 1.2 + 3.0 + - 1911

Chapter number Property attributes: (Web design conference) ReadOnly. Semantic event (Definition)

Sunday, July 22nd, 2007

Chapter number Property attributes: ReadOnly. Semantic event (Definition) An event that has been mapped to the DOM. See also: Error handler, Event propagation Semi-colon (;) (Delimiter) Semi-colon characters are used to mark the end of a statement. Availability: ECMAScript edition 2 JavaScript 1.0 JScript 1.0 Internet Explorer 3.02 Netscape 2.0 Netscape Enterprise Server version 2.0 Opera 3.0 JavaScript syntax: -aStatement; Argument list: aStatement A JavaScript statement Semi-colon characters are used to mark the end of a statement, separating one from another. JavaScript is somewhat forgiving and will place semi-colons into the script automatically as needed except in some rare cases. Refer to the discussion on Automatic Semi-colon Insertion for more details. Placing two semi-colons one after the other indicates a null statement. A line terminator can separate them and an optional comment is also permitted. See also: Automatic semi-colon insertion, Empty statement (;), Expression statement, Line terminator, Statement, var Cross-references: ECMA 262 edition 2 section 12.2 ECMA 262 edition 2 section 12.3 ECMA 262 edition 2 section 12.4 ECMA 262 edition 3 section 12.2 ECMA 262 edition 3 section 12.3 ECMA 262 edition 3 section 12.4 Wrox Instant JavaScript page 18 1910

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

Saturday, July 21st, 2007

Error! No text of specified style in document. SelectorArray.length (Property) A count of the number of rules in a style sheet. Availability: JScript 3.0 Internet Explorer 4.0 Property/method value type: Number primitive JavaScript syntax: IE myStyleSheet.rules.length Property attributes: ReadOnly. Refer to: Collection.length self (Property) An alias for the window.self property. JavaScript 1.0 JScript 1.0 Internet Explorer 3.02 Netscape 2.0 Opera 3.0 Window object -myWindow.self -self -top -window Availability: Property/method value type: JavaScript syntax: This property yields a reference to the current window in which a script is running. This means that the statement self.close() is effectively window.close(). This is another name for the window.windowproperty in this context. However, self is useful because you can build reusable scripts with it that can be used with a variety of object types and instances. Don’t forget that this can also refer to a Frameas well as a Window since they are both represented by the Window object. The self property can be used without the window prefix because it belongs to the global object in a web browser window. Using the selfkeyword makes no difference to the functionality of a script but it makes it easier to understand. For the same reason, you may want to use the window property in the same way. Frame object, UniversalBrowserAccess, UniversalBrowserWrite, Window object, Window.frame, Window.self See also: 1909

Chapter number Property attributes: ReadOnly. Selection statement (Definition)

Saturday, July 21st, 2007

Chapter number Property attributes: ReadOnly. Selection statement (Definition) A means of selecting one or other code block to be executed. Selection statements provide a means of executing one of several possible blocks of code. The simplest is the if( … )selector. The next most complex is the if( … ) … else … selector. A similar and related concept is the condition execution operator ?: which is functionally very similar to an if (…) … else … selection. The ECMAScript standard reserves the switch, case and defaultkeywords at edition 2 and mandates that they be supported functionally at edition 3. See also: Conditionally execute (?:), else …, if( … ) …, if( … ) … else …, switch( … ) … case: … default: … SelectorArray object (Object/browser) A collection of style sheet rules. Availability: JScript 3.0 Internet Explorer 4.0 JavaScript syntax: IE mySelectorArray = myStyleSheet.rules Object properties: length Object methods: item() This is sometimes referred to as a rules object which is not strictly true. It is often so named because it is referenced by the rules property of a stylesheet. DOM level 2 describes this object as a CSSRuleList object. It implies it is a sub-class of the Collection object and therefore it supports the item() method. See also: Collection object, rule object, rule.selectorText, StyleSheet.rules[] Property JavaScript JScript N IE Opera HTML Notes length 3.0 + 4.0 + - ReadOnly. Method JavaScript JScript N IE Opera HTML Notes item() 3.0 + 4.0 + - 1908

Disney web site - Error! No text of specified style in document.

Saturday, July 21st, 2007

Error! No text of specified style in document. selection.createRange() (Method) A factory method for creating a text range. Availability: JScript 3.0 Internet Explorer 4.0 Property/method value type: TextRange object JavaScript syntax: myTextRange= IE mySelection.createRange() You will need to create a TextRangeto operate on a Selection object in the MSIE browser. Once you have the TextRange you can then use script code to manipulate the content. See also: TextRange object selection.empty() (Method) A means of emptying a selection. Availability: JScript 3.0 Internet Explorer 4.0 JavaScript syntax: IE mySelection.empty() This deselects the text and sets the Selectionobject’s type to “None”. The document content is unchanged and the only visible artifact is that the highlighted area returns to its normal unhighlighted state. selection.type (Property) A property containing a type for the selection. Availability: JScript 3.0 Internet Explorer 4.0 Property/method value type: String primitive JavaScript syntax: IE mySelection.type The selection type is reflected here. There are only two reasonable settings for this in the context of a web browser (although there are potentially many other kinds of selection that are possible). The property should contain either Noneor Text. You can build a conditional check into your handler which only does something if the type of the Selection object is set to “Text”. See also: Input.type 1907

Web design software - Chapter number This object represents a portion of

Friday, July 20th, 2007

Chapter number This object represents a portion of the document in the current window that is currently highlighted, having been selected by the user or by a script. The selection is operated on by means of a TextRangeobject. This object is created by calling a createRange() method on the Selection object. This step is necessary because a selection cannot by its very nature persist very long, so a TextRangeobject encapsulates its value into a persistent store so it can be operated on, even though the original selection may have been deselected. In Netscape Navigator, an entirely different technique is used that involves the document.getSelection() method. Because it is easy to deselect the highlighted text by clicking on some other active object in the page, you will need to access the selection inside an event handler that is triggered by the selection action itself. This might be done quite effectively in an onSelectStart handler. Warnings: . Selection objects do not appear to be functional on any version of MSIE for the Macintosh. This may be because the TextRange objects have not been mapped to the Macintosh cut and paste architecture. See also: Document.getSelection(), Document.selection, Password.select(), TextRange object Property JavaScript JScript N IE Opera HTML Notes type 3.0 + 4.0 + - ReadOnly. Method JavaScript JScript N IE Opera HTML Notes clear() 3.0 + 4.0 + - createRange() 3.0 + 4.0 + - empty() 3.0 + 4.0 + - selection.clear() (Method) A method to clear the area selected by the user. Availability: JScript 3.0 Internet Explorer 4.0 JavaScript syntax: IE mySelection.clear() The contects of the current selection are cleared. This is very tricky to do neatly and even harder to accomplish in a portable manner. It is probably better to use the more structured innerHTML and related properties of the DOM hierarchy to accomplish the effects you want. 1906

Error! No text of specified style in document. (X web hosting)

Friday, July 20th, 2007

Error! No text of specified style in document. Because the Selectobject is not simulated by an Inputobject but by a specific class of its own, it can support a non-standard behavior for the type property. In this case, the type indicates the number of simultaneous selections within the popup. The values for this property may be one of the following: . SELECT-ONE . SELECT-MULTI Property attributes: ReadOnly. Select.value (Property) The presently selected option value. Availability: DOM level 1 JavaScript 1.5 JScript 3.0 Internet Explorer 4.0 Netscape 6.0 Property/method value type: String primitive JavaScript syntax: -mySelect.value This is the string value that is sent back to the web server when the form is submitted. This is equivalent to: mySelect.options[mySelect.selectedIndex].value It is the value of the first or only item selected in the popup. It will be the value of the first item when multiple items have been selected. See also: Input.value Selection object (Object/browser) An object representing a user selection in the current window. Availability: JScript 3.0 Internet Explorer 4.0 JavaScript syntax: IE mySelection = myDocument.selection Object properties: type Object methods: clear(), createRange(), empty() 1905

How to cite a web site - Chapter number This is an integer value which

Friday, July 20th, 2007

Chapter number This is an integer value which is likely to be 1 most of the time. It is only meaningful if the Select.multiple property is true and more than one item has been selected. Here is a workaround for other browsers that don’t have this property, kindly donated by Jon Stephens: See also: Select.multiple Select.tags() (Method) A method for retrieving collections of objects belonging to a particular class and which are a subset of the all[] collection for this object. Availability: JScript 3.0 Internet Explorer 4.0 Property/method value type: Collection object JavaScript syntax: IE mySelect.tags(aTagName) Argument list: aTagName The name of a tag to be filtered This is a technique that only works in MSIE. The tags() method is used on all manner of collections. The collection is traversed and all objects are examined to see if they were created by an HTML tag that is the same as that specified in the argument. The argument must always be specified in upper case and the resulting collection will contain all objects of that type selected from the receiving collection object. You can then manipulate the sub-set collection in the normal way, accessing items within it by index or by other means. See also: Collection.tags() Select.type (Property) The type of select object. Availability: DOM level 1 JavaScript 1.1 JScript 3.0 Internet Explorer 4.0 Netscape 3.0 Opera 3.0 Property/method value type: String primitive JavaScript syntax: -mySelect.type 1904