Implementation of pull-down menu effect with native js
Recent contact with Magento background management system needs to realize the function of a pull-down menu. The previous projects are all mixed use of js and jquery. They never use pure js to realize the function. They don't know if they don't write. They find their own shortcomings only after they write. If they lose jquery, they will lose th ...
Posted by watts on Fri, 29 May 2020 08:30:53 -0700
JS performs Base64 encoding, MD5 encryption and URL encoding to realize the signature verification of express bird API interface
Some netizens left a message saying that they wanted to call the express bird API interface to realize Express query, but they didn't understand the back-end development, JAVA, PHP, C and python. They asked me if I could realize express interface query, and I said what would you do, he said, I only know a little bit about JS. I replied that it ...
Posted by ATLien on Wed, 20 May 2020 08:15:41 -0700
jQuery foundation of front end development
[contents]
1, About jQuery
2, Basic use of jQuery
1, About jQuery
1. Introduction
jQuery encapsulates the native js code (with many additional functions)Can let you write less code to complete js operation Similar to the module in python, the front-end module is not called "class library"
If you are compatible with mult ...
Posted by wreed on Tue, 19 May 2020 07:01:07 -0700
Empire cms loads more implementations (both parent and child columns can be implemented)
1,
<div class="pagelist"> <span id="loadmore" class="btn" style="display: block;">Load more</span> </div>
Find the button to load more and set the id (preferably id, which is easier to traverse).
2,
<ul id="showajaxnews" style="opacity: 1; top: 0px;">
[!--empirenews.listtemp--]<!--list.var ...
Posted by php_man555 on Thu, 14 May 2020 07:33:19 -0700
jQuery animation and queue, simple queue() in and dequeue() out implementation
#jQuery animation
-1. Hide
-2.show() display
```js
$('. demo').show(3000, 'swing');//width height opacity padding operates on these parameters simultaneously
```
-3.toggle() is hidden to show the operation
-4.fadeIn() fade in, transparency from 0-1
-5.fadeOut(), transparency from 1-0
-6.fadetoggle() fade in, fade out operation
-7.fadeTo() ...
Posted by deansp2001 on Thu, 14 May 2020 07:18:57 -0700
Statistics of ASP.NET simple hot words
1, Function introduction
The user enters a character in the search box to associate hot words that begin with that character in a week.
2, Functional design:
1. Hot words list
Insert a piece of data each time you search
CREATE TABLE [dbo].[SearchDetails](
[Id] [uniqueidentifier] NOT NULL,--ID
[KeyWords] [nvarchar](255) NOT NULL,--S ...
Posted by maheshbaba on Sat, 09 May 2020 07:10:29 -0700
Configuration options of radio swiper -- tips on the front end
This paper mainly introduces the swiper configuration options, including unlimited scrolling, lazy loading, monitoring the current position, page up and down, transition animation gradient, delay loading pictures, automatic rotation, etc;
Case diagram:
Front end code:
Tips: because JQ is the rigid demand of the front end, the demons ...
Posted by cosmoparty on Fri, 08 May 2020 09:13:31 -0700
Configuration options of radio swiper -- tips on the front end
This paper mainly introduces the swiper configuration options, including unlimited scrolling, lazy loading, monitoring the current position, page up and down, transition animation gradient, delay loading pictures, automatic rotation, etc;
Case diagram:
Front end code:
Tips: because JQ is the rigid demand of the front end, the demons ...
Posted by pumaf1 on Fri, 08 May 2020 09:12:50 -0700
Using JQuery to complete the provincial and municipal linkage effect
Js related technology
Array in JS: [city]
new Array()
DOM tree operation:
Create node: document.createElement
Create text node: document.createTextNode
Add node: appendChild
requirement analysis
In our registration form, we usually need to know the user's native place, and need an optional key. When the user selects a province, all cities under ...
Posted by Artiom on Thu, 07 May 2020 08:59:21 -0700
Use JQuery to complete the following list of left and right selections
Js related technology
select drop-down list
Multiple allow multiple selection
ondblclick: double click event
for loop traversal, removing problems while traversing
requirement analysis
Our products usually include what we have and what we don't have. Now we need a page for dynamic editing of these products
Step analysis
1. Import JQ file
2. Do ...
Posted by Jas on Thu, 07 May 2020 07:35:11 -0700