scrollbar
UK[skrəʊba:] US[skroʊba:]
Scroll bar, scroll bar
track
英[træk] 美[træk]
n. Path, path; trace, trace; track, track; policy, route
vt. Track; Track; monitor, monitor
vi. Advance along the track; walk along a road, travel; be in a queue
Third person singular: tracks Plural: tracks Present participle: tracking Past Formula: tracked Past participle: tracked
color
英['kʌlə(r)] 美[ˈkʌlɚ]
n.<美> ; color, tint; 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 scrollbarTrackColor attribute syntax
Function:Set the background color of the scroll bar.
Syntax: Object.style.scrollbarTrackColor=color
javascript scrollbarTrackColor attribute example
<html> <head> <script type="text/javascript"> function setScrollbarTrackColor() { document.body.style.scrollbarTrackColor="pink"; } </script> </head> <body> <input type="button" onclick="setScrollbarTrackColor()" value="Set ScrollbarTrackColor" /> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance