internet-explorer

constructor.name is undefined in Internet Explorer

*爱你&永不变心* 提交于 2020-05-10 07:33:05
问题 My debugging work in IE ended today by finding that constructor.name is undefined . I created the following simple code that reproduces the issue: ({}).constructor.name === undefined // => true Is there any workaround to make this work? Maybe overriding somehow the prototype? If possible, I don't want to change the syntax, because the change would be major. JSFIDDLE 回答1: The problem is simply that the name property of function objects is not supported in Internet Explorer. The property is non

Sub Nav doesnt appear over the image in ie7

我们两清 提交于 2020-04-30 12:28:17
问题 This is possibly the most irritating thing ever. I've spent a long long time troubleshooting to this to no avail, so please someone help put me out of misery!! I'm trying to float the sub nav under products over the image below in IE7. Easy? NOPE! 回答1: On #menu ul , remove position: relative . On #header , remove position: relative , and add some high z-index value. I tested it with z-index: 300 . See this previous answer of mine for further information about the nature of the bug. 来源: https:

Sub Nav doesnt appear over the image in ie7

穿精又带淫゛_ 提交于 2020-04-30 12:27:10
问题 This is possibly the most irritating thing ever. I've spent a long long time troubleshooting to this to no avail, so please someone help put me out of misery!! I'm trying to float the sub nav under products over the image below in IE7. Easy? NOPE! 回答1: On #menu ul , remove position: relative . On #header , remove position: relative , and add some high z-index value. I tested it with z-index: 300 . See this previous answer of mine for further information about the nature of the bug. 来源: https:

SVG linear gradient dont work in ie11

橙三吉。 提交于 2020-04-30 07:48:19
问题 I have this gradient code in an SVG-File: <linearGradient id="SVGRD" gradientUnits="userSpaceOnUse" x1="-243.3" y1="1257.3" x2="-242.3" y2="1257.3" gradientTransform="matrix(-64.7347 -199.2328 -199.2328 64.7347 234813.9219 -129743.9844)"> <stop offset="0" style="stop-color:#B3B3B3"/> <stop offset="0.45" style="stop-color:#B3B3B3;stop-opacity:0.22"/> <stop offset="1" style="stop-color:#B3B3B3;stop-opacity:0"/> </linearGradient> <path style="fill:url(#SVGRD);" d="M142.7,133L105,18.5H0V133H142

How to prevent IE9 from rendering intranet sites in compatibility mode

和自甴很熟 提交于 2020-04-19 05:49:29
问题 IE9 has a weird problem where it renders intranet sites in compatibility mode. Does anyone know a way how to prevent this from happening? Note: I am not looking for a way to prevent it on a single users machine, but some programmatic way to prevent the site from ever rendering in compatibility mode. 回答1: After an exhaustive search, I found out how to successfully prevent an intranet site from rendering in compatibility mode in IE9 on this blog: From Tesmond's blog There are 2 quirks in IE9

How to prevent IE9 from rendering intranet sites in compatibility mode

别等时光非礼了梦想. 提交于 2020-04-19 05:49:13
问题 IE9 has a weird problem where it renders intranet sites in compatibility mode. Does anyone know a way how to prevent this from happening? Note: I am not looking for a way to prevent it on a single users machine, but some programmatic way to prevent the site from ever rendering in compatibility mode. 回答1: After an exhaustive search, I found out how to successfully prevent an intranet site from rendering in compatibility mode in IE9 on this blog: From Tesmond's blog There are 2 quirks in IE9

How to prevent IE9 from rendering intranet sites in compatibility mode

一世执手 提交于 2020-04-19 05:47:55
问题 IE9 has a weird problem where it renders intranet sites in compatibility mode. Does anyone know a way how to prevent this from happening? Note: I am not looking for a way to prevent it on a single users machine, but some programmatic way to prevent the site from ever rendering in compatibility mode. 回答1: After an exhaustive search, I found out how to successfully prevent an intranet site from rendering in compatibility mode in IE9 on this blog: From Tesmond's blog There are 2 quirks in IE9

Detect file download with internet explorer

五迷三道 提交于 2020-04-16 05:45:40
问题 I am looking for a way to detect when user download a file event in internet explorer, but I didn't found a way yet, is it possible at all? how? 回答1: You can try to detect file download in browser using jQuery File Download plugin. For more information, you could refer to this thread. Note - You must also write a cookie in conjunction with using this plugin in the server's response headers But I think you can't achieve your goal with only client-side code due to security issues. From the

IE Developer Tools breakpoints are not working

旧城冷巷雨未停 提交于 2020-04-10 06:48:11
问题 I'm trying to debug some javascript in IE 11 and I'm not able to force it to stop on a breakpoint. debugger; line works fine (stops debugger in that line), same file without a debugger; line but with a breakpoint set in the same place does nothing (function works fine, but debugger does not stop on a breakpoint). Chrome's and Firefox's debuggers stop on breakpoints in the same places. Any thoughts what could be the cause of this behavior? 回答1: Hamlet, in the comments to OP question, gave the

Targeting IE 11 in css not working

杀马特。学长 韩版系。学妹 提交于 2020-04-09 19:15:08
问题 I'm trying to fix a tiny layout issue in IE11 where slider pip jumps out of its place (it's fine in the rest of major browsers) I've added media query to stylesheet (below) but no luck. I've also tried conditional code, various hacks etc. But nothing worked or affected all browsers. I've spent a couple of hours trying various solutions without any luck and ran out of ideas. Need help please. Layout issue illustrated @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {