javascript scrollbarHighlightColor属性


  Translation results:

scrollbar

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

Scroll bar, scroll bar

high

英[haɪ] 美[haɪ]

adj. High; noble, lofty; high-pitched; advanced, high-level

adv. (Degree, etc.) high ground; high-priced place; luxurious place

n. High place, high position; [Meteorology] high pressure; high-pressure zone; high level

Plural: highs comparative: higher highest Advanced: highest

light

英[laɪt]  美[laɪt]   

n.Light; luminous body; electric lamp; igniter

adj.Light;bright;light-colored;a small amount

v.ignite;illuminate;guide with light

adv.lightly, lightly packed

Third person singular: lights Plural: lights Present participle: lighting Past tense: lit lighted Past participle: lit lighted Comparative: lighter Superlative: lightest

color

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

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

v.< ;beautiful>color...;change the color of...;whitewash,render,color;blush

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

javascript scrollbarHighlightColor属性syntax

Function:Set the color of the left and top sides of the arrow and scroll bar, as well as the background of the scroll bar.

Syntax: Object.style.scrollbarHighlightColor=color

javascript scrollbarHighlightColor属性example

<html>
<head>
<script type="text/javascript">
function setScrollbarHighlightColor()
{
document.body.style.scrollbarHighlightColor="purple";
}
</script>
</head> 
<body>

<input type="button" onclick="setScrollbarHighlightColor()"
value="Set ScrollbarHighlightColor" />

</body>
</html>

Run instance »

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

Home

Videos

Q&A