Event delegation or event proxy details in js (reload)

Event delegation or event proxy details in js This article was reproduced from ( http://www.cnblogs.com/liugang-vip/p/5616484.html) Causes: 1. This is a classic type of front-end interview. It is helpful to go to a small partner to find a job. 2. Actually, I have never understood it. Writing this is for the purpose of remembering, and it i ...

Added by trial_end_error on Thu, 11 Jul 2019 20:08:07 +0300

Experience the Beauty of javascript Lesson 4 - Functions, Functional Expressions, Closures

Through the first three lectures, you should be able to do so. 1. Have a resume with confidence that you can change your job at any time. 2. Know the correct posture of learning js 3. Understanding the global object, the global context, knowing that there is pre-parsing and doing at least 50 interview questions at the same time. 4. Be proficie ...

Added by perrio on Mon, 08 Jul 2019 05:44:02 +0300

The scripting operation of jacascript CSS style

Foreword: This is the author's own understanding and arrangement after learning. If there are any mistakes or doubts, please correct them and I will keep updating them. There are three ways to introduce CSS: interline style, internal style and external style. In practice, when we use javascript to manipulate CSS styles: When we change a few st ...

Added by timclaason on Mon, 08 Jul 2019 01:04:39 +0300

Linux Block Device Driver (IV) - Data Structure and Related Operations of Block Devices

Memory is a linear structure, and Linux systems divide memory into pages. The largest page can be 64KB, but the current mainstream system pages are 4KB in size. Each page of data is encapsulated into a segment, which is represented by bio_vec. Multiple pages are encapsulated into segments, which are composed of an array of bio_vec elements, wh ...

Added by scottjcampbell on Sun, 07 Jul 2019 04:40:02 +0300

Experience the Beauty of javascript - Lesson 11 - jquery Source Code Analysis

We talked about the preparation for writing a library in the last class, but this class is not a storehouse. Why? So let's first look at how other people's libraries are written. What we need to do after we have a solid foundation is not to build a car behind closed doors, but to read some well-known libraries. Why? A library stands out from hu ...

Added by mwdrago on Fri, 05 Jul 2019 02:34:37 +0300

Using animation of css3 to realize point-to-point loading animation effect (2)

The Docking Effect of box-shadow Implementation brief introduction box-shadow can theoretically generate arbitrary graphical effects, of course, it can also achieve point-to-point loading effect. Realization Principle First of all, you need to write the following html code and the class class class name: In order submission <span class=&quot ...

Added by shock on Thu, 04 Jul 2019 01:30:04 +0300

WebComponent Hall: Deep into Custom Element from the past to the present

Preface _When it comes to Custom Element, you must think of a similar HTML Component that fails.HTML Component is a new technology introduced at the beginning of IE5 to "enhance" native elements. Although it is only supported by IE, IE10 has begun to abandon it, and although it is mastered and not used, it still does not affect us to ...

Added by Assorro on Wed, 03 Jul 2019 19:38:51 +0300

29 WebGL Draws Cubes and Specifies Colors for Each Surface of Cubes

Vertex shader calculates vertex by vertex and receives vertex by vertex information. If we want to specify the color of the surface, we need to define the color to the vertex. For example, if we want to define a triangle as a color, we must have the color of all three vertices as a color. But you will find that a vertex of a cube will be used ...

Added by lentin64 on Tue, 25 Jun 2019 20:45:24 +0300

Three Methods for JS to Obtain Client IP Address, MAC and Host Name

This article mainly introduces js JS itself does not support acquiring information such as IP address. This paper implements it by other methods. Friends who need it can refer to the following. Today we are working on JS( JavaScript ) After searching the internet, many of the small programs to get client IP are ineffective in the current ...

Added by dallasx on Sat, 22 Jun 2019 02:20:59 +0300

HTML uses Canvas to realize bullet screen function

HTML uses canvas to realize bullet screen function brief introduction Recently, when doing big homework, we need to make a bullet screen player. Learn from other people's source code and re-implement it yourself. The demonstration is as follows. The main functions are as follows: Send the barrage Setting the colour, speed and type of ...

Added by mrmachoman on Fri, 21 Jun 2019 01:34:08 +0300