Cookie and Session
Scope of four domain objects in Java Web
Application (application domain) After the deployment of the whole project, there will only be one application domain object. All clients access the same application domain object, and all dynamic resources of the project also share the same application domain object
Request (request domain) Each reque ...
Posted by monkeytooth on Sat, 16 Oct 2021 20:05:02 -0700
Use the plug-ins aplayer and MeingJS to add music in the hexo article
music
Dependency:
APlayer.js > 1.8.0Meting.js > 1.1.1
The usage of hexo tag aplayer and MeingJS is excerpted from the official website: Chinese documents
Start your own personal blog - > https://kartjim.top/2021/10/16/music
hexo-tag-aplayer
JavaScript based player plug-in
github - DIYgod/APlayer
Using the aplayer plug ...
Posted by bgomillion on Sat, 16 Oct 2021 00:48:43 -0700
Painstaking efforts to sort out the complete collection of JavaScript knowledge points, super detailed suggestions collection!!!
1, Syntax and variables
(1) . front end third floor
(2) Writing position of JS
(3) . output statement
(4) . variable declaration promotion
Variable declaration promotion: you can use a variable declared later in advance without throwing an exception
Before executing all code, JS has a pre parsing stage, which will pre re ...
Posted by alimadzi on Sat, 16 Oct 2021 00:30:06 -0700
Detailed explanation of javascript native js rotation diagram
catalogue
1. Realization of rotation chart function
4.1 getting elements
1.2 left and right buttons display and hide
1.3 small circle dynamic setting click add class name click picture move
1.4 cloning small li cells
1.5 click the button on the right to scroll the picture
1.6 click the button on the right to change the small circle poi ...
Posted by KC8Alen on Sat, 16 Oct 2021 00:13:49 -0700
HTML5 load new page insensibly (next page + non ajax+history.pushState)
1, Modify the url without refreshing the page
Case 1: setting anchor characteristics (taking the code of the tab in bootstrap as an example)
Use the anchor mode to switch. When the page is refreshed, it will also be located to the specified page. However, if the page content is too long and the scroll bar appears, the anchor will be locate ...
Posted by golfinggod on Fri, 15 Oct 2021 22:26:46 -0700
css foundation -- collapse / merging of the outer margin of the box and its solution
catalogue
What is outer margin collapse
How to solve the collapse of outer margin
What is an outer margin merge
How to resolve outer margin merging
What is outer margin collapse
When two nested relationship block level elements, if the parent element sets the upper outer margin ...
Posted by david4u on Fri, 15 Oct 2021 18:06:04 -0700
Six ways of JS inheritance
Interface inheritance cannot be implemented in ECMAScript because the function is not signed. ECMAScript only supports inheritance, and its main way to realize inheritance depends on prototype chain.
Prototype chain inheritance
Relationship between constructor, prototype chain and instance: eac ...
Posted by sergio-pro on Fri, 15 Oct 2021 11:17:02 -0700
markdown online editor editor.md secondary development detailed tutorial
Secondary development of markdown online editor editor.md
demand
It is often necessary to publish articles in online forums for publicity, but the writing format of each forum is different, which brings great obstacles to the publication.
The recent rise of markdown format has brought good news to the majority of publishers. A document forma ...
Posted by Lord Brar on Fri, 15 Oct 2021 10:35:51 -0700
Lists, tables, forms in html
Catalog
Lists (Ordered and Unordered Lists)
1. Unordered list
2. Ordered List
3. Nesting of lists
2. Forms
1. Primary labels required for tables
2. Details on Form Making
3. Merge of cells (across rows and columns)
3. Forms
1. Form Labels
2. Form Control
A, input control
B, select control: drop-down ...
Posted by karlkatzke on Fri, 15 Oct 2021 09:05:42 -0700
Implement a color selector from scratch (native JavaScript Implementation)
Project directory and file creation
First of all, we don't need to build the project environment. We still directly use the simplest way, that is, the introduction method, to create the project, which makes it convenient for us to test while writing. Create an empty directory named ColorPicker, create a JS file, color-picker.js, then create an ...
Posted by athyzafiris on Thu, 14 Oct 2021 16:56:30 -0700