jquery imitation mobile Alipay keyboard
Recently, I met a demand when I was making a project, that is to click the payment button on the mobile terminal payment page to pop up a payment keyboard, similar to that of Alipay. Because the project is just a mobile website, not an app, this function has to be implemented by the front end. If you don't say much, first look at the effect abo ...
Posted by Arenium on Fri, 03 Jan 2020 14:37:20 -0800
Use of Bootstrap tab page switch
Html code:
<!DOCTYPE html>
<html lang="en">
<head>
<base target="_self">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache,must-ridat ...
Posted by jwilliam on Fri, 03 Jan 2020 12:38:42 -0800
Spring Security static resource access
There is a small hole in Spring Security, which is the problem of static resource loading.
When we inherit the WebSecurityConfigurerAdapter, we will override several methods. To set our own path to filter or some rules of permissions.
@Configuration
@EnableWebSecurity
public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
@Au ...
Posted by rafadc on Fri, 03 Jan 2020 06:55:26 -0800
Use of Web Workers and summary of knowledge points
Use of Web Workers and summary of knowledge points
Catalog
Use of Web Workers and summary of knowledge points
1. Quick view of knowledge points
2. Easy to use
2.1 simple use of special worker
2.2 simple use of shared worker
3. References
1. Quick view of knowledge points
2. Easy to use
2.1 simple use of special wor ...
Posted by ScubaDvr2 on Thu, 02 Jan 2020 21:32:27 -0800
Record. net using ueditor rich text editor
What is UEditor
Recently, I used Baidu's rich text editor in the project. There are detailed operation process documents on the official website. Here I just record some events that are often used in projects. In order to facilitate future queries.
UEditor is an open source project of Baidu's javascript editor. It supports Php, Asp, Asp.Net a ...
Posted by vcodeinfotec on Thu, 02 Jan 2020 20:27:52 -0800
Solution to cross domain problem of react+spring records
react cross domain access background, default is cross domain problems, and fire arc and Google browser, cross domain problem display is not the same
Google browser is as follows:
The status here is 200, but there is no information in Response, as shown below
However, the description of this problem in fire arc browser is much clearer,
Fir ...
Posted by d-m on Thu, 02 Jan 2020 14:46:36 -0800
Realize real-time display of progress bar such as file export and write
1. First you need to download the progress bar plug-in. The URL is as follows http://www.jq22.com/jquery-info436
2. Copy the JS and CSS files in the extracted folder to the corresponding CSS and JS files in the project.
3. Introducing js and css
<link rel="stylesheet" href="css/jquery.circliful.css"/>
<scrip ...
Posted by DeFacto on Thu, 02 Jan 2020 03:22:21 -0800
Previous report Highcharts
Data download: http://www.highcharts.com/download
Download File:
Open after decompression:
We can copy all the files under js to our project, for example, I put them in the highcharts folder 1. Import the highcharts file:
<script type="text/javascript" src="../js/jquery-1.8.3.js"></script>
<!--highchart ...
Posted by jitesh on Thu, 02 Jan 2020 01:48:03 -0800
Create point cloud particle map with three.js
Point clouds can be used to simulate a variety of scenes, such as rain, snow and flame burning. Point clouds are also called sprites in theree.js. Next, we will introduce two ways to create point clouds in theree.js:
1. Apply to a small number of point cloud particle scenes:
The code is as follows:
let material = new THREE.S ...
Posted by lottos on Wed, 01 Jan 2020 18:10:04 -0800
jquery add delete input input input box
When writing the front-end page, sometimes one or more lines of input boxes are added or reduced dynamically according to the business requirements. I saw that other people's writing is too complex before. I'll give you my simplified one for reference.
To achieve the effect, click Add to add a new line of input box at the bott ...
Posted by swjohnson on Wed, 01 Jan 2020 17:28:13 -0800