XUL Programmer's Reference Manual

<grippy>

Attributes Common Children
accesskey * * *
id  
class  
src  
 

 

The <grippy /> element is a special box that appears as a handle on the sidebars, toolbars, and in other places where "handles" are needed to collapse and expand portions of the user interface. The following figure shows the grippy on the browser toolbars (in the Mozillium theme) and on the sidebar:

  
Grippies take most of their appearance from CSS properties that come from the class on the <grippy> element. The following style definition in splitter.css, for example, describes the grippy that appears between the sidebar and the main content area of the browser:
grippy {
	margin: 0px;
	border: 2px solid #003366;
	padding: 0px;
	background-color: #6699CC;
	list-style-image: none;
	cursor: pointer;
}
accesskey
Description
The accesskey attribute specifies a key to use as a shortcut to access the element.
Syntax
<grippy accesskey="shortcut key" > />
Example
<grippy id="mini_grip" accesskey="&minigrip.accesskey;" />
Notes

None.

 
 
 
src
Description
The src attribute specifies an image to be loaded for the <grippy />
Syntax
<grippy src="url for image file />
Example
<grippy src="grip_big.gif" ...
Notes

If there is no src specified, an image may come from the class or not be there at all.

 
 
 

 
Last updated: 02/22/01 Ian Oeschger