internet-explorer-8

Set opacity with javascript in IE 8?

荒凉一梦 提交于 2020-01-14 01:48:04
问题 How can I get this "opacity-fallback" to work in IE 8? I only want to use pure Javascript, no CSS or jQuery. http://jsfiddle.net/snabbdesign/LeLfB/11/ 回答1: e.filter = "alpha(opacity:" + value * 100 + ")"; needs to be e.style.filter = 'alpha(opacity=' + value*100 + ')'; notice style and the = 来源: https://stackoverflow.com/questions/8845287/set-opacity-with-javascript-in-ie-8

YUI3 selector problem in ie8

别等时光非礼了梦想. 提交于 2020-01-13 17:59:29
问题 Y.one('form fieldset:nth-child(2)').toggleClass('hide'); in chrome, FF, opera this line works but in ie6-8 it throws an error 'Y.one(...)' is null or not an object. where is the problem? 回答1: Have to add the "selector-css3" module to your .use() statement if you want to use CSS3 selectors in browsers that don't support them natively. 来源: https://stackoverflow.com/questions/3713263/yui3-selector-problem-in-ie8

IE8 reloads dynamic iframe content from cache into the wrong iframe

家住魔仙堡 提交于 2020-01-13 11:24:06
问题 I have a page with multiple iframes on it. Each iframe is invoking some javascript which dynamically writes new iframes into the parent window's document. This works fine on first page load. But if the page is refreshed in IE8 (and earlier) one of the dynamically generated iframes will get loaded from cache into one of the hard-coded slots on the parent page. See the following example: http://www.risingspiral.com/ie8-iframe-refresh/ On refresh in IE8 (may take a couple tries) the Spot 2_ will

Ajax call not working in IE8

巧了我就是萌 提交于 2020-01-13 11:08:50
问题 I was reading several posts about this, and make some changes to my code but no luck. Can anyone look into this, to see what's going on here? Or perhaps another way to do what I need (retrieve city, state by a zip code using ziptastic) The code works fine in Chrome ( http://jsfiddle.net/7VtHc/117/ ) html <asp:TextBox ID="txtZipCode" runat="server"></asp:TextBox> <asp:TextBox ID="txtCity" runat="server"></asp:TextBox> <asp:TextBox ID="txtState" runat="server"></asp:TextBox> script <script src=

I use Google Tag Manager to fire tags on my website.Variables “undefined” in custom code for any version of Internet Explorer

百般思念 提交于 2020-01-13 10:07:31
问题 I am using Google Tag Manager to fire tags on my website. The tags are firing correctly in all browsers except Internet Explorer (any version). What is happening is that the GTM macro is not getting populated in my custom Javascript when using Internet Explorer. However, if I refresh the page they get populated. Based on this I assume the issue is that the tag is firing before the DOM is completely loaded. I am using {{event}} equals gtm.dom in the "Rule". I have also tried to use {{event}}

using jquery-2.0.3 in ie8 browser : object doesn't support this property or method

房东的猫 提交于 2020-01-13 08:21:11
问题 I used jquery. It work fine in firefox. But when I open it by ie8 get same error : object dosn't suport this property or method . line 834 I disable this line and find same errors in this lines: 836,3316,... I make sample code and test ,It not show my alerts never: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head id="Head1" runat="server"> <script type="text/javascript" src="jscripts/jquery-2.0.3.js"><

CSS images with Relative URL sometimes relative to page URL in IE

情到浓时终转凉″ 提交于 2020-01-12 08:28:09
问题 I seem to be finding that IE sometimes tries to load CSS images with relative URLs, relative to the page url rather than the CSS file url. Example... someone loads this url: https://www.main-events.com/event/234/my-awesome-show/onlineentry/step-four/do-something That has a CSS file: <link rel="stylesheet" type="text/css" href="/content/core/MainEvents.min.css" /> With this inside it: .fade-red { background: url("../../img/fade-red.png") repeat-x scroll 0 100% #9D0032; } I then get an

Why is IE8 incorrectly complaining about loading non-secure elements?

别等时光非礼了梦想. 提交于 2020-01-12 05:27:08
问题 I manage an e-commerce site running under SSL. The problem is happening on the final page of my site's shopping cart that loads under SSL. The problem is that Internet Explorer 8.0 (including version 8.0.6001.18702 and other versions of IE8, but reportedly not all versions of IE8) complain about at least one non-secure element loading, which is scaring away some of my prospective customers. IE8 displays a dialogue box after the page has apparently fully loaded (with seemingly no missing

Google reCaptcha IE8

半世苍凉 提交于 2020-01-11 09:09:14
问题 Is Google reCaptcha v2 supported in Internet Explorer 8? If not is there any suitable Internet Explorer 8 compatible captchas? I am seeing a issue where the reCaptcha code is trying to use the method getContext. Object doesn't support property or method 'getContext' 回答1: The code I ended up using to support IE8 was the following. <!--[if !IE 8]><!--><script src="https://www.google.com/recaptcha/api.js"></script><!--<![endif]--> <!--[if IE 8]><script src="https://www.google.com/recaptcha/api

Placeholder not working in IE10

懵懂的女人 提交于 2020-01-11 07:31:33
问题 html: <div class="div-input"> <input type="text" id="loginname" name="username" value="" maxlength="25" class="form-input" placeholder="Username" /> </div> <div class="div-input"> <input type="password" id="loginpassword" name="password" maxlength="25" class="form-input" placeholder="Password" /> </div> <div> <input type="submit" name="login" value="LOGIN" class="form-button" onclick="return check_login("/")" /> <span id="logInfo"></span><span style="display: none;" id="overlay"></span> <span