Experiment 1: use of multi-function browsers and individualsBlogCreation and use
I,Lab Purpose
1. Familiar with the use and configuration of various browsers;
2. Create and complete a personal blog.
II,Lab content
1. Installation and Use of multi-function browsers
N Please download more than 3 browsers, instal
Capability Testingthe ability to detect a particular browser before writing code. For example, a script might have to detect the first payment of a function before calling it. This method frees developers from considering specific browser types and versions, allowing them to focus on whether the corresponding capabilities exist. Ability detection does not accurately detect specific browsers and versions.
Eccentricity detectionThe quirk is actually a
Test environment (client browser)
IE6,IE7, IE8 compatibility mode, IE8
Firefox 3.6.8, Google Chrome 5.0.375.125
The standard definitions of two functions are described first.
Elementnode.setattribute (Name,value)
Name required. Specify the name of the property to set.
Value required. Specify the property value to set.
This method sets the specified property to t
Standard Reference
The object element defines an embedded object. The original intention was to replace the IMG and Applet elements. However, due to security and other reasons and lack of browser support, this original intention has not been realized. Browser objects support object types. However, different mainstream browsers use different codes to load even the same object type. The classid attribute is used to specify the URI address implemented by
1. Take element $id based on ID name (idname)2. The element $class (ClassName) based on the class definition returns all the array of elements defined as className in the class, or $eclass (ClassName) returns the first element3. Take element $tag according to tag name (TagName) returns an array of all elements whose label name is TagName, or $etag (TagName) retur
Problem Description:For different browsers exist on the Chinese encoding format problem, in the export of Excel file, the Chinese file name garbled, that is, in the program to export the file to specify a Chinese name, the browser appears in the Download box file name appears garbled, resolved as follows:Solution:[Java
attribute traversal order in the new version is different from that in earlier versions, which will lead to JavaScript parsing engines implemented following the ECMA-262 third-edition specification when processing for-in statements, the traversal sequence of attributes is inconsistent with the parsing engine implemented in compliance with the fifth edition specification.
Therefore, we should try to avoid writing code that depends on the object attribute sequence during development. As follows:
Transferred from: http://www.eamonning.com/blog/view/289The following is the full textAt the earliest, there was a browser called NCSA Mosaic, labeled ncsa_mosaic/2.0 (Windows 3.1), which supported text display while supporting images, so the web began to get interesting.Then appeared a new Web browser, "Mozilla", actually is "mosaic Terminator" meaning, this make mosaic very uncomfortable, (after all Mosaic debut early, lake old), new browser finally officially announced the
The 2013 newest browser charts are as follows:
1, IE browser
The largest number of users in the country is Microsoft's Internet Explorer (IE) browser, I believe that everyone is in favor of this view. Small series is also IE browser, than now win8 from the Ie10, I believe that we have tasted fresh, as for how, small series has not been used, but the small series of IE9 or good. I wonder if you feel the same way?
2, Google browser
In addition to the IE browser is belie
。 (Novice may think that settimeout and setinterval are JavaScript functions, which is wrong.) Beginners can easily confuse JavaScript object functions with Dom object methods. )
First a piece of code, you can guess what the results will be in various browsers?
Copy Code code as follows:
function f () {
var s = ' arguments.length: ' +arguments.length+ '; ';
for (var i=0,n=arguments.length;is + + ' [' +i+ ']: ' +arguments[i]+ '; ';
Standard Reference
None.Problem description
Binding events to an element property actually createsInline event processing functions(For example, Alert (this );"...>... Inline event processing functionsIt has a special scope chain, and the Implementation Details of various browsers are also different.Impact
IfInline event processing functionsImproper variables or calling methods used in the script will cause the script to run incorrectly.Affected
about identifiers, refer to the contents of the ECMAScript specification 7.6 Identifier Names and Identifiers .Problem descriptionThe implementation of the function declaration and function expression of IE has something to do with the ECMA specification.In IE:The identifier in a function declaration allows an expression that contains the '. ' operator. (When you bind an event, you can replace the '. ' With the ':: ' Before the event name. )Identifie
/**/Placeholder is one of the attributes of html5In Chrome (v31.0.1650.63 m), Firefox (v21.0), 360 security (v6.3 speed mode), the input bar has the focus and the text doesn't go away, (chrome):Before getting focus:When you get focus:IE11 to do something special:Before getting focus:When you get focus:This means that the text that is prompted when the focus is received disappears.Non-modern browsers (such as IE6-IE9) do not support the placeholder pro
[Source code download: http://download.csdn.net/source/3526786] Introduction
Here, I'll introduce ATL support for using ActiveX controls in a dialog box. Because ATL specializes in handling ActiveX controls, WTL does not involve other auxiliary classes. However, the ATL method that uses ActiveX controls is very different from MFC, so it needs to be highlighted. I'll explain how to use an ActiveX control and handle events to develop a program that does not lose functionality compared to programs
data on the webpage is;
(B) When submitting a form, usually the browser will encode the data in the form according to the charset specified by contenttype and then send it to the server.
Note that contenttype refers to the contenttype of the HTTP header, rather than the contenttype in Meta on the webpage.
3. The following are examples of browsers and application servers:URL: http: // localhost: 8080/example/China?
webpage is;(B) When submitting a form, usually the browser will encode the data in the form according to the charset specified by contenttype and then send it to the server.Note that contenttype refers to the contenttype of the HTTP header, rather than the contenttype in Meta on the webpage.
3. The following are examples of browsers and application servers:URL: http: // localhost: 8080/example/China? Name
browsers, if you do not use hack, an exception is displayed.
In IE8, the following is displayed.
IE8 does not recognize the article label. The CSS style defined on the label does not work. In IE8,Interpreted as "name"AndTwo empty tag elements, and the content of the article, are listed as sibling nodes, such.
How do I use HTML5 labels in older browsers?
Sinc
In ASP. 4, you can easily implement adaptive layouts and views for different browsers. This is due to the design concept of "convention over configuration" in MVC.Default self-adaptingMVC 4 automatically adapts to mobile device browsers and PC device browsers. For the layout page, the default file name is _layout.cshtm
What is RSS? In short, RSS is like a microblog. Push updates to you when your source is updated, or tell you what to update when the site is updated. And the source is like those Weibo accounts.
The vast majority of websites now offer automatic RSS feeds. However, all of this requires the participation of an RSS reader.
RSS readers are specifically responsible for subscribing to and viewing the source. It's just that it's not necessarily a stand-alone software. Most
frequently accessed. You can add them to the Bookmarks Bar to complete subsequent accesses more quickly.
For example, you can press Ctrl + D or Cmd + D to add the bookmarks. In the displayed window, save it in the "bookmarks" folder. Right-click the bookmarks and select edit ". Remove the name of the bookmark and retain the blank space, so that the address is still useful but not too messy.
Now, you can use this bookmarks. Click Open to open the curr
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.