Recommend Huploadify to upload pictures or files
In the previous project, uploadify(flash version) was used to realize the image upload function. The upload plug-in browser that relies on flash is not compatible enough, so Huploadify was used to replace uploadify for the following reasons:
1. Does not depend on flash.
2. The library file size is one third of uploadify.
3. Browser c ...
Posted by dr.wong on Fri, 01 May 2020 15:17:11 -0700
Five ways to achieve CSS element horizontal center, practical and simple!
1. General method - fixed width element
html part:
<div class="container">
<div class="center"></div>
</container>
CSS part:
/*public*/
body,div{
margin: 0;
}
.container{
background: beige;
height: 1000px;
}
/*Centered*/
.center{
width:300px;
height:300px;
margin:auto;
background: aqua;
}
Disadvantage of thi ...
Posted by Smasher on Fri, 01 May 2020 07:06:45 -0700
HTML5+tracking.js for brush payment
HTML5+tracking.js for brush payment
Recently, brushing payments have become so popular that bosses are sure to keep up with the times, so there's a brushing payment program.The key technologies for front-end implementation are camera video recording, photo taking and face matching. This article will discuss how to achieve face brushing payment ...
Posted by adt2007 on Thu, 16 Apr 2020 20:34:11 -0700
Python 3 uses multiprocessing and multithreading to check network status
Demand setting: The broadband at home is very unstable recently. When the master comes to visit, he always feels that there is a problem. Write a script, every N seconds to connect the network, to see if there is a drop.
Implementation plan: python3, using requests library online, Use the self-contained logging module and write it to the loggi ...
Posted by drdapoo on Wed, 15 Apr 2020 09:45:29 -0700
About the input type="file" upload image, how to limit the resolution of the uploaded image
In the project, you need to limit the resolution of uploaded pictures and be compatible with all browsers (IE8 and above, Google, Firefox). After searching and thinking, we finally solve the bug, record it and hope to help others.HTML code:
<input type="file" name="upload0" class="content" id="content" onChange="handleConFiles(this.files); ...
Posted by uatec on Wed, 15 Apr 2020 08:15:56 -0700
Understand the 23 type s of input elements in HTML forms
With the advent of HTML5, the input element has added various types to accept various types of user input. Among them, button, checkbox, file, hidden, image, password, radio, reset, submit and text are traditional input controls, and 13 new ones are color, date, date time, datetime local, email, month, number, range, search, tel, time, url and ...
Posted by blackcow on Sat, 04 Apr 2020 18:57:24 -0700
Step by step let you 55 necessary fragments to improve the efficiency of CSS development
Thank you for your reference- http://bjbsair.com/2020-04-01/tech-info/18398.html
This article will record the CSS fragments that we usually use. Using these CSS can help us solve many practical project problems. It's suggested to like the collection of wall cracks for later reference
Attach note link, read more high-quality articles in the pas ...
Posted by Vbabiy on Sat, 04 Apr 2020 18:24:33 -0700
Getting Started with the web Front End: A Prerequisite Fragment for Front End Masters to Be Efficient in CSS Development
This article will record the CSS fragments that we often use. Using these CSS can help us solve many practical project problems. Cracks suggest favoring your collection and looking at it later for easy searching.
Clear Float
There are many ways to avoid the hassle that floating causes to our code. One of the most convenient and compatible is t ...
Posted by WorldBizEduComputerShops on Fri, 03 Apr 2020 16:37:33 -0700
Common dimensions for JavaScript DOM
JavaScript often uses sizes when working with DOM. This paper describes scrollbar distances, window sizes, document sizes, compatibility of element document coordinates, and ways to scroll windows to specified locations in bizarre and standard modes.
Strange and Standard Patterns
Browsers have weird and standard modes when parsing CSS for co ...
Posted by rlelek on Fri, 03 Apr 2020 00:58:27 -0700
The element UI dialog component adds a draggable position and draggable width and height
There are several points to pay attention to
Each pop-up window must have a unique dom operable instruction
To add a draggable block header when dragging
Because the element UI dialog component uses a percentage of its width at design time, there are compatibility problems with different browsers
Getting edge when dra ...
Posted by Lee W on Thu, 02 Apr 2020 15:31:05 -0700