internet-explorer-9

Import SVG node into another document in IE9

故事扮演 提交于 2019-12-18 07:05:36
问题 After fetching an SVG document using XHR I need to append a portion of it from the responseXML document into the current document. Using this code works on Safari/Chrome/FireFox, but does not work on IE9: var xhr = new XMLHttpRequest; xhr.open('get','stirling4.svg',true); xhr.onreadystatechange = function(){ if (xhr.readyState != 4) return; var g = xhr.responseXML.getElementsByTagName('g')[2]; var p = document.getElementsByTagName('path')[0]; p.parentNode.insertBefore(document.importNode(g

IE8 and IE9 :before and :after elements position absolute are hidden

泄露秘密 提交于 2019-12-18 04:45:08
问题 I am trying to create a button with "caps" on either end, and a repeating background, in order to keep the button a flexible size. In order to do this, I have used the :before and :after pseudo-elements in CSS, along with position:absolute to get it outside of the main button's background-covered space (using negative values). It works in FF and Chrome, but it looks like in IE8 and 9, the images are there, but are "outside" the button, and therefore are hidden. Does anyone know how to pop

Custom web font not working in IE9

青春壹個敷衍的年華 提交于 2019-12-18 03:49:55
问题 I downloaded a custom font ( Gotham-Light.eot ), but it doesn't work on Internet Explorer 9. @font-face { font-family: Gotham-Light; src: url('Gotham-Light.eot'); } This doesn't work. I'm using ASP MVC3 rebuilt, used custom tool, still nothing. 回答1: First, the goods: @font-face { font-family: 'ludger_duvernayregular'; src: url('http://jfcoder.com/css/fonts/ludgerduvernay-fontsquirrel/ludgerduvernay.eot'); src: url('http://jfcoder.com/css/fonts/ludgerduvernay-fontsquirrel/ludgerduvernay.eot?

Page stuck in Quirks Mode

天大地大妈咪最大 提交于 2019-12-18 03:48:49
问题 Currently the page I am working displays fine in Chrome and Firefox, but in IE9 it is rendering in Quirks mode. Looking into the issue further, it seems that <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" is always getting commented out. Causing Quirks mode to stay in place as no doctype is specified. Basically, I am trying to force the page to render in normal IE9

IE9 Double Form Submit Issue

这一生的挚爱 提交于 2019-12-18 03:25:50
问题 I am just wondering if anyone have some info or feedback about the situation I am in. Currently I am facing a "Double Form Submit" issue, where I click the "Submit" button once, and it submit the form twice. This only happens in IE9, but I have only tested against Safari, Chrome (Latest), FF (Ver 5/6), IE8, and IE9. Here is the code: <!DOCTYPE html> <html lang="en-us" dir="ltr"> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" > <title>IE9 test</title> <

IE9 Double Form Submit Issue

烈酒焚心 提交于 2019-12-18 03:25:39
问题 I am just wondering if anyone have some info or feedback about the situation I am in. Currently I am facing a "Double Form Submit" issue, where I click the "Submit" button once, and it submit the form twice. This only happens in IE9, but I have only tested against Safari, Chrome (Latest), FF (Ver 5/6), IE8, and IE9. Here is the code: <!DOCTYPE html> <html lang="en-us" dir="ltr"> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" > <title>IE9 test</title> <

IE9 makes ajax call correctly only ofter hitting F12

微笑、不失礼 提交于 2019-12-18 02:12:51
问题 I have this jQuery code in my JSP page (jQuery 1.7.2) : function Header() { this.add = function ( parentDiv, leftToolbar, rightToolbar ) { hbHeader = Handlebars.compile( $( "#hb-header" ).html() ); $( parentDiv ).html( hbHeader( {user:{tenantDescription:"", firstName:"", lastName:""}, leftTB:null, rightTB:null } ) ); $.ajax( { url:"${pageContext.request.contextPath}/services/login/sessionUser", type:"POST", async:true, success:function ( result ) { app.user = result; var ltHtml; var rtHtml;

IE9 throws exceptions when loading scripts in iframe. Why?

点点圈 提交于 2019-12-18 01:33:22
问题 Precondition: I have an aspx-page with iframe inside. This iframe points to the url handled by MVC on the same site (it's hybrid site, both standard ASP.NET and ASP.NET MVC). The resulting page rendered by MVC contains a lot of scripts references. Problem: IE9 throws an exception on every single script it load in iframe. These exceptions are similar to this one: Error: 'Function' is undefined That is, it says that the most basic things every window has is somehow absent. Once you clicked

Making d3.js compatible with IE8/IE9

允我心安 提交于 2019-12-17 22:42:30
问题 I am using a Leaderboard from the following link http://labs.juiceanalytics.com/leaderboard/index.html#2a65db98c6f451b7f071b630694bc350 In this leaderboard d3.js and d3.csv.js are being used. This leaderboard is working fine for me in all the browsers except IE8 and IE9. For these browsers some error in scriptting is there with d3.js. I have searched it out well on internet but i didn't find any promising solution to make it work with IE8 or IE9. The error which it is showing is that "Object

Why does IE9 opens in Document Mode as IE7 standards?

独自空忆成欢 提交于 2019-12-17 21:41:02
问题 When I open a webpage in IE9 with DOCTYPE as <!DOCTYPE html> It opens Document Mode as IE7 standards. I need default IE9 standards on opening the page. How to correct this document mode problem? A screenshot of how it comes in IE browser developer tool 回答1: Try this answer: https://stackoverflow.com/a/13524518/1679310. Summary, give the IE browser more information in the meta tag: <!DOCTYPE html> <html> <head> <title>My Web</title> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> Edit