Create ASP.NET controls for image resizing and crop keeping aspect ratio
Catalog
Overview
Image size adjustment algorithm
How to use controls on Web pages?
How to get the uploaded image from the control?
source code
Reference
Overview
We have long-term problems with image resizing and cropping. Our problem is that if we resize on the server side, the image qualit ...
Posted by nbaxley on Mon, 20 Jan 2020 09:05:17 -0800
Native JavaScript+Css Simulate Select Dropdown Box to Beautify
Native JavaScript+Css Simulated Select Dropdown
Preface
Implementation Details
Technology involved
Effect Display
Code Display
Html structure
Css structure
JavaScript structure
summary
Preface
Hello, FEer s!In our front-end development career, there are many details, some need to be compatib ...
Posted by susannah on Sun, 19 Jan 2020 18:36:45 -0800
Implementation of css+jq horizontal tree
Recently, there is a UE design that is the display of the horizontal tree. After looking up some information on the Internet, we didn't find the code of the horizontal tree. So we use:: before and:: after pseudo elements plus jq to implement it simply according to the actual needs. In the future, we have the opportunity to stri ...
Posted by mrmom on Sat, 18 Jan 2020 08:13:21 -0800
Fragment upload and breakpoint continue
We may encounter the upload of large files in our work. If we transfer them once, we may encounter various problems such as network and timeout. Here, we will introduce the scheme in two ways: fragment upload and breakpoint continue transfer.
1, Slice upload
Principle of fragment upload: the front end f ...
Posted by joey3002 on Sat, 18 Jan 2020 06:46:06 -0800
SpringBoot - web Development
4, Web development
1, introduction
Use SpringBoot;
1) . create a spring boot application and select the modules we need;
2) Spring boot has configured these scenarios by default. You only need to specify a few configurations in the configuration file to run them
3) . write your own business code;
Pr ...
Posted by googlit on Fri, 17 Jan 2020 21:21:44 -0800
Jquery Generates Barcodes to Web Pages and Prints Barcodes
background
The latest project involves generating barcodes and printing them out. Individuals often write java, but using the back end can be cumbersome.It is convenient to use js, here is a brief introduction.
There's a lot of stuff on the web about generating barcodes. JsBarcode works best with github addresses: https://git ...
Posted by hwttdz on Fri, 17 Jan 2020 08:41:04 -0800
WPS guide for browser application integration
Because the WPS plug-in uses NPAPI mechanism to interact with browsers, it is required that browsers using plug-ins must support NPAPI mechanism and enable NPAPI mechanism.
The following are common supported browsers and their versions:
FireFox browser 52 and versions less than 52 (NPAPI is no longer supported for versions higher than 52)
Chr ...
Posted by jme on Thu, 16 Jan 2020 23:02:03 -0800
tornado learning notes day06 application security
Application Security
cookie
Ordinary cookie
What do we usually have in our user list
When you are shopping, join the shopping cart and let you log in. After you log in, how does he know you are logged in
The value of token is random and exists in the cookie
Set up
Prototype: how to set cookie s
...
Posted by zulfer on Tue, 14 Jan 2020 20:27:59 -0800
The best way to center is on vertical and horizontal pages? [repetition]
The answer is already here:
How to center elements horizontally and vertically
(19 answers)
Closed 11 months ago.
What's the best way to center < div > elements vertically and horizontally on a page?
I know that margin lef ...
Posted by Kwakhed on Tue, 14 Jan 2020 19:37:17 -0800
HTML form read only SELECT tag / input
According to the HTML specification, the select tag in HTML has no readonly attribute, only the disabled attribute. Therefore, if you want to prevent users from changing the drop-down menu, you must use disabled.
The only problem is that disabled HTML form input is not included in POST / GET data.
What is the best way to simulate the rea ...
Posted by Asinox on Sat, 11 Jan 2020 01:18:08 -0800