JavaScript Programmer’s Reference In Netscape this defines the left coordinate of a layer. It corresponds to the pixelLeft property of an MSIE style object. Warnings: . No longer supported in Netscape 6.0. See also: style.pixelLeft, style.posLeft Layer.load() (Method) A method to load a new URL and resize a layer. JavaScript 1.2 Netscape 4.0 Deprecated Availability: JavaScript syntax: N aURL A document to load into the layer Argument list: aWidth A new width value for the layer myLayer.load(aURL, aWidth) This is an alternative way to load a new document into a layer. You can accomplish something similar by assigning a new value to the src property. This method will adjust the width of the layer at the same time. This can work very effectively if you generate dynamic content via a javascript: URL as the value passed to the load() method. In fact this works so much better, that the Layer.src property can be ignored for most purposes. This seems to work well with an absolutely positioned
container. Warnings: . This doesn’t work for ILayer elements in Netscape 4. . No longer supported in Netscape 6.0. See also: javascript: URL, Layer.src Layer.moveAbove() (Method) Adjusts the Z ordering of a layer. JavaScript 1.2 Netscape 4.0 Deprecated Availability: JavaScript syntax: N Argument list: The layer object to be moved above myLayer.moveAbove(aLayer) aLayer 1302
Posted in Tomcat | No Comments »
Sunday, August 19th, 2007
L Layer.layers[] (Collection) Warnings: . This property is deprecated in favor of the Layer.visibility property. However, even though it is deprecated some versions of Netscape require that it is forcibly set to false otherwise the visibility property will not function correctly. . If an object is hidden, the gap will not be filled by any surrounding content. . No longer supported in Netscape 6.0. See also: Layer.visibility Layer.layers[] (Collection) A deprecated property providing a list of child layers within this layer. JavaScript 1.2 Netscape 4.0 Deprecated Availability: Property/method value type: JavaScript syntax: N LayerArray object myLayer.layers You should access this collection via the documentobject associated with this layer. That is the recommended technique for new projects. If you see this in an old project, then it should be removed if possible and replaced with the preferred means of access. Warnings: . This property is deprecated in favor of using Layer.document.layers in its place. . No longer supported in Netscape 6.0. See also: Document.layers[], LayerArray object Property attributes: ReadOnly. Layer.left (Property) The x-coordinate relative to the containing layer. JavaScript 1.2 Netscape 4.0 Deprecated Availability: Property/method value type: JavaScript syntax: N Number primitive myLayer.left 1301
Posted in Tomcat | No Comments »
Saturday, August 18th, 2007
JavaScript Programmer’s Reference Layer.handleEvent() (Function) Pass an event to the appropriate handler for this object. JavaScript 1.2 Netscape 4.0 Deprecated Availability: Property/method value type: undefined JavaScript syntax: N myLayer.handleEvent(anEvent) Argument list: anEvent An event to be handled by this object This applies to Netscape prior to version 6.0. From that release onwards, event management follows the guidelines in the DOM level 3 event specification. On receipt of a call to this method, the receiving object will look at its available set of event handler functions and pass the event to an appropriately mapped handler function. It is essentially an event dispatcher that is granular down to the object level. The argument value is an Eventobject that contains information about the event. Warnings: . No longer supported in Netscape 6.0. See also: handleEvent(), Layer.routeEvent() Layer.hidden (Property) A deprecated property that indicates whether a layeris hidden or not. JavaScript 1.2 Netscape 4.0 Deprecated Availability: Property/method value type: JavaScript syntax: N Boolean primitive myLayer.hidden You should not use this property in new projects. If you encounter it in existing ones, if you have the time you should remove it and use the visibility property instead. 1300
Posted in Tomcat | No Comments »
Saturday, August 18th, 2007
L Layer.clip.width (Property) Layer.clip.width (Property) The width of a layer’s clip region. JavaScript 1.2 Netscape 4.0 Deprecated Availability: Property/method value type: JavaScript syntax: Number primitive myLayer.clip.width N myRect.width N The clip region is defined by an extent rectangle that surrounds the space occupied by it on the screen. An extent rectangle is that smallest rectangle that completely encloses the item. This property specifies the width of that extent rectangle. Warnings: . No longer supported in Netscape 6.0. See also: Clip.width, Rect.width Layer.document (Property) The documentobject containing this layer. JavaScript 1.2 Netscape 4.0 Deprecated Availability: Property/method value type: JavaScript syntax: N Document object myLayer.document This is the document contained within a Netscape layer object. Because each layer has its own separate document, you can use the document.open(), document.close() and document.write() methods to operate on it. Warnings: . No longer supported in Netscape 6.0. See also: Document object, Element.document Property attributes: ReadOnly. 1299
Posted in Tomcat | No Comments »
Friday, August 17th, 2007
JavaScript Programmer’s Reference Layer.clip.right (Property) The right edge of a layer’s clip region. JavaScript 1.2 Netscape 4.0 Deprecated Availability: Property/method value type: JavaScript syntax: Number primitive myLayer.clip.right N myRect.right N This defines the right edge of the clip region. You could modify this in a loop to create a horizontal wipe transition effect. Warnings: . No longer supported in Netscape 6.0. See also: Clip.right, Rect.right Layer.clip.top (Property) The top edge of a layer’s clip region. JavaScript 1.2 Netscape 4.0 Deprecated Availability: Property/method value type: JavaScript syntax: N myRect.top This defines the top edge of the clip region. You could modify this in a loop to create a vertical upward wipe transition effect. Warnings: .No longer supported in Netscape 6.0. Number primitive myLayer.clip.top N See also: Clip.top, Rect.top 1298
Posted in Tomcat | No Comments »