internet-explorer-9

IE9 and Position Fixed

拥有回忆 提交于 2019-12-02 04:18:33
I'm trying to use the position fixed css on a simple one page website with vertical scrolling but am facing problems with IE9, it's like it's ignoring the fixed property, you can see the website here http://cairocubicles.com/sandbox/mahaly-iphone/ looks right on chrome, firefox. Appreciate the help. Yehia Try adding a doctype to make sure IE9 isn't going into quirks. This took me a while to figure out. I was writing some javascript using which contained code to write to console.log. Never noticed it was a problem as i never use IE and nothing appeared to be broken in FF or chrome. I had the js

IE9 bug with optional </p> close

一世执手 提交于 2019-12-02 03:06:41
问题 I tried this code in IE9, unexpectedly it got screwed because of a missing </p> after heading. live demo <style> #MyForm div { width: 200px; height: 30px; float: left; } </style> <div> <p><b>Login</b> <form id="MyForm" action="test.html"> <div> <label>My Email</label> <input /> </div> <div> <label>My Password</label> <input type="password"> </div> </form> </div> It is a bug or just me? Update A block level element is invalid inside a "p" tag as per W3C <P> <DIV>...</DIV> </P> But it's

parent.location.reload in iframe not working IE

岁酱吖の 提交于 2019-12-02 03:03:55
I need refresh in parent site / refresh my browser when I click testing. I have source index.php: <iframe id="test" src="/careertest/q.php"></iframe> and in q.php: <a href="#" onclick="parent.location.reload(true);">testing</a> Its working in FF LAtest version + Chrome but not working in IE 9. He said "script70 :Permission denied." I am already change parent.location.reload(true) with: window.parent.location =window.parent.location.href; or document.domain=document.location.href; but still not working... use this function function reloadParentPage() { var selfUrl = unescape(parent.window

Order of iteration differs in IE9

女生的网名这么多〃 提交于 2019-12-02 01:57:55
In IE9, the numeric keys of object properties are sorted and that results in different order of iteration in IE9 compared to IE8 where the order is preserved as it is inserted. var obj = { "5": "John", "1": "Kumar", "3": "Rajesh", "2": "Yogesh" } for(var key in obj) alert(key) Result //1,2,3,4 in IE9 //5,1,3,2 in IE8, IE7 Is there anyway I can disable this auto sorting by IE9. If not then is it possible to somehow make the browser understand that the keys should be identified as strings rather than number (but without appending any space, _ or any other special characters) Please suggest!!

Why does my css not appear correctly in IE9?

别来无恙 提交于 2019-12-02 00:45:46
I made a small change to my home WordPress page a couple hours ago, and now there are some random weird CSS issues in IE9 that weren't there before. I have used IE's developer tool to try and figure out what is wrong, but that tool royally sucks compared to firebug, and the problem is only in IE. Also, unfortunately it is hosted on an intranet, so it can't be seen by anyone outside the firewall. Here is the most pressing issue: Text div that used to sit nicely on top of the image div is now acting very strange. See the before and after below, along with the html and css: Here is the rendered

FakeSmile with IE9

大憨熊 提交于 2019-12-01 23:53:03
问题 I'm trying to fake SMIL support in IE9 with FakeSmile I'm creating the SVG element dynamically, adding a rect element with animate element and calling beginElement(). IE9 gives me an error: Object doesn't support property or method 'beginElement' Static SVG works: http://jsfiddle.net/FG3PG/1/ How do I use FakeSmile to fix it? The following shows what I'm trying to do: http://jsfiddle.net/DgMDV/13/ And here is the same code: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE HTML><html xmlns=

FakeSmile with IE9

时间秒杀一切 提交于 2019-12-01 21:22:07
I'm trying to fake SMIL support in IE9 with FakeSmile I'm creating the SVG element dynamically, adding a rect element with animate element and calling beginElement(). IE9 gives me an error: Object doesn't support property or method 'beginElement' Static SVG works: http://jsfiddle.net/FG3PG/1/ How do I use FakeSmile to fix it? The following shows what I'm trying to do: http://jsfiddle.net/DgMDV/13/ And here is the same code: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE HTML><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <script type="text/javascript" src="http://bazaar

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

本小妞迷上赌 提交于 2019-12-01 18:45:23
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> <tr> <td>...</td> <td>...</td> <!-- ... --> </tr> <!-- ... --> </tbody> </table> CSS : thead, tbody {

Fix for jQuery splitter in IE9

隐身守侯 提交于 2019-12-01 18:24:46
Update: This issue is with regards to multiple pane splitter which was working fine in all browsers except IE9. The widths for the right pane children do not resize accordingly upon window resize. (In the context of my application, I also had to put the right pane split method in a different javascript thread using setTimeout, 0 delay, otherwise the widths/top positions go wild in IE9.) I had trouble getting the plug-in working until I combined garlon4's solution with another fix required for jQuery 1.6+. Here is what I did: I added the function: function browser_resize_auto_fired() { //

Fix for jQuery splitter in IE9

ε祈祈猫儿з 提交于 2019-12-01 18:11:29
问题 Update: This issue is with regards to multiple pane splitter which was working fine in all browsers except IE9. The widths for the right pane children do not resize accordingly upon window resize. (In the context of my application, I also had to put the right pane split method in a different javascript thread using setTimeout, 0 delay, otherwise the widths/top positions go wild in IE9.) 回答1: I had trouble getting the plug-in working until I combined garlon4's solution with another fix