javascript scrollbarShadowColor attribute


  Translation results:

scrollbar

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

Scroll bar, scroll bar

shadow

英[ˈʃædəʊ] 美[ˈʃædoʊ]

n.Shadow;shadow;ghost,ghost;hiding place

vt.Cast a shadow on;make hazy;track , trailing; foreshadowing

vi.gradient; gloomy

adj. of shadow; of shadow cabinet; informal

Third person singular: shadows Plural: shadows Present participle: shadowing past tense: shadowed past participle: shadowed

color

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

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

v.<Beauty>To color; to change the color of Color; blush

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

javascript scrollbarShadowColor attributesyntax

Function:Set the color of the right and bottom sides of arrows and scroll bars.

Syntax: Object.style.scrollbarShadowColor=color

Comments: This property can be used together with scrollbarDarkShadowColor to set the shadow effect on the scroll bar .

javascript scrollbarShadowColor attributeexample

<html>
<head>
<script type="text/javascript">
function setScrollbarShadowColor()
{
document.body.style.scrollbarShadowColor="pink";
}
</script>
</head> 
<body>

<input type="button" onclick="setScrollbarShadowColor()"
value="Set ScrollbarShadowColor" />

</body>
</html>

Run instance »

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

Home

Videos

Q&A