Archive for August, 2007

Post office web site - L Layer.x (Property) Layer.x (Property) The present

Friday, August 31st, 2007

L Layer.x (Property) Layer.x (Property) The present X position of this layer. JavaScript 1.2 Netscape 4.0 Deprecated Availability: Property/method value type: JavaScript syntax: N Number primitive myLayer.x The horizontal position of the object in the display measured in pixels. You can use the x and y coordinates of the object as targets of the scrollTo()method for the window it lives in. Warnings: . No longer supported in Netscape 6.0. Layer.y (Property) The present Y position of this layer. JavaScript 1.2 Netscape 4.0 Deprecated Availability: Property/method value type: JavaScript syntax: N Number primitive myLayer.y The vertical position of the object in the display measured in pixels. You can use the x and y coordinates of the object as targets of the scrollTo()method for the window it lives in. Warnings: . No longer supported in Netscape 6.0. Layer.zIndex (Property) The location of the layer within the Z ordered list of layers. JavaScript 1.2 Netscape 4.0 Deprecated Availability: Property/method value type: JavaScript syntax: N Number primitive myLayer.zIndex 1317

JavaScript Programmer’s Reference This controls the visibility of

Friday, August 31st, 2007

JavaScript Programmer’s Reference This controls the visibility of a Netscape layer. It accepts the following values: . hide . inherit . show It also accepts these CSS syntax values (which it converts internally): . hidden . visible Warnings: . When set to hide, the gap won’t be filled by surrounding content. . No longer supported in Netscape 6.0. See also: Layer.hidden, style.visibility Layer.window (Property) The window that this layer belongs to. JavaScript 1.2 Netscape 4.0 Deprecated Availability: Property/method value type: JavaScript syntax: N Window object myLayer.window Warnings: . No longer supported in Netscape 6.0. See also: Frame object, Window object 1316

Web hosting service - L Layer.top (Property) Warnings: . If you

Thursday, August 30th, 2007

L Layer.top (Property) Warnings: . If you are having problems with this, try creating an absolute positioned

container and then use the Layer.load() method instead. According to reports from other developers, that works better in Netscape 4. . This doesn’t work with ILAYERelements, in Netscape 4. . No longer supported in Netscape 6.0. See also: javascript: URL, Layer.load() Layer.top (Property) The y-coordinate (in pixels) of the layer relative to its containing layer. JavaScript 1.2 Netscape 4.0 Deprecated Availability: Property/method value type: JavaScript syntax: N Number primitive myLayer.top In Netscape this defines the top edge coordinate of a layer. It corresponds to the pixelTop property of an MSIE style object. Warnings: . No longer supported in Netscape 6.0. See also: style.pixelTop, style.posTop Layer.visibility (Property) Whether a layer is visible or not. JavaScript 1.2 Netscape 4.0 Deprecated Availability: Property/method value type: JavaScript syntax: Boolean primitive myLayer.visibility N myLayer.visibility = “hide” N myLayer.visibility = “show” N 1315

Kids web site - JavaScript Programmer’s Reference Warnings: . No longer supported

Wednesday, August 29th, 2007

JavaScript Programmer’s Reference Warnings: . No longer supported in Netscape 6.0. See also: Hierarchy of objects, Layer object, Layer.siblingBelow Property attributes: ReadOnly. Layer.siblingBelow (Property) A layer that is related to this layer and below it in the Z ordering. JavaScript 1.2 Netscape 4.0 Deprecated Availability: Property/method value type: JavaScript syntax: N Warnings: .No longer supported in Netscape 6.0. Layer object myLayer.siblingBelow See also: Layer object, Layer.siblingAbove Property attributes: ReadOnly. Layer.src (Property) The source URL for a layer. JavaScript 1.2 Netscape 4.0 Deprecated Availability: Property/method value type: JavaScript syntax: N String primitive myLayer.src Changing this layer property value forces the browser to load a new document into the layer. This can work very effectively if you generate dynamic content via a javascript: URL as the value assigned to the src property. 1314

L Layer.siblingAbove (Property) Any layers sharing a

Tuesday, August 28th, 2007

L Layer.siblingAbove (Property) Any layers sharing a common parent layer will all be present in the same layers[] collection. They are considered to be siblings and can be ordered with respect to one another. They are ordered collectively by their parent’s relationship with its siblings and you cannot interleave siblings from different sets with one another; the set as a whole must be ordered within its parent’s z-axis location. Parent/Child Siblings Siblings sibling above sibling above sibling above 1313

Web space - JavaScript Programmer’s Reference Object 1 Object 2 Object

Monday, August 27th, 2007

JavaScript Programmer’s Reference Object 1 Object 2 Object 3 Object 4 Warnings: . No longer supported in Netscape 6.0. See also: Layer.handleEvent(), Window.routeEvent() Layer.siblingAbove (Property) A layer that is related to this layer and above it in the Z ordering. JavaScript 1.2 Netscape 4.0 Deprecated Availability: Property/method value type: JavaScript syntax: N Layer object myLayer.siblingAbove Given that a layer arrangement is yet another example of a tree structured hierarchy within a page, this property yields the next higher sibling belonging to the same parent (or null if this is the highest element). 1312

L Layer.resizeTo() (Method) Layer.resizeTo() (Method) (Mac os x web server) Adjusts the

Monday, August 27th, 2007

L Layer.resizeTo() (Method) Layer.resizeTo() (Method) Adjusts the size of a layer to an absolute value. JavaScript 1.2 Netscape 4.0 Deprecated Availability: JavaScript syntax: N anX An X axis value Argument list: aY myLayer.resizeTo(anX, aY) A Y axis value This method provides a way to set the absolute size of a layer as opposed to the relative sizing offered by the resizeBy() method. Although the size changes, the top left corner will remain pinned to its current location growing or shrinking the layer to the right and bottom of its extent. Warnings: . No longer supported in Netscape 6.0. See also: Layer.resizeBy() Layer.routeEvent() (Function) Part of the Netscape event propagation complex. Availability: JavaScript 1.2 Netscape 4.0 Deprecated Property/method value type: undefined JavaScript syntax: N myLayer.routeEvent(anEvent) Argument list: An event object anEvent 1311

JavaScript Programmer’s (Mac os x web server) Reference Layer.resizeBy() (Method) Adjusts the size

Sunday, August 26th, 2007

JavaScript Programmer’s Reference Layer.resizeBy() (Method) Adjusts the size of a layer by a relative amount. JavaScript 1.2 Netscape 4.0 Deprecated Availability: JavaScript syntax: N anX A relative distance in the X axis Argument list: aY The layer can have its size adjusted by a value measured in pixels. This can apply to the horizontal or vertical axis or both if necessary. The value can be positive or negative causing the layer to grow or shrink respectively. Although the size changes, the top left corner will remain pinned to its current location growing or shrinking the layer to the right and bottom of its extent. myLayer.resizeBy(anX, aY) A relative distance in the Y axis Delta X Delta Y Warnings: . No longer supported in Netscape 6.0. See also: Layer.resizeTo() 1310

L Layer.releaseEvents() (Function) Warnings: . No longer (Web server on xp)

Saturday, August 25th, 2007

L Layer.releaseEvents() (Function) Warnings: . No longer supported in Netscape 6.0. See also: Layer.moveTo() Property attributes: ReadOnly. Layer.releaseEvents() (Function) Part of the Netscape 4 event propagation complex. JavaScript 1.2 Netscape 4.0 Deprecated Availability: Property/method value type: undefined JavaScript syntax: myLayer.releaseEvents(anEventMask) N anEventMask A mask defined with the manifest event Argument list: constants This is part of the event management suite which allows events to be routed to handlers other than just the one that defaults to being associated with an event. The events to be captured are signified by setting bits in a mask. This method provides a means of indicating which events are no longer needing to be captured by the receiving Layer object. The events are specified by using the bitwise OR operator (|) to combine the required event mask constants into a mask that defines the events you want to capture. Refer to the Event Type Constants topic for a list of the event mask values. Since this is only supported by Netscape, the functionality is likely to be deprecated when the standards bodies agree on a standard way of handling events. In the meantime, we shall have to implement scripts using this capability if we need to build complex event handling systems. A different script will be required for MSIE. You may be able to factor your event handler so that you only have to make platform specific event dispatchers, and can call common handling routines that can be shared between MSIE and Netscape. Warnings: . No longer supported in Netscape 6.0. captureEvents(), Document.captureEvents(), Document.releaseEvents(), Element.onevent, Event propagation, Event type constants, Event.modifiers, Frame object, Layer.captureEvents(), onMouseMove, Window object, Window.releaseEvents() See also: 1309

Database web hosting - JavaScript Programmer’s Reference Layer.pageY (Property) The Y-coordinate of

Saturday, August 25th, 2007

JavaScript Programmer’s Reference Layer.pageY (Property) The Y-coordinate of the layer relative to the top level document. Availability: JavaScript 1.2 Netscape 4.0 Deprecated Property/method value type: Number primitive JavaScript syntax: N myLayer.pageY Offset X Window Layer 1 Layer 2 Offset Y Warnings: . No longer supported in Netscape 6.0. See also: Layer.moveToAbsolute() Layer.parentLayer (Property) The layer containing the current layer (for a single layer, this is the window object). JavaScript 1.2 Netscape 4.0 Deprecated Availability: Property/method value type: JavaScript syntax: N Layer or Window object myLayer.parentLayer 1308