internet-explorer-10

Check for IE 10 [duplicate]

心不动则不痛 提交于 2019-11-27 17:58:44
This question already has an answer here: How do I target only Internet Explorer 10 for certain situations like Internet Explorer-specific CSS or Internet Explorer-specific JavaScript code? 25 answers How can I make a message box appear on page load if the user is using IE 10? function ieMessage() { alert("Hello you are using I.E.10"); } My webpage is a JSF facelet (XHTML). Ian The real way to detect this, without conditional comments and without User Agent sniffing is with conditional compilation: <script type="text/javascript"> var isIE10 = false; /*@cc_on if (/^10/.test(@_jscript_version))

how to fix Visual Studio 2012 after installing IE10 on Windows 7?

两盒软妹~` 提交于 2019-11-27 17:54:47
问题 I recently upgraded my machine to Internet Explorer 10 . I use Visual Studio 2012 (VS2012) under Windows 7. Since I upgraded to IE10, VS2012 does not automatically attach to the iexplorer.exe process anymore. And I have 2 entries in the drop down. Any idea what I should do? (Yes, I should be upgrading to Win8 and a clean install in the coming months...) 回答1: I am not sure if you already found a solution on this but if you select any other browser, in your case select Google Chrome. Then, run

Detect IE10 compatibility mode

倖福魔咒の 提交于 2019-11-27 17:44:46
问题 I have some specific code paths for IE 10 and rest of the IE versions. If IE10 is running in compatibility mode, browser version is set to 7.0. Is there a way to detect if it is IE 10 irrespective of the standard/compatibility mode using JavaScript/JQuery? 回答1: You can detect this using the navigator.userAgent string, for example "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; WOW64; Trident/6.0 ; .NET4.0E; .NET4.0C; InfoPath.3; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729;

ie10 and flexboxes? (nightmare)

自古美人都是妖i 提交于 2019-11-27 17:38:38
Unfortunately, I have to make my website code compatible with Internet Explorer 10 and am having some issues, even after reading the documentation on their official website here is my css code: .uberflex { display: flex; flex-direction: column; flex-wrap: wrap; justify-content: flex-start; align-items: flex-start; display: -webkit-flex; -webkit-flex-flow: column wrap; -webkit-justify-content: flex-start; -webkit-align-items: flex-start; display: -ms-flexbox; -ms-flex-flow: column wrap; -ms-justify-content: flex-start; -ms-align-items: flex-start; } To my knowledge, ie10 supports flexbox but

IE10 and jQuery: SCRIPT5009: “$” is undefined

旧城冷巷雨未停 提交于 2019-11-27 17:23:20
问题 I'm faced with this really annoying problem, it appears in IE10 like in IE9. Given this HTML: <head> <title>Any Consult</title> <meta charset="utf-8" /> <link rel="stylesheet" type="text/css" href="styles.css" /> <!--[if lte IE 9]> <script src="scripts/IE9.js"></script> <![endif]--> <script type="text/javascript" src="scripts/jquery.js"></script> <script type="text/javascript" src="scripts/scripts.js"></script> </head> This (scripts.js) works fine in FF and Chrome, but IE10 throws the

Why transitions for some CSS properties are slow and none fluent

▼魔方 西西 提交于 2019-11-27 16:12:01
问题 I spent a bout 4 hours on having a simple transition with an acceptable performance: First I tried this code : left: 2000px; -webkit-transition: left 1s linear; -moz-transition: left 1s linear; -ms-transition: left 1s linear; The result was terrible on Chrome v21.0.1180.89 and FireFox v15.0.1, but was great on IE10. I captured the CPU usage and GPU usage graph and found that chrome does not use GPU for basic css properties, What is the solution for modern-browsers? 回答1: Don't use left or top,

IE10 - CSS animation not working

放肆的年华 提交于 2019-11-27 16:10:01
I have a scale animation that worked in IE10 for about a day and then stopped. I didn't make any changes and am not sure what would happen to break it. Does anyone have any ideas? When I look in the IE dev tools it's not picking up the animation name, but is picking up all the other properties. Here's the CSS: @-ms-keyframes move97 { 0% { transform:scale(1,1); -ms-transform:scale(1,1); -moz-transform:scale(1,1); -webkit-transform:scale(1,1); -o-transform:scale(1,1); } 50% { transform:scale(0.97,0.97); -ms-transform:scale(0.97,0.97); -moz-transform:scale(0.97,0.97); -webkit-transform:scale(0.97

internet explorer 10 not showing svg path (d3.js graph)

喜你入骨 提交于 2019-11-27 14:34:58
问题 If I open this graph for example: http://bl.ocks.org/mbostock/1153292 in IE10, i just can't see the links between the nodes. Is there anything I can do in the code to make it possible to see even with Internet Explorer? It seems IE just ignore some pieces of the svg... I couldn't find any way to make it visible. 回答1: Summary: There is a bug in IE that causes paths with markers to render improperly. The original code with markers removed renders without problem. There are three solutions: Don

window.devicePixelRatio does not work in IE 10 Mobile?

和自甴很熟 提交于 2019-11-27 14:12:06
问题 I am using window.devicePixelRatio which works on Andriod and Iphone but does not work in IE 10 Windows mobile. any alternative? 回答1: For a IE fallback, both desktop and mobile, use: window.devicePixelRatio = window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI; 回答2: window.devicePixelRatio = window.devicePixelRatio || Math.round(window.screen.availWidth / document.documentElement.clientWidth) Got it from http://blogs.windows.com/windows_phone/b/wpdev/archive/2012

Silverlight app disappears on page refresh in IE10

偶尔善良 提交于 2019-11-27 14:08:50
问题 UPDATE: There is a workaround to the problem. It is to force IE10 into compatibility mode by including one of the following meta tags: <meta http-equiv="x-ua-compatible" content="IE=7" /> <meta http-equiv="x-ua-compatible" content="IE=8" /> This is not really a perfect solution for various reasons, but it eliminates the problem at least. ORIGINAL QUESTION: I realised a couple of months ago that there is a problem with our Silverlight application in IE10 on Windows 8 (I have not tried the IE10