internet-explorer-9

How do I make IE9 emulate IE7?

99封情书 提交于 2019-12-01 04:53:34
问题 I used: <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> in the header to force IE8 to emulate IE7. Will it do the same thing for IE9? I don't have IE9 and I'm running XP so can't install it to find out. If anyone with IE9 can test this page for me, I'd greatly appreciate it! It's a mootools slideshow and works with every browser I've tried it on including IE8. Arrows should change the photo, the thumbnails should scroll back and forth. http://ianmartinphotography.com/test-site

How to use feature detection to know if browser supports border-radius? (Including IE9)

丶灬走出姿态 提交于 2019-12-01 04:50:21
I've seen plenty of examples for detecting support for border radius using something like: var cssAttributeNames = ['BorderRadius', 'MozBorderRadius', 'WebkitBorderRadius', 'OBorderRadius', 'KhtmlBorderRadius']; for (var i = 0; i < cssAttributeNames.length; i++) { var attributeName = cssAttributeNames[i]; if (window.document.body.style[attributeName] !== undefined) { this._useCss = true; break; } } But this doesn't seem to work for IE9, which does support border-radius. Am I missing something? Got it - the detection array needs 'borderRadius' added - it's case-sensitive. Modernizr is a

IE9 HTML5 placeholder - how are people achieving this?

会有一股神秘感。 提交于 2019-12-01 04:47:24
I'm trying to use the placeholder="xxx" attribute in my web application, and I don't want to have a special visual for IE9. Can people throw out some good suggestions for achieving this functionality in IE9? I've found a couple links on here but none of the suggested scripts were sufficient... and the answers were from mid-2011, so I figured maybe there is a better solution out there. Perhaps with a widely-adopted jQuery plugin? I do not want to use anything that requires intrusive code such as requiring a certain css class or something. Thanks. EDIT - I also need this to work for password

“Error: Unsupported audio type or invalid file path” for HTML5 Audio tag in Internet Explorer 10

自闭症网瘾萝莉.ら 提交于 2019-12-01 04:46:01
I have the following html5 document with audio tag and a fallback to Flash for browsers that don't support it: <!DOCTYPE html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> </head> <body> <audio autoplay controls preload="auto" autobuffer> <source src="trumpet.ogg" type="audio/ogg"> <source src="trumpet.mp3" type="audio/mp3"> <source src="trumpet.wav" type="audio/wav"> <source src="trumpet.m4a" type="audio/aac"> <!-- Flash fallback --> <object width="1" height="1" type="application/x-shockwave-flash" data="player.swf"> <param name="movie" value="player.swf">

How to add a reference to mshtml version 9 in .NET

十年热恋 提交于 2019-12-01 04:29:19
I want to use some of the new features of mshtml.dll version 9.0 such as IHTMLCSSRule. The interop version in the following folder is version 7.0.3300.1: C:\Program Files\Microsoft.NET\Primary Interop Assemblies\Microsoft.mshtml.dll The COM version in the following folder is version 9.0.8112.16441: C:\Windows\System32\mshtml.dll From what I could ascertain from the web, I should do this to create a .NET interop version 9: d:\zTemp>tlbimp mshtml.tlb /out:Microsoft.mshtml.dll /namespace:mshtml /asmversi on:9.0 This seems to have worked but generated the following warnings: TlbImp : warning

Anyone know why this :after CSS isn't working in IE9?

房东的猫 提交于 2019-12-01 04:20:46
This submit button should be rounded on the left side, and pointed on the right side. It's working in non-ie browsers, but in IE9, it is not working. If I look at the styles in the developer tools, the .flat-button:after rule has everything crossed out, as if it is superseded by something. What? <button type="submit" class="flat-button">Submit</button> <style> .flat-button { float: left; position: relative; border-top-left-radius: 5px; -moz-border-top-left-radius: 5px; -webkit-border-top-left-radius: 5px; border-bottom-left-radius: 5px; -moz-border-bottom-left-radius: 5px; -webkit-border

FileReader.js nothing happens in IE9

允我心安 提交于 2019-12-01 04:13:49
问题 I need help setting up Jadriens FileReader.js. I have set up everything as I think this polyfill works. But the callback that fires when everything is initiated doesn't fire in IE9. This is my markup: <body> <div class="main"> <canvas id="mainCanvas" width="600" height="600"></canvas><br /> <div id="fileReaderSWFObject"></div> <input type="file" id="imageLoader" name="imageLoader" /><br /> <input id="text" type="text" placeholder="some text..."> </div> <script src="//ajax.googleapis.com/ajax

Border-radius causes weird behaviour in IE9, IE10 and IE11

北战南征 提交于 2019-12-01 03:52:46
问题 This Fiddle produces expected results in real browsers (I tried FF, GC, Safari), but breaks unexpectedly in IE9, IE10 and IE11. No problems with IE7 or IE8. <div class="root"> Top <div class="footer">Bottom</div> </div> .root { background-color: red; position: absolute; height: auto; bottom: 0; top: 0; left: 0; right: 0; margin: 25px; border: 0; border-radius: 7px; overflow: hidden; } .footer { background-color: green; position: fixed; left: 0; bottom: 0; width: 100%; height: 100px; } If I

Does IE9 RTW support the placeholder attribute on input elements?

六眼飞鱼酱① 提交于 2019-12-01 03:52:25
A bunch of sites mention support in IE9, but I assume this was something that appeared in the Betas, or RC. It doesn't appear to be supported in IE9 final. Can someone confirm this? No, placeholder text for form elements was never implemented for IE9. It is easily (and commonly) done with JavaScript. Placeholder support was added in IE10 . 来源: https://stackoverflow.com/questions/5329175/does-ie9-rtw-support-the-placeholder-attribute-on-input-elements

IE9 array does not support indexOf

a 夏天 提交于 2019-12-01 03:25:20
Based on http://ie.microsoft.com/testdrive/HTML5/ECMAScript5Array/Default.html , I thought IE9 supports indexOf in array but the following breaks. Any idea why? <script type="text/javascript"> var a = [59, 20, 75, 22, 20, 11, 63, 29, 15, 77]; var result = a.indexOf(32);// document.write(result); </script> Error message as below: SCRIPT438: Object doesn't support property or method 'indexOf' test.php, line 9 character 1 Are you sure your page is running in IE9 mode? Check in dev tools (F12). If you have old DOCTYPE you might be seeing your page in IE8/7 mode, so indexOf is not supported. If you