internet-explorer-8

IE8 & ASP.Net Forms Authentication Cookies fail when opening multiple browsers

僤鯓⒐⒋嵵緔 提交于 2019-12-23 07:50:36
问题 I have the code below on a login page. I'm using this to set the login timeout by customer. In IE8 I'm running into the problem that if a user opens another browser window, then logs out in the first window, when they relog back in they get bounced back to the login after a single page (every time). If they don't open another browser, everything is fine. I've found ALOT of questions about this, but the only solution I've found that works is to use the cookieless method (URI). I've seen a few

I need opacity (transparency) for a img with css ie8

故事扮演 提交于 2019-12-23 05:12:50
问题 I added the attribute opacity: .3; to my img tag but it only works for firefox. Is there a solution for firefox and ie8? 回答1: <img src="yourimage.jpg" alt="Text" class="opac" /> <style> .opac { opacity:0.3; filter:alpha(opacity=30); height: 150px; width: 150px; } </style> 回答2: If you're using ie8 in standards mode you need to use: -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"; 回答3: IE uses the filter property: filter: alpha(opacity = 30); /* Supported by IE7 and 8 */ That

Changing <input> type using jQuery with cross browser support

£可爱£侵袭症+ 提交于 2019-12-23 05:00:14
问题 Problem The following scripts do exactly what I require, in all browsers tested except IE8, where it removes the button without replacing it with anything. Background I have been working on a method to replace submit type inputs with image type inputs using jQuery. First, I had this following which works with FF and webkit: marker = jQuery('<span class="marker"></span>').insertBefore('input#SearchButton'); jQuery('input#SearchButton').detach().attr('type', 'image').attr('src',theme_folder+'

JQuery load() in IE8 POST&GET not working?

▼魔方 西西 提交于 2019-12-23 04:40:41
问题 Heres my Situation. Im trying to relaod a div in a page with load(). I first tryed with a GET. Worked fine with Firefox but not IE8. After a bit of reading, i found out that i had to POST my PARAM so i went on and did a POST. The result is just the same. It wont work in IE8. Here is the line im using for the POST. $(\'#test_1\').load( \'../ajax_http.php\',{variable2:xload}) Firebug, (firefox debug add-on), Is seeing the action as a POST and see the PARAM value So its going trough as a POST

Page keeps entering Quirks mode on IE8 even with DOCTYPE set

╄→尐↘猪︶ㄣ 提交于 2019-12-23 04:24:17
问题 I'm trying to load my site in IE8 and it keeps reverting back to Quirks Mode and displays the page all funny. I can switch it to IE8 document mode via developer tools and it's fine, but doesn't answer why it keeps reverting to Quirks Mode by itself. I have set <!DOCTYPE html> so it shouldn't be doing it. The top of the page includes this, as generated by the CMS: (ignore this line, it's here to show the blank lines in the source code) <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional/

JavaScript “Access is Denied” error - no iframes

霸气de小男生 提交于 2019-12-23 04:01:52
问题 We are seeing an intermittent JavaScript “Access is Denied” error in a customer application in IE8. The error occurs occasionally for some users and never for other users. I am able to reliably reproduce the error on my browser by jumping through a few hoops: Go to the page in question (note the Internet zone, even though the web server is a test server running on our subnet) Open Internet Security Properties (message displayed that “some settings are managed by your system administrator”)

How to write one IE conditional comment to target all IE versions at once?

五迷三道 提交于 2019-12-23 03:48:14
问题 I want to use a JavaScript only for all IE version 6,7 and 8. 回答1: Nested conditions ( WRONG ): <!--[if lte IE 8]> <!--[if gte IE 6]> <!-- your stuff here --> <![endif]--> <![endif]--> EDIT: As Martha highlighted, nested condition don't work, use " & ": <!--[if (lte IE 8) & (gte IE 6)]> <!-- your stuff here --> <![endif]--> Other examples from MSDN: <!--[if IE]><p>You are using Internet Explorer.</p><![endif]--> <![if !IE]><p>You are not using Internet Explorer.</p><![endif]> <!--[if IE 7]><p

TinyMCE: Double forecolor and backcolor buttons?

时光总嘲笑我的痴心妄想 提交于 2019-12-23 03:24:07
问题 I'm having a problem using TinyMCE. In IE8, the forecolor and backcolor, for some random reason, is displayed twice. See picture below. TinyMCE http://img27.yfrog.com/img27/7325/tinymcedoubleforecolorb.jpg Source code (I add the forecolor and backcolor in theme_advanced_buttons2 ): tinyMCE.init({ mode : "exact", elements : "<%= editArea.ClientID %>", custom_shortcuts : false, language : "en", relative_urls : false, convert_urls : false, forced_root_block : false, force_p_newlines : true,

window.onblur event also triggers window.onfocus event when using IE8

有些话、适合烂在心里 提交于 2019-12-23 03:18:37
问题 Both the events are getting fired at the time onblur event. <%@ Page Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication1.WebForm1" Title="Untitled Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"> <script src="js/jquery-1.7.2.js" type="text/javascript"></script> <script language="javascript" type="text/javascript"> window.onfocus = function() { $('#msg').html($('#msg').html() + '<br/> focus'

Internet Explorer showing e.which as undefined

戏子无情 提交于 2019-12-23 03:12:58
问题 In Internet Explorer 8 , event.which is showing undefined and working fine in FireFox and IE 9 . I am using the Textbox 'onkeypress' Event MarkUp <asp:TextBox runat="server" ID="tb1" MaxLength="3" onkeypress="return MainCheckStrings(event);" /> It is working fine in FF, Chrome, Safari and Internet Explorer - 9 Any Idea? 回答1: var charCode = evt.which || evt.keyCode; 回答2: The documentation clearly shows that this property is available only from IE 9 onwards. 回答3: In IE prior 9 the even object