This article is dedicated to the Firefox new people who use other browsers that are trying to try Firefox or have already used Firefox.
Firefox is an open-source, non-IE kernel browser. The browser is the ordinary user to visit the Web site and browsing the web using the software, the most common is the user's Windows
1, the discovery of IE under the input label ID attribute the default and name properties are the same, and Firefox must explicitly write out the name of the id attribute, or you can not use the id attribute.
such as: In IE under the following code can be executed and under Firefox but can not:
You must change to the following code to:
The following are reproduced:
1. Document.formName.item ("itemname") q
In the process of developing a multilingual Java Web site, it is found that many of the code in FF can run normally, but not in IE, and vice versa. The incompatible and unified methods of IE and Firefox (Firefox) in JavaScript are summarized as follows:
1. Firefox-compatible Outerhtml,ff no outerHTML method
Copy Code code as follows:
if (window. H
1. Document.form.item Issues
(1) Existing problems:
There are many Document.formName.item ("itemname") statements in existing code that cannot be run under Firefox (Firefox)
(2) Workaround:
Use document.formname.elements["ElementName"]
2. Collection Class object issues
(1) Existing problems:
Many collection class objects in existing code use (), IE can accept, Firefox
, IE and Firefox js and CSS
PNG Transparent AlphaImageLoaderFilter:progid:DXImageTransform.Microsoft.AlphaImageLoader (Enabled=benabled,sizingmethod=ssize,src=surl)
Enabled: Options available. A Boolean value (Boolean). Sets or retrieves whether the filter is active. true: Default value. Filter activation. False: Filters are prohibited.Sizingmethod: Options available. String. Sets or retrieves how a picture of a filter's object is displayed within t
Replace the home page
The site's own problems may cause Firefox to take a long time to start. Try changing your Firefox to the default home page (About:home) or to a blank page. Follow the instructions for how to set the home page.
Change how Windows and tabs are loaded
If you set up Firefox to use session recovery to display your last open windows and tabs, a
1.document.formname.item ("itemname") problem
Note: Under IE, you can use Document.formName.item ("ItemName") or document.formName.elements ["elementname"]; Firefox, you can only use the document.formname.elements["ElementName"].
Workaround: Unify the use of document.formname.elements["ElementName"].
2. Collection Class object Problem
Note: IE, you can use () or [] get the Collection class object; Firefox
General view of the individual:
Browsers are not the end of the update, Chrome has completed a big step, it is good, but there is still distance from Firefox. (Of course, if you use the number of people to determine the pros and cons of a software, then I have nothing to say) because the kernel reason Chrome cannot eliminate Firefox, and Firefox needs an opportu
Mozilla has officially released Firefox 6 , if your computer is still in the very old version of it, hurry up to update it, because the official web side only provided Linux under the. bz2, there is no deb or RMP format, so you need to install it yourself.Below with my operating system: Ubuntu 10.10, version of Firefox 3.6.22 for example:First go to the official website next to the latest version down, wi
This article summarizes the common compatibility problems of JavaScript in IE and Firefox browsers. Share to everyone for your reference, specific as follows:
Form
Document.formName.item ("ItemName")
IE: You can use Document.formName.item ("ItemName") or document.formname.elements["ElementName"]
Firefox: Only use document.formname.elements["ElementName"]
Workaround: unify the use of document
1.doc ument. formname. Item ("itemname ")
Description: You can use document. formname. item ("itemname") or document. formname. elements ["elementname"]; In Firefox, only document. formname. elements ["elementname"].Solution: Use document. formname. elements ["elementname"].
2. Collection class Object Problems
Note: in IE, you can use () or [] to obtain collection class objects. In Firefox, you can only use
Most web designers and front-end engineers will use Firefox (Firefox), because Firefox's rich web development auxiliary plug-ins can provide us with many good features, such as Html,css,js error, find bugs, and so on. So here are some of the current popular Firefox web development plug-ins.
Development tools
1. Web Developer 1.1.8
Https://addons.mozilla.org/en
Explanation of the Cross-Version Upgrade Method of Firefox under UbuntuLinux (also suitable for installing Firefox in Linux). Firefox is a cross-platform open-source browser that provides good support for non-Windows platforms, however, it is a headache to install Firefox in different versions in Linux.
1. Download the latest version of the installation file
Download the latest Linux version of the installation file firefox-latest-x86_64.tar.bz2 (i downloaded the 64bit version) on Firefox's website and unzip it.
[Sun@localhost downloads]$ TAR-XJVF firefox-latest-x86_64.tar.bz2
2. Uninstall old version
The system defaults to install the old version of Firefox
My Ubuntu system comes with a Firefox browser version of 17.0.1. Today, the latest version on the official website has reached 23, so I want to upgrade it.
I am not very familiar with Linux. Thanks to the search engine, I finally upgraded it. Here I will record the operation process.
Upgrade Firefox
First download Firefox, I download from here: http://firefox.co
Development Tools
Web Developer 1.1.8
Https://addons.mozilla.org/en-US/firefox/addon/60It provides some practical tools for webpage (x) HTML, scripts, multimedia, CSS, caching, and images in the form of a toolbar. So that we can easily obtain more information about the web page, so that we can further understand the current web page.Note: powerful web analysis tools are required by developers.
Firebug 1.5.0
Https://addons.mozilla.org/en-US/
Tencent Technology News (China Tao) Beijing time August 31, according to foreign media reports, Firefox (Firefox) browser developers Mozilla Tuesday released its tablet version of Firefox's user interface and other design ideas.
Mozilla display Tablet PC version of Firefox browser user interface (Tencent technology map)
Ian Ballo, a member of the Mo
1. Document.formName.item ("ItemName") issuesDescription: Under IE, you can use Document.formName.item ("ItemName") or document.formname.elements["elementname"];Under Firefox, you can only use document.formname.elements["ElementName".Workaround: Use document.formname.elements["elementname" uniformly.2. Collection Class object issuesDescription: Under IE, you can use () or [] get the Collection class object; Under
Summary of incompatibility and unified methods between IE and Firefox in Javascript zhoz
, Technical Development
, Comment (3)
, Reference (0)
, Reading (2127)
, Via original site
Large| Medium| Small
Reference address:
Note:
This address is valid only before 23:59:59 today.
Test todayCodeBut an error is reported in ff.The incompatibility and unified methods of IE and Firefox in JavaScript are su
The incompatibility and unified methods of IE and Firefox in JavaScript are summarized as follows:1. compatible with Firefox's outerhtml and FF, there is no outerhtml method. If (window. htmlelement ){
Htmlelement. Prototype. _ definesetter _ ("outerhtml", function (shtml ){
VaR r = This. ownerdocument. createRange ();
R. setstartbefore (this );
VaR df = R. createcontextualfragment (shtml );
This. parentnode. replaceChild (DF, this );
Return shtml;
})
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.