javascript scrollbarArrowColor attribute


  Translation results:

scrollbar

UK[skrəʊba:] US[skroʊba:]

Scroll bar, scroll bar

arrow

英[ˈærəʊ] 美[ˈæroʊ]

n. Arrow, arrow; arrow-shaped object; arrow mark; [天] celestial arrow

Plural: arrows

color

英['kʌlə(r)] 美[ˈkʌlɚ]

n.<Beauty>Color, color; skin color, Complexion, blood color; pigment, dye; essence

v.<Beauty>To color...; to change the color of...; to whitewash, to render, to give color; to blush

Third person Singular: colors Plural: colors Present participle: coloring Past tense: colored Past participle: colored

javascript scrollbarArrowColor attributesyntax

Function:Set the color of the arrow in the scroll bar.

Syntax: Object.style.scrollbarArrowColor=color

javascript scrollbarArrowColor attributeexample

<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>

Run instance »

Click the "Run instance" button to view the online instance

Home

Videos

Q&A