Vertical scrollbar does not work when using xp window theme (not classic)

It may seem crazy, and I did not believe it until I saw it for myself.

The vertical scrollbar does not scroll when you click in the space between the scroller or arrows. You need to drag the panel to scroll it. This only happens on an ugly default theme (and not on classic Windows).

The scrollbar has heavy javascript behind it, which scrolls the scroll of another DIV on the page.

Has anyone even come across this before? Why the hell does this topic affect IE rendering? Only IE!

edit : this problem occurs when you are in a "non-classic" XP theme (ugly by default). switching themes do not cause this, but it fixes it if you switch to classic by default.

+3
source share
4 answers

Does this help when adding

<!--[if IE]><meta http-equiv="MSThemeCompatible" content="no"><![endif]-->

to your page source? It worked well to work with glitches in IE when a non-classic theme is enabled for me. Please note that there are conditional comments, so firefox does not parse the tag (because sometimes it will ruin the scrollbars in firefox).

+3
source

IE7 XP. , , . , .

( div # ) 18 . , .

<div id="scroll">
     <div id="fill">
     </div>
</div>

, :

#fill{
    width: 1px;
    height: 1000px;
}

#scroll {
    width: 18px; /* This has to be larger than or equal to 18. */
    height: 50px;
    overflow-y: scroll;
}

,

+2

Windows, IE , -.

The Old New Thing:

< >

Internet Explorer , -. checkbox , , .. Internet Explorer " " , . ( , DrawThemeBackground DrawFrameControl .)

, , , - <SELECT> .

, , . , , , " " " ", . , IE , .

</ >

, , , : " IE ".

Microsoft, ; , , microsoft.public.internetexplorer.general . IE6, KB824145 KB832894, . .

+1

-, , IE - , -.

, Google - . , -, . , , , (, ...), .

: ? Geeks. IE? . ^^... , .

, : " javascript, DIV ".

0

Source: https://habr.com/ru/post/1710035/


All Articles