HTML DOM scrollbarFaceColor Property
Complete Style Object Reference
Definition and Usage
The scrollbarFaceColor property sets the front color of a scroll bar.
Syntax
Object.style.scrollbarFaceColor=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 changes the front color of the scrollbar:
<html>
<head>
<script type="text/javascript">
function setScrollbarFaceColor()
{
document.body.style.scrollbarFaceColor="green";
}
</script>
</head>
<body>
<input type="button" onclick="setScrollbarFaceColor()"
value="Set ScrollbarFaceColor" />
</body>
</html>
|
Try-It-Yourself Demos
scrollbarFaceColor
Complete Style Object Reference
|
|
|
See why there are 20,000+ Ektron integrations worldwide.
Request an INSTANT DEMO or download a FREE TRIAL today. |
|
|
|