js event listening (compatibility considered)

explain: Internet The addEventListener() method is not supported in Explorer 8 and earlier IE versions, and is not supported in Opera 7 and earlier Opera versions. However, for browsers that do not support this function, you can use the attachEvent() method to add event handles. Internet Explorer 8 and earlier does not support the remo ...

Posted by cliftonbazaar on Sat, 02 May 2020 21:41:11 -0700

Use of chimee component in web video playing scheme

1. Overview In view of the fact that H5 video is quite different (compatible) in the Web ecological environment, this paper mainly introduces the usage of developing chimee component with qiwutuan to play video. chimee component address: http://chimee.org/docs/index.html   2. Features of chimee components Chimee supports MP4, M3U8, FLV an ...

Posted by morpheuz on Sat, 02 May 2020 09:14:05 -0700

css implementation of small tail of bubble frame

Requirement description When writing a web chat tool, the style of chat usually has a triangle or a small tail. At this time, there are two solutions, one is to use the image format, the other is to use css. This paper introduces the implementation of css. Tail style implementation <!DOCTYPE html> <html ...

Posted by aleigh on Thu, 30 Apr 2020 04:38:30 -0700

HTML: row level and block level tags

1, Row level label Row level labels are also called inline labels. Row level labels do not occupy a single row. Setting width and height is invalid. Other elements in the row can be accommodated inside the row, but block elements cannot be accommodated inside the row. Otherwise, unpredictable effects will appear. Common row level labels: spa ...

Posted by mottwsc on Fri, 24 Apr 2020 07:13:50 -0700

Java concurrency -- detailed source code of cyclicbarrier and CountDownLatch

Summary CountDownLatch and CyclicBarrier are similar, and they are often compared. This time, the author tries to analyze the two classes respectively from the source point of view, and from the source point of view, see the differences between the two classes. CountDownLatch CountDownLatch is literally a counting tool class. In fact, this clas ...

Posted by LAX on Thu, 23 Apr 2020 06:03:20 -0700

Summary of Dom Node Operation

Dom   One: Dom conceptIntroduction to Dom: The Document Object model is a complete set of methods for manipulating documents - Document - html, an object in a document, a top-level object in the dom, an object in window s, and arguably the best. Dom Node: All the steps that make up the entire html process are equivalent to all the labels, tex ...

Posted by Rheves on Tue, 21 Apr 2020 17:53:22 -0700

Upload folder of ASP.NET CORE

Recently, I am doing a project of imitating Baidu online disk in my spare time, among which there is a function of uploading folder. It seems that there are few descriptions of this problem on the Internet, so record it here. 1. Find webkitdirectory on the Internet. A new property of H5 is to mark this property on the file control to get all t ...

Posted by KevMull on Fri, 17 Apr 2020 04:52:08 -0700

Recurring by Title CVE-2018-12613

File contains Kongji, I first came into contact with this buuoj web check-in questions ofEnter the target and check the source code <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" ...

Posted by NoMansLand on Thu, 16 Apr 2020 05:20:39 -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

Qt Writing Map Comprehensive Application 6-Baidu Online Map

1. Preface Baidu Online Map has been used for a long time, and it has been continuously improved until today. In addition to basic map loading and setting some related attributes, various js functions are added to load data directly and asynchronously, such as dynamically adding points, rectangles, circles, administrative divisions and so on.Of ...

Posted by Roscoe on Wed, 08 Apr 2020 18:59:46 -0700