Copy Code code as follows:
function include (path) {
var a=document.createelement ("script");
A.type = "Text/javascript";
A.src=path;
var head=document.getelementsbytagname ("head") [0];
Head.appendchild (a);
}
Include ("Http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js")
This script you down in the IE8, in the IE8 address bar under the press ENTER after the call jquery
IE8 above version code, only need CSS can
tr{background-color:expression (' #F8F8F8, #EFEFEF '. Split (', ') [rowindex%2]);}
IE8 The following version code, is required CSS and JS together to complete:
First define two CSS, the code is as follows:
Copy Code code as follows:
. Tr1{background-color: #fff;}
. Tr2{background-color: #00ff;}
In fact, write JS code, the code is as follows:
Cop
Recently there is a need to achieve drag and drop function, the page right is an IFRAME page, after the chrome test passed, found in the IE8 above effect is not very ideal, finally find information that can use IE with the setcapture and releasecapture to solve.
Sidedragbar.on (' Mousedown.sidemenu ', function (e) {
this.setcapture this.setcapture ();/ IE can use SetCapture to solve the object drag and drop problem
startdragging (e);
function Re
After many search, found that the reason is the editor of a JS file out of the problem. Because IE7, IE8 does not support anonymous (), so to replace the onclick (event) event, and in the editor of a JS file is the use of Anonymous ().
Solution:
Locate the Editor.js file in the Ewebeditor directory, where the path is webeditincludeeditor.js with Notepad, where you find the following code (line 176th):
The code is as follows
Copy Cod
DIV dislocation in IE6
The DIV using "FLOAT: LEFT" has no problem in IE8, IE7, but moves down in IE6, leading to a blank space. This is because the Kernel used by IE6 increases the distance between divs by 3 by default ~ 5 PX, so try to add "margin-left:-5px;" or smaller to the STYLE of the moving DIV.Solve the style incompatibility problem of IE7 and IE8
Method 1: Add the following HTTP meta-tag to the pag
X-UA-Compatible is a newly added setting for ie8, which is not recognized by browsers other than ie8. The difference between X-UA-Compatible and content = "IE = 7" regardless of whether the page contains
X-UA-Compatible is a special file header tag for IE8, used to specify different page rendering modes for IE8. Due t
Article Title: website Loading Test: Firefox3.5Beta4 wins IE8. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
In the middle of last month, Microsoft announced in a document that IE8 is faster than Google Chrome 1.0 and Firefox 3.0.5 in terms of testing the loading speed
In ie8, jquery changes the opacity of PNG to a black edge. in ie6, the png transparency solution is ie8jquery.
Currently, the Internet has higher and higher requirements on web page effects, and it is inevitable to use PNG images. PNG is divided into several formats, PNG8 PNG24 PNG32, the most commonly used of which, PNG24 is also a relatively moderate Display Effect and size. It supports translucent, transparent, and rich colors. However, because our
Foreword: New project, need to upload picture cross domain to specialized picture server above, and also support IE8/9 cross domain upload.Resolution: In order to solve this program stepped on a lot of pits, hereby recorded. Previously collected a number of uploaded component files (Pictures) upload components, each have pros and cons.1: Because Google does not support Flash in the future version, so do not want to use the SWF supported components upl
IE8 Support for AJAX issues
IE8 The verification code input error, whether the input is correct or wrong form. Other browsers (Firefox, proud tour) are good, and colleagues of the IE8 can run up. I put my own IE8 cookies, plug-ins completely clear also not. May I ask the heroes, where will the problem be?
This is the A
Div dislocation in IE6
The DIV using "float: Left" has no problem in IE8, IE7, but moves down in IE6, leading to a blank space. This is because the Kernel used by IE6 increases the distance between divs by 3 by default ~ 5 PX, so try to add "margin-left:-5px;" or smaller to the style of the moving Div.Solve the style incompatibility problem of IE7 and IE8
Method 1: Add the following HTTP meta-tag to the
let IE6 IE7 IE8 IE9 IE10 IE11 Support Bootstrap workaroundIf there is similar, it is honored, if reproduced, please specifyLet IE6 IE7 IE8 IE9 IE10 IE11 Support Bootstrap workaroundRecently made a Web site, has always felt bootstrap very good, this time using the BOOTSTRAP3, in Chrome,firefox,safari,opera,360 browser (fast mode), Sogou browser and other browsers are not a problem, And in
I have been testing and modifying IE8 compatibility during this period of time. Because I am a programmer, I may have some limitations in some explanations. I hope you can give me more advice, the goal is to make progress together. Let's talk less about it. (Hope you can make it clear)
1. I have explained this question in the previous article about filter, but I will continue to add:
Code highlighting produced by Actipro CodeHighlighter (freeware)ht
Solve the hack writing of CSS compatibility in IE6, IE7, IE8, and Firefox
The biggest headache for every CSS adjustment is the browser correction problem, because each browser has different interpretations of CSS. Firefox itself is more disciplined and easier to handle, however, when you encounter Microsoft's ie series, the headers are big. Although they are all Internet Explorer, they have different interpretations of CSS in IE6, Internet E
According to foreign media reports, in order to prove their commitment to software interoperability is not a whim, Microsoft announced in Monday, will change the new version of Internet Explorer browser development plan to make it more user-friendly network standards.
Microsoft says the standard compatibility mode will become the default rendering engine for IE8. Microsoft said earlier that IE8 had passed
How can IE6 IE7 IE8 and Firefox be compatible with attributes such as height and width, margin, and padding! Filed under Internet post by dakyi_admin/
Wednesday
The most difficult issue of browser compatibility in web page production is that we are mainly targeting IE6 IE7 IE8 and Firefox, which is a headache for us, the following describes how to control the height and width and other attributes of IE6 IE
A few months ago, opera threatened to resort to anti-trust complaints due to incompatibility between Microsoft IE browsers and web standards. Recently, opera's Criticism of IE8 makes people feel that the company is quite cool. (Opera's efforts in the browser market for more than a decade have not increased its share, although opera has many advantages)
Opera's chief technology officer, Hakon lie, recently commented on the compatibility mode of
Today, you have a problem with setting up a translucent white div in a page. This doesn't seem to be a problem, just set the following properties for this div:Background:rgba (255,255,255,.1);But be compatible to IE8. This is a bit of a sore egg. Because IE8 does not support the RGBA () function. Let's summarize the meaning of the RGBA () function.The meaning of Rgba, R for Red,g on behalf of GREEN,B on beh
Standard referenceJSON is a data interchange format that is described in detail in RFC 4627.As described in version 5th of ECMA-262 (ECMAScript), JSON is a simple object that contains the functions parse and stringify. The parse function is used to parse a JSON literal (a JSON-formatted string) into a ECMAScript value (for example, a JSON object is parsed into an ECMAScript object, the JSON array is parsed into an ECMAScript array, and the other types are This analogy); stringify instead, it par
First, IE8 report the following error, Solution:Page Error DetailsMessage: HTML parsing error:unable To modify the parent container element before the child element is closed (KB927917)Line: 0Character: 0Code: 01. See if there are HTML tags that are not closed, such as 2, whether the page is not loaded before the JS code operation of the BODY element, the relevant JS code moved to 3, whether to add a addthis in the code to share JS4, whether
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.