internet-explorer-8

Respond.js not working cross domain

和自甴很熟 提交于 2019-12-19 02:47:32
问题 I'm having difficulty getting Respond's CDN/X-Domain Setup working. I started off serving all assets from the CDN: <link rel="stylesheet" href="http://cdn.example.com/css/main.css?2013012401"> <script src="http://cdn.example.com/js/modernizr-2.6.2.min.js?2013012401"></script> <script src="http://cdn.example.com/js/respond.min.js?2013012401"></script> In theory this should work, since all assets are being served from the same domain. However IE8 didn't receive Media Query support like it

How to test my application on older version of IE?

走远了吗. 提交于 2019-12-18 18:58:34
问题 I have installed IE8 on my system. I usually test my application on this browser, but the problem arises when i got to know that the client is using IE7. Now how can i test my application on IE7? One possible solution is to have dual booting on my system. So on version of Windows i can have IE7 and on another i can have IE8. But i really don't want to use this solution. Another possible solution is to use PC Emulator [ Don't know what is this, just heard about these ]. Using which i can have

<img> inside <a> gets blue border

风格不统一 提交于 2019-12-18 18:37:07
问题 <a href="index.html"><img src="image.png"/></a> IE8 highlights the image with a blue border. I'm not sure what CSS is relevant here, is it just border? Can I use a single CSS style to turn it off, like: a img { ... } 回答1: Use this css: a img { border:none; } 回答2: Yes, you can: a img { border: 0; } You can use 0 for 0px width, or none for no border overall, same effect...they both work cross-browser. 回答3: a img{ border-width: 0; } Find further reference at https://developer.mozilla.org/en/CSS

Webbrowser, detect if there is a PDF reader installed?

末鹿安然 提交于 2019-12-18 17:25:38
问题 Is there a way to check if the user has installed a PDF reader? Maybe with a ActiveX component? Could you please help me? 回答1: You can detect installed plugins with window.navigator.plugins This will return an array with details of installed plugins, but this will not work for Internet Explorer. When running this code, IE only returns an array with embed tags in the page. Thanks IE, so useful? Ok, let's try to work this out. The following function should work in all major browsers expect IE.

Why doesn't my webpage scroll in Internet Explorer 8?

旧城冷巷雨未停 提交于 2019-12-18 15:35:42
问题 So I've spent a significant amount of time coding and designing this webpage, and it works perfectly in every browser I've tested it in: IE7, IE9, Firefox, Chrome, Safari. But when I view the webpage in IE8 (and only IE8), the vertical scroll is disabled. The scroll bar is there all right, but it's turned off and I can't use it or the mouse scroll wheel. I'll post the code for the webpage if I absolutely have to, but first I wanted to see if anyone had ever heard of this happening before or

target=“_blank” opens a new window in IE9, instead of a new tab

故事扮演 提交于 2019-12-18 14:49:35
问题 In my link, I have target="_blank" attribute, and it works in Chrome, Firefox, Opera, and of course, Safari and opens the link a new TAB . But When I click on it, in IE9 (and IE8) it opens a new window instead of being opened in a new tab. What should I do? 回答1: HTML and JavaScript provide no means to say if a new "window" should be a full window, or a tab, or whatever you want to call the Mobile Safari multiple views interface. So you live with it. 回答2: You can see in this question that the

Why doesn't IE8 handle iframe onload events?

青春壹個敷衍的年華 提交于 2019-12-18 13:31:18
问题 Sample code: <!DOCTYPE html> <html> <head> <title></title> <script> function on_iframe_load() { document.getElementById('iframe_a').onload = function() { alert('Thanks for the visit!'); }; } </script> </head> <body> <iframe name="iframe_a" id="iframe_a"></iframe> <a href="http://www.example.com/" target="iframe_a" onclick="on_iframe_load();">Go!</a> </body> </html> It works in all major browsers with no problem, but IE8 (and probably prior versions) don't understand it. Update : Just came up

How to speed up the reading of innerHTML in IE8?

≡放荡痞女 提交于 2019-12-18 13:28:32
问题 I am using JQuery with the DataTable plugin, and now I have a big performnce issue on the following line. aLocalData[jInner] = nTds[j].innerHTML; // jquery.dataTables.js:2220 I have a ajax call, and result string in HTML format. I convert them into HTML nodes, and that part is ok. var $result = $('<div/>').html(result).find("*:first"); // simlar to $result=$(result) but much more faster in Fx Then I activate enable the result from a plain table to a sortable datatable. The speed is acceptable

$(document).scroll is not firing in IE8 only

白昼怎懂夜的黑 提交于 2019-12-18 12:46:13
问题 I have a site running some javascript. In IE8 only, the $(document).scroll is not firing when you scroll with or without the mousewheel. Code snippet below: $(document).scroll(function () { //do something on scroll }); Is there a specific reason this function won't fire in IE8? I have searched online with no success. Thanks for all advice and tips in advance!!!!! 回答1: Try using window : $(window).scroll(function () { //do something on scroll }); 回答2: For a lot of areas, IE ties the event to

IE8 Compatibility View Button is enabled even when IE=EmulateIE7

懵懂的女人 提交于 2019-12-18 12:01:09
问题 For our web application, we are sending the X-UA-Compatible -> IE=EmulateIE7 for all the pages. However, the Compatibility View Button next to the Refresh button, is still displayed. 1) Is this expected behaviour? 2) Shouldn't the HTTP header force the browser to display in IE7 mode (with Quirks + IE7Standards enabled), and then now show the Compatibility View button? If a site is not IE8 ready, is there a way to force IE7 emulation, and thus disable this button? 回答1: According to Just The