internet-explorer-11

Javascript code for Input range slider not working in internet explorer 11

浪子不回头ぞ 提交于 2020-07-21 05:29:05
问题 This is my html code <input type="range" name="que1" min="0" max="100" value="0" class="slider" id="myRange"> And the javascript code for it is var slider = document.getElementById('myRange') function onChange(event) { var x = event.target.value if (x == 0) { slider.className = '' } else if (x > 30 && x < 60) { slider.className = 'MyClass-1' } else if (x == 100) { slider.className = 'MyClass-2' } } slider.addEventListener('input', onChange) As I drag the slider , the value changes but the

simple css grid not working on IE11

别来无恙 提交于 2020-07-09 13:09:59
问题 I'm experimenting with css grid and i'm trying to make a simple example, but it does not seem to work on IE11 although i use the appropriate syntax: .grid { background: gold; height: 90vh; display: -ms-grid; display: grid; grid-gap: 20px; -ms-grid-columns: 405px 1fr; grid-template-columns: 405px 1fr; grid-template-rows: 1fr; -ms-grid-rows: 1fr; } section { background: red; } <div class="grid"> <section> section1 </section> <section> section2 </section> </div> 回答1: Apparently you need to

simple css grid not working on IE11

自闭症网瘾萝莉.ら 提交于 2020-07-09 13:09:45
问题 I'm experimenting with css grid and i'm trying to make a simple example, but it does not seem to work on IE11 although i use the appropriate syntax: .grid { background: gold; height: 90vh; display: -ms-grid; display: grid; grid-gap: 20px; -ms-grid-columns: 405px 1fr; grid-template-columns: 405px 1fr; grid-template-rows: 1fr; -ms-grid-rows: 1fr; } section { background: red; } <div class="grid"> <section> section1 </section> <section> section2 </section> </div> 回答1: Apparently you need to

simple css grid not working on IE11

家住魔仙堡 提交于 2020-07-09 13:08:47
问题 I'm experimenting with css grid and i'm trying to make a simple example, but it does not seem to work on IE11 although i use the appropriate syntax: .grid { background: gold; height: 90vh; display: -ms-grid; display: grid; grid-gap: 20px; -ms-grid-columns: 405px 1fr; grid-template-columns: 405px 1fr; grid-template-rows: 1fr; -ms-grid-rows: 1fr; } section { background: red; } <div class="grid"> <section> section1 </section> <section> section2 </section> </div> 回答1: Apparently you need to

Disable HTTP2 in IE11

。_饼干妹妹 提交于 2020-06-26 14:38:15
问题 I encountered problems in IE11 in combination with HTTP2 (SCRIPT7002: XMLHttpRequest: Network Error 0x2eff, Could not complete the operation due to error 00002eff.). These seem only to occur with IE11 / Win10 and HTTP2 enabled on our Tomcat. After researching here and trying nearly every suggestion we came to the decision to disable HTTP2. Since we want to use HTTP2 for other browsers our solution is to disable it in IE 11. On the first system it worked on the second system IE11 is just

Abort Controller in IE11 doesn't work. Any way to support it

梦想的初衷 提交于 2020-06-17 03:04:11
问题 Tried using https://www.npmjs.com/package/abortcontroller-polyfill?activeTab=readme to use this controller on IE. But it does not work 回答1: To get window.AbortController() running in IE11, take a look at their IE11 example. Install: promise-polyfill unfetch abortcontroller-polyfill Add the following to your work before AbortController is called. import 'promise-polyfill/src/polyfill'; import 'unfetch/polyfill'; import 'abortcontroller-polyfill'; 来源: https://stackoverflow.com/questions

Abort Controller in IE11 doesn't work. Any way to support it

佐手、 提交于 2020-06-17 03:02:03
问题 Tried using https://www.npmjs.com/package/abortcontroller-polyfill?activeTab=readme to use this controller on IE. But it does not work 回答1: To get window.AbortController() running in IE11, take a look at their IE11 example. Install: promise-polyfill unfetch abortcontroller-polyfill Add the following to your work before AbortController is called. import 'promise-polyfill/src/polyfill'; import 'unfetch/polyfill'; import 'abortcontroller-polyfill'; 来源: https://stackoverflow.com/questions

IE 11 throwing “'timeZone' is outside of valid range” when setting timezone to “Europe/London”

陌路散爱 提交于 2020-06-14 06:52:23
问题 I have some js to get the local time displayed in uk's timezone. var d = new Date(); // local system time (whatever timezone that is) var dUK = new Date(d.toLocaleString('en-GB', { timeZone: 'Europe/London' })); // UK timezone (covers BST too) Works fine in all browsers except IE 11(sigh...) which throws the following error: Option value 'EUROPE/LONDON' for 'timeZone' is outside of valid range. Expected: ['UTC'] Does anybody have any suggestions? See http://jsbin.com/dawaqocuvi/1/edit?html,js

How to make this simple css-grid layout work in IE11

只谈情不闲聊 提交于 2020-06-13 05:52:09
问题 I'm building a prototype for a simple 3-panels slide thing. On the second panel, I'd like to use css-grid to have a simple way to divide the panel into 4 equal and responsive areas, 100% container's height. Here's the demo: http://jsfiddle.net/stratboy/obnkc2x5/1/ Some of the code: <div class="sub-grid-container"> <div class="sub-grid-item">sub 1</div> <div class="sub-grid-item">sub 2</div> <div class="sub-grid-item">sub 3</div> <div class="sub-grid-item">sub 4</div> </div> And the relevant

How to make this simple css-grid layout work in IE11

梦想与她 提交于 2020-06-13 05:51:05
问题 I'm building a prototype for a simple 3-panels slide thing. On the second panel, I'd like to use css-grid to have a simple way to divide the panel into 4 equal and responsive areas, 100% container's height. Here's the demo: http://jsfiddle.net/stratboy/obnkc2x5/1/ Some of the code: <div class="sub-grid-container"> <div class="sub-grid-item">sub 1</div> <div class="sub-grid-item">sub 2</div> <div class="sub-grid-item">sub 3</div> <div class="sub-grid-item">sub 4</div> </div> And the relevant