JavaScript -- the encapsulation of WEBAPIS UU deep animation function, common webpage special effects

Deep encapsulation of animation functions 1. Encapsulation of animation function 1.1 realization of slow motion effect Here are some core algorithms, (target value - current position) / 10 = step size of each move Take a specific effect, for example, slowing down an element, Implementation idea: let the moving distance of the element change, ...

Posted on Sat, 14 Mar 2020 23:13:55 -0700 by lovelf

Constellation judgment blog

Constellation judgment blog Preface My love for the front end can be extended to my love for life. This is my sixth week in the anti war class. Starting to learn the scripting language JavaScript makes my front-end development more likely. I think programming learning should not be limited to the cl ...

Posted on Fri, 13 Mar 2020 21:57:27 -0700 by vidyashankara

JavaScript&ES6 knowledge points

JavaScript&ES6 JavaSCript : data type array function ES6: New variable declaration method Destructuring assignment Arrow function Residual parameters Parameter template (template string) Array method JavaSCript : data type Simple data types: Number, String, Boolean, Undefined, and Nul ...

Posted on Fri, 13 Mar 2020 07:10:02 -0700 by slweb

The way to pass XSS games

1. start <script>alert('a')</script> <script>alert(1)</script> <script>confirm("Well done!")</script> <script>prompt("Well done!")</script>   2. Pay attention to closing test"> <script>alert('1')</script> test"><script> ...

Posted on Thu, 12 Mar 2020 00:50:12 -0700 by andymoo

phpmailer failed to send e-mail on Alibaba cloud server, Chinese code is garbled

My environment is: apache+mysql+php First, check whether socket and openssl extensions are enabled     If not, find the php.ini file and open it. Open this extension Remove the ';' before the extension=php_openssl.dll php_sockets.dll php_openssl.dll     Make sure you have these two sentences in the code that you send the message: $mail-&gt ...

Posted on Tue, 10 Mar 2020 23:20:22 -0700 by UKlee

VUE implements Studio management background (end): tag type input, name value pair input, dialog box (modal dialog)

In a week, almost every day, I have to work for more than ten hours. Knock code + write composition. The interface prototype is finished. The next step is to write the HTML processing engine of the kernel, pure JS implementation. This demonstration is over. Let's continue to share when the next version of RXEditor is finished.The remaining func ...

Posted on Mon, 09 Mar 2020 20:02:19 -0700 by jgh84

Front end Gobang 2nd Edition

Try link: Gobang The renderings are as follows: Compared with the previous version, it mainly implements two functions:One is to deal with the bug that the sound effect disappears, the other is to add a new human-computer mode. Let's talk about the background sound effect first. In fact, the solution is ...

Posted on Mon, 09 Mar 2020 00:01:56 -0700 by abigbluewhale

VUE implements Studio management background: tree structure, file tree, node tree share a set of code NodeTree

The content of this introduction is a little more complicated. It uses VUE to realize the tree structure. At present, this attribute structure has no editing function, just display. I'll open another article tomorrow to introduce how to add editing functions. I've thought about the title. Let's take a look at today's display: It is necessary t ...

Posted on Fri, 06 Mar 2020 20:53:35 -0800 by misslilbit02

A02 python (basic data type, container, function, class), numpy (array, array index, data type, mathematics in array, broadcast)

Python version Basic data type Like most languages, Python has many basic types, including integers, floats, Booleans, and strings. These data types behave in a similar way to other programming languages.Numbers (number type): it represents integer and floating-point number. Its principle is the sam ...

Posted on Fri, 06 Mar 2020 03:25:41 -0800 by sanlove

Let JS Map show its original shape with a small hand

I. Preface This article mainly talks about the usage of JS Map object and how to write Map, which is very suitable for the students who have preliminarily learned JS. It is very helpful for JS understanding and interview to properly learn the skills of writing JS source code. Most people know the u ...

Posted on Thu, 05 Mar 2020 22:40:08 -0800 by crazycoders