This is the content of our engineering practice, because of time reasons, specifically do not repeat, ah ~ mainly because of lazy O (╯-╰) O Engineering practice of the topic for the Openedx back-end management system function expansion and
Recently encountered a very interesting problem in the work. The object for JS is sorted by key value. such as the following Obj objectvar obj ={"China": "' Beijing ', ' Sichuan ', ' Jilin '","British Great Britain (2)": "' London ', ' Airland
Today, when processing data, the foreground interface amount needs to retain two decimal places, so only JavaScript can be used for interception.var regex =/([0-9]+\.[ 0-9]{2}) [0-9]*/;var Localmoney = 6002.3310;Localmoney = localmoney.tostring ().
__proto__ of all constructors/functions point to Function.prototype, which is an empty function
123456789
Number.__proto__ === Function.prototype // trueBoolean.__proto__ === Function.prototype // trueString.__proto__ ===
AMD is the abbreviation for "Asynchronous module definition", meaning "async module definition".Module definitionDefine (ID?, dependencies, Factory);which
ID: module identification, can be omitted.
Dependencies: The dependent module can
ObjectiveUnderstanding the JavaScript pointer needs to understand the JS execution environment and scope first! The execution environment defines the other data that a variable or function has access to, and determines their respective behavior.
The previous two articles describe two important properties in the JavaScript execution context: Vo/ao and scope chain. This article looks at the this in the execution context.First take a look at the following two summary of this:
This is
Differences between using float and display: block to convert inline elements into block elements: floatblock
Differences between using float and display: block to convert inline elements into block elements:Suggestion: writing code as much as
Netease front-end micro professional, JavaScript programming basics: Array
Arrays of any language are important. As a basic object, arrays are widely used. For example, Java, you must add a List or Map. Therefore, this article mainly records the use
Ss3 to achieve the border rounded corner effect, ss3 to achieve the border rounded corner
It is often seen that someone else's website has a border to modify the text area, similar to the rounded rectangle to wrap the text, especially feeling, so I
Make the small icon of the UI worker into icon font and uiicon
There may be many small icons in a UI chart with more interactions. Generally, sprites charts can be used to make multiple small icons into a large image, or other methods, for
Bootstrap _ form _ Form Control and bootstrap Form Control
I. input box
Single-line input box, a common text input box, that is, the type attribute value of input is text.
When using input in Bootstrap, the type must also be added. If the type is
JavaScript retrieves information icons of various browsers, and javascript retrieves icons
How to obtain browser Information
Window has a navigator object to let us know all the information about the browser. We can use a series of API functions to
HTML design mode learning notes, design mode learning notes
This week, I mainly learned the HTML design model. Now I will summarize my learning content as follows:
I. Learning the Box Model
CSS has a basic design model called the box model, which
Solve border: none in mobile browser and select; useless and remove small triangle, selectborder
Set the select border to none. There is no problem on the PC side, but the border will still appear in the browser and on the mobile phone.
Solution:
1
Jquery implements code for smooth Page scrolling of webpages and jquery scrolling
This article describes the code for jquery to implement smooth Page scrolling. We will share this with you for your reference. The details are as follows:
This webpage
The pseudo-Paging effect Code implemented by jquery.
This example describes the pseudo-Paging effect Code implemented by jquery. We will share this with you for your reference. The details are as follows:
The jquery pseudo-Paging effect introduced
The table is not extended by content, and the excess content is changed to the ellipsis (css) and ellipsis (ellipsis) css.
Today, I wrote code and found that the table will be greatly enriched by content, affecting the overall layout of the webpage.
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service