Implementation of Sylix OS Network Card Driver

1. Development environment Operating System: Sylix OS Programming environment: RealEvo-IDE3.1 Hardware Platform: IMX6Q Experimental Box 2. Technical Realization The transceiver function driven by network card is realized by managing transceiver descriptors. Therefore, it is necessary to initialize the descriptor when the MAC is initialized. I ...

Posted by nonaguy on Sun, 14 Apr 2019 23:03:32 -0700

Page load event -- DOMContentLoaded

The difference between DOMContentLoaded and window.onload When the page is fully loaded, it will trigger window.onload event. We know that we can use window.onload event to trigger and execute javascript scripts that need to be loaded before the page can be executed. But if the page contains many style files, picture files, sub-frame pages (ifr ...

Posted by Havenot on Thu, 11 Apr 2019 16:06:31 -0700

Skills on css hack

1. What is hack technology? Because different browsers, such as Internet Explorer 6,Internet Explorer 7,Mozilla Firefox and so on, have different understanding of CSS analysis, it will lead to different page effects and not get the page effects we need. At this time, we need to write different CSS for different browsers, so that it can be co ...

Posted by Adeus on Mon, 08 Apr 2019 21:03:32 -0700

Baidu Front-end Technical College 2017 - Custom Right-click Menu

Reprinted from: http://www.jianshu.com/p/731488a8a3e6 Effect preview I. Event Flow 1. Bubble What is event bubbles The official definition is from the most specific event target to the least specific event target. That is to say, if a user clicks on an element and the element has a click event, the same event will be triggered by it ...

Posted by user___ on Fri, 05 Apr 2019 20:09:30 -0700

Introduction to Java Web (V) - HTML-CSS-Javascript Foundation

Introduction to Java Web (V) - HTML/CSS/Javascript Foundation Label (Space Separation): Java Web Original address DTD Document Model and HTML Foundation <!doctype html> HTML5 is the most popular document model at present. The Meaning of Common Labels <meta charset= "utf-8"> indicates that the encoding characte ...

Posted by Eric T on Mon, 01 Apr 2019 10:45:29 -0700

Implementation of html to pdf in pure js

There is a perverted requirement in project development, which requires exporting the whole page to pdf format, and keeping all tables, svg pictures and styles on the page.In short, you want to cut off the whole page like a screenshot and save it as pdf.Why can't we go to heaven -- -- ___________After checking, there are still many ways to conv ...

Posted by agulaid on Sat, 30 Mar 2019 00:03:27 -0700

20 Advanced CSS Styles

1. Black-and-white images This code will make your color photos appear as black-and-white photos, is it cool? img.desaturate { filter: grayscale(100%); -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: grayscale(100%); -o-filter: grayscale(100%);} 2. Use: not() to apply / cancel the application bor ...

Posted by Lil Smurth on Wed, 27 Mar 2019 17:18:29 -0700

Javaascript Foundation (Style Operations, Browser Compatible Style Operations, Other Style Related Properties, Scroll Styles) (30)

1. Style operation: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> #box1{ width: 100px; height: 100px; background-color: red; margin-top: 50px; } </style> <script type="text/javascript"> wi ...

Posted by jblallement on Wed, 27 Mar 2019 16:06:29 -0700

jQuery Source Learning - Simple dom Encapsulation (I)

Self-taught js for about half a year, should be said to be intermittent learning for half a year, in the middle of all kinds of work, a variety of moods impetuous, ashamed. This year, we must find a front-end job on the web, otherwise the family can not account for it, they have to save some money, get married. For the future, in order to be a ...

Posted by unkwntech on Wed, 27 Mar 2019 05:00:31 -0700

Three Common CSS Clearing Floating Methods

1. Parent div defines pseudo-classes: after and zoom <style type="text/css"> .div1{background:#000080;border:1px solid red;} .div2{background:#800080;border:1px solid red;height:100px;margin-top:10px} .left{float:left;width:20%;height:200px;background:#DDD} .right{float:right;width:30%;height:80px;background:#DDD} /*Clear floating ...

Posted by RobinTibbs on Tue, 26 Mar 2019 21:30:30 -0700