internet-explorer-9

WatiN BrowserNotFoundException after upgrading to IE9

不问归期 提交于 2019-12-11 07:35:57
问题 I just upgraded my x64 Windows 7 machine to IE9 and now WatiN is throwing a BrowserNotFoundException when I do something like: IE ie = new IE(true); ie.GoTo("http://google.com"); I am using WatiN 2.1 and the latest code from SourceForge. The exact version of IE9 I'm running is 9.0.5. The browser window actually launches to "about:blank" but WatiN fails to find the newly launched browser. It appears WatiN finds the newly launched browser by comparing the main window handle of the launched

Html.Raw(Json.Encode and Internet Explorer 9

有些话、适合烂在心里 提交于 2019-12-11 07:34:19
问题 I use Html.Raw(Json.Encode in my Javascript to grab the contents of the ViewModel property passed to the View in my MVC 3 asp.net (razor) application as follows: var state = @(Html.Raw(Json.Encode(Model.State))); State is defined in my Model as such public class IndexViewModel { //..other props public string State { get; set; } } It works like a charm in FF, IE8 but chokes on IE 9. Is there anything I should know about the above code that was changed in IE 9 so this no longer works? If so,

IE9 img hover add's margin to bottom

纵然是瞬间 提交于 2019-12-11 07:11:41
问题 I'm having a very strange problem and have no clue on how to solve it. The webpage on where the problem occurs has a div which has several clickable images horizontal in it. When hovering the clickable images () a border of 15 pixels changes color, when leaving the hovered state the border color changes again to the original color. The weird issue is that when I hover any image in the div or leave the hover state, the margin under the div keeps enlarging, which is ofcourse unacceptable. This

IE9: How to make Unicode characters appear properly?

浪子不回头ぞ 提交于 2019-12-11 06:42:06
问题 I am designing a website (www.lathamcity.com) where I use the Unicode character &#x2022 to represent a bullet point in my header. When I load the page in IE9, however, the bullet point does not appear and in its place is the Unicode for the character. My charset is defined in the HTML document with <meta charset="UTF-8"> and the code for the header is <td id="infoCell" class="header"> <a href="/resume.pdf" class="header" target="_blank">R&#233sum&#233</a> &nbsp &#x2022 &nbsp <a href="mailto

IE9 fails to parse CSS file having more than ~ 4100 classes [duplicate]

和自甴很熟 提交于 2019-12-11 06:25:22
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: is there any limit on css file size? I have a generated CSS file coming from a third party application of around 60K lines with ~ 13K classes defined in that. I cannot change the generated CSS file by any means on the server (when it is generated from the third-party application) and the way it is injected in different HTML files on GET requests. My target browser for the application is IE9 and it so happens

IE9: loading swf files takes very long

▼魔方 西西 提交于 2019-12-11 05:29:08
问题 When using Uploadify 2.1.4 on my (not local) server, all works fine in IE9. When moving the solution to the client's server, the loading of uploadify.swf takes exactly 60 seconds in IE9, but works fine in Chrome. IE9 displays it as "Pending". Accessing the swf directly works fine, headers show that both servers run Apache. I've only traced one similar incident on uploadify forums without any solutions. Uploadify code: $("#gallery").uploadify({ // Required Settings langFile : '/dataface/js

Open multiple-tabs in IE9 using Process

无人久伴 提交于 2019-12-11 05:12:53
问题 I'm trying to open multiple-webpages in the same IE9 session. It seems that I have to wait a bit of time after opening the first url before I can open the rest, but using Thread.Sleep seems hackish. Is there any way I can do better? foreach (string url in urls) { try { if (!isLaunched) { Process p = new Process(); p.StartInfo.FileName = browser; p.StartInfo.Arguments = url; p.Start(); Thread.Sleep(1000); // somewhere between 500 and 1000 isLaunched = true; } else { Process.Start(url); } } }

Start without debugging opens IE twice

Deadly 提交于 2019-12-11 05:07:59
问题 I don't know what I did to my VS2008 or IE9 on my laptop, but now when I start my web projects (in IE9. Works fine in FF and Chrome) using Start Without Debugging , Visual Studio will start IE on my default start page, and then if I close the window, VS opens yet another IE window of my default start page. Some things I noticed is that: VS output window shows Building directory '/mySite/'. twice, and this is the hanging point when the 1st window opens (see 3rd bullet). Update : I guess the

Loading image with jquery: Additional request in IE9

我的梦境 提交于 2019-12-11 04:19:45
问题 I have such a page: <script type="text/javascript"> $(function () { $("#links a").mouseover(function () { $("#flag").attr("src", "/Images/" + $(this).attr("id") + ".png"); }); }); </script> <div> <img id="flag" src="/Images/austria.png" alt="austria" /> </div> <div id="links"> <a id="austria" href="#">austria</a> <a id="brazil" href="#">brazil</a> <a id="japan" href="#">japan</a> </div> Every thing work fine in different browser(FF10,Chrome,IE9). But when I monitor network in IE9 with "F12

where is the yellow warning icon in ie9

纵饮孤独 提交于 2019-12-11 03:36:54
问题 does anyone know how do we enable the yellow warning icon in ie 9? I need to see the errors for a website (the website is deployed, and not on localhost) 回答1: Click the gear at the top right and choose Internet Options, then go to the Advanced tab and uncheck the "Disable script debugging (Internet Explorer)" option. After applying your settings it should now attempt to debug any errors it comes across. 来源: https://stackoverflow.com/questions/5892644/where-is-the-yellow-warning-icon-in-ie9