Results 1 - 20 of 54

Using URL values for the cursor property

Gecko 1.8 (Firefox 1.5, SeaMonkey 1.0) supports URL values for the CSS cursor property on Windows and Linux. Mac support was added in Gecko 2 (Firefox 4). This allows specifying arbitrary images as mouse cursors — any image format supported by Gecko can be used.
CSS Gecko Reference Référence


Returns the build identifier of the browser.
API DOM Gecko Property


The Node.lastChild read-only property returns the last child of the node. If its parent is an element, then the child is generally an element node, a text node, or a comment node. It returns null if there are no child elements.
API DOM Gecko Property


The Node.nodeName read-only property returns the name of the current node as a string.
API DOM Gecko Property


The Node.nodeValue property returns or sets the value of the current node.
API DOM Gecko Property


The Node.previousSibling read-only property returns the node immediately preceding the specified one in its parent's childNodes list, or null if the specified node is the first in that list.
API DOM Gecko Property


A processing instruction provides an opportunity for application-specific instructions to be embedded within XML and which can be ignored by XML processors which do not support processing their instructions (outside of their having a place in the DOM).


Shifts focus away from the window.
API DOM Gecko Method


Makes a request to bring the window to the front. It may fail due to user settings and the window isn't guaranteed to be frontmost before this method returns.
API DOM Gecko Method


getAttributeNS returns the string value of the attribute with the specified namespace and name. If the named attribute does not exist, the value returned will either be null or "" (the empty string); see Notes for details.
API DOM Gecko Method Reference

Comparison of Event Targets

It's easy to get confused about which target to examine when writing an event handler. This article should clarify the use of the target properties.
DOM Gecko NeedsContent NeedsExample NeedsHelp


Identifies the current target for the event, as the event traverses the DOM. It always refers to the element the event handler has been attached to as opposed to which identifies the element on which the event occurred.
API DOM Gecko NeedsBrowserCompatibility Property


Indicates which phase of the event flow is currently being evaluated.
API DOM Gecko Property Reference


Returns a string that identifies the current operating system.
API Gecko Property Reference Référence


The Node.firstChild read-only property returns the node's first child in the tree, or null if the node is childless. If the node is a Document, it returns the first node in the list of its direct children.
API DOM Gecko Node Property


The Node.nextSibling read-only property returns the node immediately following the specified one in its parent's childNodes list, or null if the specified node is the last node in that list.
API DOM Gecko Node Property


The Node.ownerDocument read-only property returns the top-level document object for this node.
API DOM Gecko NeedsBrowserCompatibility Property


The Node.parentNode read-only property returns the parent of the specified node in the DOM tree.
API DOM Gecko NeedsBrowserCompatibility Property