asp.net mvc configuration ckeditor4.x

Download address: https://ckeditor.com/ckeditor-4/download/ 1. Method of use: 1. Introduce ckeditor core file ckeditor.js into the page 2. Insert HTML control <textarea> where the editor is used <textarea id="Contents" class="layui-textarea editor1" name="Contents" style="width:99%;height:50%;"></textarea> 3. Create ckeditor e ...

Posted by bpops on Tue, 22 Jan 2019 10:57:13 -0800

python basic network crawler day04

Catalog 1.xpath tool (parsing) 2.lxml library and xpath usage day04 1.requests module method get() parameter Query parameters: params - Dictionary Agent: proxies - Dictionary General Agent: {Protocol': "Protocol: //ip Address: Port Number"} Private Agent: {Protocol': "Protocol: //User Name: Passw ...

Posted by Bijan on Mon, 21 Jan 2019 08:33:13 -0800

Set, Map, WeakSet and WeakMap Details of SE6 New Features

In SE5, we often use arrays or class array objects to manipulate data, but for some developers who are used to collections such as java, there is always a little less sense. SE6 provides Set s and Map s. It not only fundamentally provides solutions to some problems (such as data non-duplication), but also greatly improves performance. To under ...

Posted by jipacek on Fri, 11 Jan 2019 09:48:10 -0800

understanding ESMAScript 6 (introducting javascript classes)

Class introducing javascript classes class-like structures in ecmascript5 // Create a constructor function PersonType(name) { this.name = name; } // Adding methods to the prototype of constructor PersonType.prototype.sayName = function() { console.log(this.name); }; // Create an instance person of PersonType let per ...

Posted by jrough on Thu, 27 Dec 2018 08:33:07 -0800

Url format of data type -- URL (data: image / gif; base64, AAAAAA): Embedding small data directly into Url

The so-called Url format of "data" type was proposed in RFC2397 for the purpose that some "small" data can be embedded directly in the Web page, rather than loaded from external files. For example, for the img Tag, even if the image is very, very small to only one point, it is to be read from another external image file, su ...

Posted by rich_d on Wed, 26 Dec 2018 15:42:06 -0800

DOM Content Loaded, readystatechange, doscroll loading events faster than onload

DOM Content Loaded, readystatechange, doscroll loading events faster than onload Sometimes we think that onload is executed after all elements have been loaded, but sometimes we don't want to wait that long to execute. Maybe some businesses need to execute immediately after DOM elements have been loaded. At this point, you need a faster ev ...

Posted by bokerfest on Tue, 25 Dec 2018 18:42:06 -0800

Note On <High Performance JavaScript> - 01

Chapter 4: Document Object Model (DOM) operations Generally speaking, DOM implementation and JavaScript implementation in a browser are two separate modules. JavaScript is an independent scripting language, and its own specification does not contain DOM. Therefore, the engine of JavaScript is an independent part. The part of DOM ...

Posted by MichaelMackey on Mon, 17 Dec 2018 01:30:04 -0800

Sencha Touch Ext. Carousel Switch Bug

There's nothing more frustrating than testing and working applications, only opening it one day and finding it... doesn't work. This is Sencha. Touch developers will have recent experience because the latest Chrome update (Chrome 43) has caused some errors in the Encha Touch application. This problem arises if you try to view the latest sys ...

Posted by jtjohnson260 on Thu, 13 Dec 2018 10:27:19 -0800

Layout in HTML: absolute, relative, fixed, static

Layout in HTML: absolute, relative, fixed, static 0 Collection (1) The content of positioning in CSS is: position:relative | absolute | static | fixed Static (static) has no special settings. It follows basic positioning rules and cannot be hierarchically graded by z-index, which is the default value.Relative object can not be overlap ...

Posted by pachanga1 on Thu, 13 Dec 2018 07:18:08 -0800

js implements ctrl+v pasting and uploading pictures (compatible with chrome, firefox, ie11)

Rich text editor, which has a very convenient function, copy a picture and paste it into the text box, the picture was uploaded, then how to achieve this convenient function? Note: Pay more attention to the red font part!!! Principle analysisExtraction operation: copy => paste => upload In this process, what we need to do is: listen ...

Posted by prudens on Mon, 10 Dec 2018 23:21:06 -0800