The use of Vue swiper

In the normal login interface, we can see the verification code. The function of verification code is to detect whether people are operating, to prevent non-human operations such as machines, and to prevent the database from being easily broken. Verification code is usually written in back-end languages such as PHP and java. But in the front en ...

Posted by ktsirig on Mon, 09 Dec 2019 00:57:34 -0800

The simplest, understandable and uncomplicated js to implement the function of enter key tab

The simplest, understandable and uncomplicated js implementation of enter key tab function text box jump When we beginners start to learn js form validation, they may want to use the enter key to realize the jump of text box, which is more convenient, but they will find that pressing the enter key will submit the form, which ...

Posted by zackat on Sun, 08 Dec 2019 23:47:41 -0800

Add interest to the web page with Github's 50000 star css animation library

How much can css animation do? Github has a very good animation project with 50000 stars! Project address: https://github.com/daneden/animate.css Online effect display: https://daneden.github.io/animate.css/ There is only one css file in the whole project of animate, and the use method is very simple ...

Posted by greenday on Sun, 08 Dec 2019 05:34:57 -0800

Using the syntax of githubpages topic NexT

Title Map Using the syntax of githubpages topic NexT NexT Preface Don't know why? The website always doesn't appear? Add label page title: Tag test article tags: - Testing - Another Tag --- New page: Set page type: $ hexo new page tags title: Label date: 2014-12-22 12:39:04 type: "tags" --- menu: home: / archives ...

Posted by a1ias on Fri, 06 Dec 2019 15:09:00 -0800

01Gin source code interpretation

brief introduction Gin source code interpretation, based on v1.5.0 Edition. Process Overview On the official document, an example of getting started is as follows: package main import "github.com/gin-gonic/gin" func main() { r := gin.Default() r.GET("/ping", func(c *gin.Context) { c.JSON(200, gin.H{ "message": "po ...

Posted by brandone on Thu, 05 Dec 2019 04:09:38 -0800

Front end performance optimization lazy load and preload

Lazy loading code implementation html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> <link rel="stylesheet" h ...

Posted by Fastback_68 on Tue, 03 Dec 2019 02:51:07 -0800

[make wheel] manual package AJAX - basic version

I believe that AJAX has been used, and there must be a lot of self-made packages, but they should be simple to request, not to set the synchronous, asynchronous and returned data formats Compatible with IE5 and IE6 You can use get and post to request data You can set the request header with the required ideas and syntax. You need to expand it ...

Posted by lettie_dude on Mon, 02 Dec 2019 20:00:24 -0800

Multi file upload and download: transfer as hexadecimal string

1. Preface Recently, we are maintaining an old Web project, which uses DWR 2.0 (a remote communication framework that can call Java methods in js). Now we need to use this framework to upload files to and download files from the server. However, DWR 2.0 used in this project only supports calling Java methods with basic data types, String, List, ...

Posted by Fakcon on Mon, 02 Dec 2019 05:36:35 -0800

Form options mutual exclusion (vue)

There is a demand recently:There are three multi selection boxes in the form, and their options are the same. However, if one of them is selected, it cannot be selected in the other two multi selection boxes.Such a question reminds me of the example of "putting table tennis in different boxes". Upper code // index.html <!DOCTYPE h ...

Posted by bugsuperstar37 on Sun, 01 Dec 2019 10:25:01 -0800

LR11 series - script recording

1. Open LR11 in the virtual machine and click the "Create/Edit Scripts" button 2. Select the web(HTTP/HTML) mode to record 3. Enter the recording interface. The first thing to fill in here is the URL Addres, which is the URL of our target website. There is also a path for script saving, which can be defined by y ...

Posted by Xu Wei Jie on Sat, 30 Nov 2019 17:08:12 -0800