HTML DOM scrollbarArrowColor Property
Complete Style Object Reference
Definition and Usage
The scrollbarArrowColor property sets the color of the arrows in a scroll bar.
Syntax
Object.style.scrollbarArrowColor=color
|
Possible Values
Value |
Description |
color |
The color value can be a color name (red), an rgb value
(rgb(255,0,0)), or a hex number (#ff0000) |
Example
The following example sets the color of the arrows in the scroll bar:
<html>
<head>
<script type="text/javascript">
function setScrollbarArrowColor()
{
document.body.style.scrollbarArrowColor="green";
}
</script>
</head>
<body>
<input type="button" onclick="setScrollbarArrowColor()"
value="Set ScrollbarArrowColor" />
</body>
</html>
|
Try-It-Yourself Demos
scrollbarArrowColor
Complete Style Object Reference
Learn XML with <oXygen/> XML Editor - Free Trial!
|
|
oXygen helps you learn to define,
edit, validate and transform XML documents. Supported technologies include XML Schema,
DTD, Relax NG, XSLT, XPath, XQuery, CSS.
Understand in no time how XSLT and XQuery work by using the intuitive oXygen debugger!
Do you have any XML related questions? Get free answers from the oXygen
XML forum
and from the video
demonstrations.
Download a FREE 30-day trial today!
|
|