Deep analysis of Hikic.js lazy loading
This article focuses on the lazy loading method in Hikic.js and how to implement it
First, we create a new html file and write the basic structure:
<!DOCTYPE>
<html>
<head>
<title>about Hikic.js Depth analysis of lazy loading</title>
<meta charset="UTF-8">
</head>
<body& ...
Posted by Lustre on Sun, 05 Apr 2020 01:37:58 +0200
Export Excel data based on POI
Export Excel data based on POI
There will be many report businesses in the project, which need to export data. Here we use POI based parsing. There are two ways to parse POI: HSSF(xls format) and XSSF(xlsx).
Take the waybill management interface of BOS logistics as an example:
Front-end code
Export Waybill Information and generate report:
1. ...
Posted by rakennedy75 on Sat, 04 Apr 2020 08:38:14 +0200
How to open web page in Python
note: short code implementation environment: win10,python3Code execution of this article
python opens the browser method 1:
By referencing the os package, calling the system method to call the system ie program to open the web address
The code is as follows:
import os
os.system('"C:/Program Files/Internet Explorer/iexplore.exe" ...
Posted by mushroom on Thu, 02 Apr 2020 17:48:02 +0200
The difference between innerText and innerHtml
Both innerText and innerHtml are text messages between print labels
1. innerText prints plain text information between tags, which filters out the tags. Low versions of Firefox browser do not support textContent.
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title ...
Posted by adaykin on Wed, 18 Mar 2020 17:27:50 +0100
ajax provincial and municipal linkage
step
1, page
<select name="province" id="p">
<option>===Please select a province===</option>
</select>
<select name="city" id="c">
<option>===Please select a city===</option>
</select>
2,ProvinceServlet
*Request this Servlet as soon as the page ...
Posted by putraaridana on Sat, 14 Mar 2020 15:28:06 +0100
CSS selector
CSS selector
There are many CSS selectors. Summarize several common selectors. If you want to know more about selectors, please Click on me to view Or if English is good Click on me to view It's ok~
Wildcard selector
element selector
ID Selector
Class selector
Union selector (selector group)
Inter ...
Posted by cpace1983 on Mon, 09 Mar 2020 08:04:08 +0100
Common methods of Request object in java web
Request principle
1. The request object and the response object are created by the server. Let's use them.
2. The request object is used to get the request message, and the response object is used to set the response message.
Request function
Get request message data
Get request line data
Reques ...
Posted by ecg on Sat, 15 Feb 2020 16:51:00 +0100
H5 Browser Custom User Control
Reference article:https://css-tricks.com/custom...https://blog.hellojs.org/crea...
Native User Control
For the <video>tag, there is a property called'controls', which adds native pause/start, progress bar, volume, video maximization to the player as follows.
<video id="myVideo" controls ...
Posted by kevintynfron on Wed, 22 Jan 2020 02:12:04 +0100
Create websocket server
swoole has built-in websocket server function since version 1.7.9. We only need a few lines of simple PHP code to create an asynchronous non blocking multi process websocket server.
First of all, we create a new project named swoole in the apache workspace, and then create a new ws-server.php file in the workspace. The PHP file mainly creates ...
Posted by trent2800 on Tue, 07 Jan 2020 09:06:03 +0100
The difference of innerHTML, innerText, value in JS
I. difference
innerHTML
Adding HTML code to the control is to set the HTML in an element. The tag is effective for text information.
innerTEXT
Print the plain text information between the labels, display the labels, the labels are invalid, and the lower version of Firefox does not support it.
value
Display all contents in ...
Posted by imarockstar on Mon, 06 Jan 2020 00:36:37 +0100