I have always wanted to try dojo, after all, it is a “jewel” in the eyes of many JavaScript masters. This article is the first in the dojo series. It will introduce the construction of dojo and the
Dojo JavaScript programming specification
A pretty good Javascript programming style specification, I suggest you adopt it This specification writes Javascript. Original link: http://dojotoolkit.org/developer/StyleGuide.
Translated b
When INPUT gets focus, how to make the outside frame unchanged
border can be applied to almost all tangible html elements, while outline is designed for elements such as links, form controls and ImageMap .
The effect of outline will automatically appear
CSS box model Box model
Properties: content, padding, border, margin, CSS box mode all have these properties.
CSS box model is a kind of thinking model used by CSS technology often used in web design.
Classifi
Windows-10 – Custom protocol handler does not work in MS Edge
We register a custom protocol handler for the application
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\ SOFTWARE\Classes\testapp]
@=”URL: TestApp Protocol”
“URL Protocol”=””
[HKEY_
Dojo EnhancedGrid question: For example, 5 lines of data can only display 4 lines, 10 lines of data display 7 lines
The reason is that the width of all columns plus one block exceeds the width set by the table, so 5 rows can only display 4 rows when initializing. In fact, the total width of all columns is less than the width set by the grid table. AutoWidth:true
Dojo Deferreds and Promises
Original: http://dojotoolkit.org/documentation/tutorials/1.10/promises/index.html
Version: Dojo 1.10
Deferreds is a magical and powerful thing. It is the realization of a greater thing,
Dojo-ajax framework
xhrGet is the most important function in the XHR framework and is used the most frequently. Use it to request static text resources on the server, such as txt, xml, etc., and to obtain dynamic page
Windows Configures Kafka Environment (depending on ZooKeeper, Kafka built-in)
说明:
kafka依赖java环境,需要先安装jdk并在cmd中运行java -version 能够正常显示java版本号
1.下载kafka (版本:kafka_2.12-2.3.0):
http://kafka.apache.org/downloads.html
2.解压后修改zookeeper配置文件: kafka_2.12-2.3.0\config\zookeeper.
Clear floating elements about CSS
(1): Definition of floating : Make the element out of the document flow, move in the specified direction, and stop when it encounters the parent boundary or the adjacent floating element Down. (