When HTML is loaded, there are many references to external js files, which affect the speed of page opening.

Preface Usually when HTML files are loaded in browsers, browsers will load HTML files according to the order in which < script> elements appear on the page. Once the number of js files loaded is too large, it will lead to page display delay. So, in the process of development, how to solve it? First, let's take a look at the traditiona ...

Posted by jsucupira on Wed, 12 Jun 2019 14:57:29 -0700

Android_Sensor for Educational Notes of Good Knowledge

There are many kinds of sensors in mobile phones. There are a lot of sensors on the Internet. Here is a popular passage on the Internet, which is also relatively simple. You can access these sensors and get raw data by using the Android sensor framework. Part of the Android Sensor Framework android.hardware package, which contains the followi ...

Posted by shah on Sun, 09 Jun 2019 19:25:30 -0700

Using canvas to realize wizard animation

The article was first published on a personal blog: http://heavenru.com In the recent project, we need to implement a sprite animation. The material side only provides a short video material. So before we implement the sprite animation, we first introduce two tools to help us better meet the requirements. In this article, two command-line tools ...

Posted by chris.zeman on Sat, 08 Jun 2019 15:20:26 -0700

Detailed and Example of HTML5 Drag and Drop

brief introduction Drag-and-drop is a common feature, which is to drag an object to another location after grabbing it. In HTML5, drag and drop is part of the standard, and any element can be dragged and dropped. First click on a small example: execute JavaScript when the user starts dragging < p > elements <p draggable="true" ondragst ...

Posted by BinaryDragon on Fri, 07 Jun 2019 15:49:50 -0700

How to achieve a circular click area on a page

Web Front End Interview Guide (42): How do I achieve a circular clickable area on a page? Label: Map Hotspotsradius makes circlesDistance between two pointsJavaScript Mathematical FunctionsWeb front-end interview questions 2016-10-13 19:05 4382 people reading comment(0) Collection Report Classification: Web Fron ...

Posted by RCB on Tue, 04 Jun 2019 09:56:47 -0700

Solutions for uploading files from Android WebView

When we develop requirements, we will inevitably access third-party H5 pages. Some H5 pages have the function of uploading photos. WebView in Android can not open the file selection box directly. Next, I'll give you a brief solution, first of all, I'll talk about ideas. 1. Receive notification that WebView opens the file selector 2. After recei ...

Posted by Clintonio on Wed, 22 May 2019 13:06:44 -0700

2017-9-26 html model and centralization method

title: 2017-9-26 html model and centralization method date: 2017-09-26 18:07:38 tags: [HTML5,CSS3] grammar_cjkRuby: true Welcome to my personal blog Personal Blog of Never Island HTML model Box model The box model can be imagined as a packaged moon cake, div, content, padding between the moon cake and the box, margin between the ...

Posted by axman505 on Tue, 21 May 2019 13:04:39 -0700

Spring MVC Tutorial 5 [Restful and Interceptors]

Restful Style Restful is a software design specification and a specification for data interaction between client and server.In the early development of web pages using jsp pages, data interaction was basically through form submission, then transmission through built-in objects. When HTML5 was rising, mobile Internet was rising ...

Posted by omarh2005 on Sun, 19 May 2019 06:03:37 -0700

Record a code rollback git reset

background Code commit and push to the remote warehouse, found that this submission of redundant files, such as no need for simple conflict-prone configuration files. Hope the remote code revokes this commit locally unchanged Re commit codeoperation First git log to view commit historySuch as: Now we need to cancel the three commits ( ...

Posted by Goins on Sat, 18 May 2019 15:37:09 -0700

Use of HTML5 canvas

Instantly feel that H5 is very powerful can draw a lot of very beautiful, very dazzling effects. In fact, onDraw can also achieve a lot of dazzling effects in android, such as Path class; in fact, the programming languages are interlinked, if you can use the API of View under android, you can learn from H5, because they ...

Posted by anthonyaykut on Fri, 17 May 2019 17:45:56 -0700