internet-explorer-8

Mouseover/hover effect slow on IE8

耗尽温柔 提交于 2019-12-20 09:02:58
问题 I have noticed a weird performance thing in IE8 when using mouseover events on a table with many rows (100 in this example). I have tried a lot of different approaches but I can't seem to find any way to get it as fast as I like/need. If I switch classes on each event the performance goes down in all IE versions, and If I use direct manipulation of the CSS through javascript IE6 and IE7 speeds up alot, but IE8 still performs lousy. Any ideas ? I would really like to know what it is that makes

Angular $q .catch() method fails in IE8

ε祈祈猫儿з 提交于 2019-12-20 08:48:36
问题 I'm experiencing a weird bug on IE8 while trying to catch a promise reject (promise returned by a basic ngResource call) : This code work with .then(success, fail) syntax : promise.then(function(response) { // success }, function(response) { // error }); but this one fails with .then(success).catch(fail) syntax : promise.then(function(response) { // success }) .catch(function(response) { // error }); and the IE error pointing to the .catch() line is : Expected identifier Am I doing something

Internet Explorer 8 and Internet Explorer 6 side by side [duplicate]

人走茶凉 提交于 2019-12-20 08:10:43
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: Running Internet Explorer 6, Internet Explorer 7, and Internet Explorer 8 on the same machine Is there a way to have Internet Explorer 8 and Internet Explorer 6 side by side without virtualizing? I used Multiple IEs which works fine with Internet Explorer 7, but since I installed Internet Explorer 8 beta 2, Internet Explorer 6 started behaving oddly (that is, more than usual). 回答1: I also use virtualisation. I

Google Maps does not render correctly in IE8 within iframe nyromodal layer

£可爱£侵袭症+ 提交于 2019-12-20 07:33:44
问题 I try to render a google map within a nyromodal iframe layer. It works fine in Chrome and Firefox, but in IE8 there is a strange issue: On first load, it works fine. Yet after I close the layer and reopen it on the same page, the map will render false: only mostly showing grey tiles and and and all its content will be splattered randomly, e.g. like so: If I clear the cache and reload, the map will work again but only one time. 回答1: The problem most likely lies within the fact that nyromodal

IE 8 getSelection().anchorOffset alternative

余生长醉 提交于 2019-12-20 05:59:27
问题 I have got a Javascript code, which works well for modern browsers: var offset = getSelection().anchorOffset; var node = getSelection().anchorNode; How can I get the same result on IE 8, which does not have window.getSelection() method? 回答1: There is a solution. It is possible to extend browser's object model using Rangy library: window.getSelection = rangy.getSelection As it may take some time for Rangy to init and as we will not need this for modern browsers, some more workaround: /* IE 8

CSS drop down menu not working in IE8

邮差的信 提交于 2019-12-20 05:49:17
问题 I have created a drop down menu in css. The drop down menu is rendered correctly in Firefox, Chrome and IE8. But in IE8 I am not able to make the selection from the drop down. it immediately vanishes.. css file ... ul { /* font-family: Arial, Verdana; font-size: 14px;*/ margin: 0; padding: 0; list-style: none; } ul li { display: block; position: relative; float: left; } li ul { display: none; } ul li a { display: block; text-decoration: none; color: #ffffff; border-top: 1px solid #ffffff;

IE8 returns 'Object expected' [].slice.call [duplicate]

倾然丶 夕夏残阳落幕 提交于 2019-12-20 05:24:08
问题 This question already has an answer here : IE8 Array.prototype.slice: 'this' is not a JavaScript object (1 answer) Closed 2 years ago . Im newbie in js, this code works good on all browser except li elements (tabs). (function() { [].slice.call(document.querySelectorAll('.tabs')).forEach(function(el) { new CBPFWTabs(el); }); })(); Any help? 回答1: IE8 partially supports querySelectorAll() , http://caniuse.com/#feat=queryselector read this too :querySelectorAll alternative for IE 来源: https:/

fb:serverfbml won't render on Opera and IE

我们两清 提交于 2019-12-20 05:01:50
问题 I asked the same question in Facebook developer forum, but for some reasons I want to repost it here. I hope that's okay. I have the following fb:serverfbml snippet. <fb:serverfbml id="invite_friends_form" style="width: 100%"> <script type="text/fbml"> <fb:fbml><p>Testing FBML rendering</p></fb:fbml> </script> </fb:serverfbml> <script> $(document).ready(function() { // Parse XFBML tags FB.XFBML.parse(); }); </script> It renders correctly in Firefox and Chrome. I got the usual Facebook loading

jQuery $.post() + IE8

无人久伴 提交于 2019-12-20 04:30:12
问题 <script type="text/javascript" src="/scripts/jquery-1.6.2.min.js"></script> <script type="text/javascript" src="/scripts/jquery.form.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("#SendReply").click(function(){ $(".error").hide(); var hasError = false; var pathname = window.location.pathname; var random = Math.random(); var messageVal = $("#InquiryResponse").val(); if(messageVal == 'Type your response in this space ...') { $("#InquiryResponse").after('<span

Why isn't my favicon appearing in IE7/8?

会有一股神秘感。 提交于 2019-12-20 04:16:54
问题 Page of interest: https://www.gsb-yourbank.com/test/ ICO file: https://www.gsb-yourbank.com/test/favicon.ico My favicon is a 16x16 resolution, 16-color ICO file. It will not appear in IE 7/8 no matter what I do! I've tried everything I can think of, including: generating the ICO with a variety of different utilities, changing the syntax of the favicon link elements in the document head, using absolute, relative, and root-relative URLs in the favicon link elements, using a PNG instead of an