internet-explorer-9

HTMLCanvas 'getContext' is not a supported property or method

跟風遠走 提交于 2019-12-04 05:07:03
I've just lauched a HTML5 game application, and I keep receiving ' object doesn't support property or method 'getContext ' errors logs from some of my users. My setup only allows users with Chrome (16<), Firefox (9<) or IE (9<) to play the game. IE (<9) users gets a chromeframe installation in their face. Its only some of my IE9 users that throw this exception. I've played the game on several windows machines with IE9, both vista and windows 7. Searching my source, for the function call getContext, I get the same pattern. I create a canvas element using document.createElement, and then i call

Angular UI-Router Not Resolving with Internet Explorer 9

℡╲_俬逩灬. 提交于 2019-12-04 04:58:20
I have an Angular v1.3 application, which uses Angular ui-router v0.2.13 for all routing. The site works great on all browsers, including IE 10 and IE 11, but not IE 9 (we've decided not to pursue IE8, which I understand isn't supported by v1.3, anyway). Despite my best efforts, IE 9 continually resolves to my $stateProvider's otherwise route (which is set to /*path , a possible culprit, so I disabled that route for testing purposes). In an attempt to get any other route to resolve, I've tried setting $locationProvider.html5Mode(false) , modified the $locationProvider.hashPrefix , changed the

IE9 filter gradient and border-radius conflict

巧了我就是萌 提交于 2019-12-04 04:31:53
I'm trying to use gradient effect and border radius on same element, but there is a conflict between them. Gradient works fine, but it makes border radius not working. here is the script .selector { filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff4317',endColorstr='#891a00'); -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; } I don't want to use any .htc files. Is this known issue between filter and border radius? Thanks. You can use an SVG gradient, here's an example that works in IE9 with a border-radius : http://jsfiddle.net/thirtydot/Egn9A/ To

getJSON or AJAX requests not working with IE9

房东的猫 提交于 2019-12-04 03:46:11
I have been trying to solve this problem for hours (searched here as well but none of the solutions worked) so I had no other option but to hope for someone to tell me why this is happening and how can I fix it. This is a simple code that works with Firefox but not with IE9 (don't have other versions) Example code is here: http://jsfiddle.net/z5b2J/ Source is this one: $.ajax({ url: "http://query.yahooapis.com/v1/public/yql?q=select%20script%20from%20html%20where%20url%3D%27https%3A%2F%2Ftesting.website.com%2F%3Fcid%3D48hgfd45430DD%26id%3D4830F8CF0454312%27&format=json&diagnostics=true&_maxage

Issue to scroll tbody on IE 9 (tbody's height = height-line)

ε祈祈猫儿з 提交于 2019-12-04 03:36:46
问题 Sorry for my bad English, I hope you're going to understand what I want to say... I'm trying to implement an HTML table which support scrolling of table bodies independently of the table head. I found the following question which helped me a lot : How to scroll table's "tbody" independent of "thead"? I tested the following code, it works on Chrome (22), Firefox (16) and Opera (12) without issue : HTML : <table> <thead> <tr> <th>Title1</th> <th>Title2</th> <!-- ... --> </tr> </thead> <tbody>

Passing parameters into a closure for setTimeout

删除回忆录丶 提交于 2019-12-04 03:28:31
问题 I've run into an issue where my app lives in an iframe and it's being called from an external domain. IE9 won't fire the load event when the iframe loads properly so I think I'm stuck using setTimeout to poll the page. Anyway, I want to see what duration is generally needed for my setTimeout to complete, so I wanted to be able to log the delay the setTimeout fires from my callback, but I'm not sure how to pass that context into it so I can log it. App.readyIE9 = function() { var timings = [1

How to get style attribute value before IE9 strips it

女生的网名这么多〃 提交于 2019-12-04 02:59:10
I'm trying to grab the value of the style attribute before IE9-10 strips invalid values out. So far I've tried every variation of the following - $0.attributes.style $0.style $0.getAttribute('style') But it seems if I try to set an invalid value I cannot get access to it - <div style="display: none; color: ${fake-value}"> </div> All of the above would only return display: none since IE9-10 strips out the invalid values. As a note I have tried tons of variations so if it is not possible that is fine but have you tried or can you try answers don't help much unless they are confirmed to do

Javascript file upload

淺唱寂寞╮ 提交于 2019-12-04 02:52:55
In most browsers, an input type="file" has the following files property: document.getElementById("my-input").files This can be used to detect a file is uploaded, and get the file. However, it looks like the files attribute doesn't exist in IE9. Added: In jQuery, you can do... $("#my-input").val() to read the file name. What about getting the files contents? Use jQuery and this plugin . 来源: https://stackoverflow.com/questions/6191792/javascript-file-upload

Will IE9 support WebGL and/or WebSockets? [closed]

孤者浪人 提交于 2019-12-04 01:25:38
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center . Closed 7 years ago . Will IE9 support WebGL and/or WebSockets? Most answers to the question "When will browser X support HTML5 feature Y?" are answered by When Can I Use . In addition to list past, current and future support each item also generally has links to relevant news

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

北城余情 提交于 2019-12-04 01:13:19
问题 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