He Shiming
He Shiming

Reputation: 5819

Windows 8 Javascript App, controlling scrollbar style?

By setting overflow: scroll on an element, I can get scroll function working in a Windows 8 Javascript App.

I noticed that there are 2 types of scrollbars, see the image below.

scrollbars

When hovering the element, the scrollbar on the right side of the image appears. After a few seconds it'll disappear. At this point, if I choose to scroll using mouse wheel or gesture, the scrollbar on the left side will appear.

Is it possible to control scrolling behavior, so that only the left kind appears?

Upvotes: 2

Views: 668

Answers (1)

JP Alioto
JP Alioto

Reputation: 45117

No. This is determined by the OS depending on whether you are using touch input or mouse/keyboard input.

Per comment: See "the scroll control" in this article.

Upvotes: 1

Related Questions