QiYuAdmin - User Added, Deleted and Revised
Sketch
The family had been sick for a week, and the virus was so infectious that I stayed at home for five days and my daughter still had a cough.
Yesterday, after talking to a client on the spot, he sat in the car and talked about the children. He said that he would not want a second one. It was too upsetting. But our leaders are getting ol ...
Posted by kee1108 on Mon, 22 Apr 2019 00:21:34 -0700
JS+HTML to realize dynamic infinite scrolling of lists
JS+HTML to realize dynamic infinite scrolling of lists
problem
In HTML page development projects, scrolling lists are often encountered - CSS is set when the actual width or height of the content to be displayed exceeds the width or height of the container.
overflow-x:auto;
overfow-y:auto;
When there is less content in the scrolling lis ...
Posted by canadian_angel on Sun, 21 Apr 2019 20:48:35 -0700
Implementation of plug-in based on jquery
To facilitate user creation of plug-ins, jquery provides jQuery.extend() and jQuery.fn.extend() methods
1.jQuery.extend() method has an overload.
jQuery.extend(object), a parameter used to extend the jQuery class itself, that is, to add new functions on the jQuery class / namespace, or called static methods, such as the built-in ajax methods of ...
Posted by pointsplat on Sun, 21 Apr 2019 19:36:35 -0700
The latest free personal blog based on hexo in 2017 - from scratch
Preface
This blog was built because you learned about github pages through github and then learned that you can host static web blogs to the github repository.Perhaps you have learned how to build a personal blog website through Git + Hexo. But although you have successfully established a blog site, you need to make appropriate configuration a ...
Posted by renojim on Sun, 21 Apr 2019 18:45:34 -0700
Scroll listener component scrollspy.js for bootstrap source code
In fact, scroll monitoring is still used in many cases, such as navigation on the right side, when the theme content scrolls a block, the navigation on the right side should be highlighted.
Realization function
1. When the hashkey distance vertex set in the rolling area reaches the valid position, the specified item of its navigation is set b ...
Posted by rob on Sun, 21 Apr 2019 13:21:33 -0700
Ajax Write Paging Query (Implement No Refresh Page)
Requirement:
To obtain a large amount of information in the database and display on the page, it is necessary to use paging query.
If you don't use Ajax, but use other methods, you must refresh the page. The user's physical examination is very bad.
So it's better to use Ajax to write paging queries.
1. Find a table with a lot of data first ...
Posted by DontheCat on Sun, 21 Apr 2019 10:15:36 -0700
What is Pjax and why do you recommend it?
What is pjax?
Now many websites( facebook, twitter ) All support such a way of browsing, when you click on a link in a site, it is not a page jump, but just a site page refresh. This user experience, compared to the whole page flashing,
It's much better. Among them, there is an important part. These websites'ajax refresh supports the ...
Posted by wafawj on Sat, 20 Apr 2019 15:30:35 -0700
jQuery EasyUI Details - EasyUI datagrid Paging
Paging in English is pagination, remember this word, because you will often meet.
Within the EasyUI framework, datagrid uses paging as simple as horrible, requiring only two points:
1. Enable class= "easyui-datagrid" for the table, so that the table becomes a data grid.
2. Enable pagination = "true" for the table, which ...
Posted by pradee on Fri, 19 Apr 2019 19:48:33 -0700
Design Patterns-Strategy Patterns
Focus on a Wechat Public Number: Learn React from scratch. It tells us some design patterns in a humorous way and summarizes them.
The difference between the novice and the veteran is not how many languages he knows and how many books he reads, but the clarity of his ideas and good programming habits. One thing to avoid when writing code is sim ...
Posted by zelot1980 on Fri, 19 Apr 2019 17:57:33 -0700
JS Advanced-Object-Oriented Programming
JS advanced
1. Object-oriented
Three characteristics of object-oriented: encapsulation, inheritance and polymorphism;
tips:JS has no polymorphism;
2. Packaging function
Traditional ways of encapsulating functions:
function fun_1(){
}
The problems of encapsulation function are as follows: 1. Global variable contamination;
...
Posted by allexx_d on Fri, 19 Apr 2019 16:48:33 -0700