Home> Web design tutorial
All Dreamweaver tutorial Javascript tutorial HTML tutorial CSS tutorial Experience and skills DHTML tutorial Web effects WEB standardization
Web design tutorial
  • Introduction to the MVVM library of JavaScript Vue.js

    Introduction to the MVVM library of JavaScript Vue.js

    1. v-bind abbreviation <!-- 完整语法 --><a v-bind:href="url"></a><!-- 缩写 --><a :href="url"></a><!-- 完整语法 -->
    2025-08-01
  • js implements a method to add events to a tag (using a closure loop)

    js implements a method to add events to a tag (using a closure loop)

    This article describes the method of adding events to the a tag by js. I will share it with you for your reference, as follows: Example: Implementation effect: Loop adds events to the a tag with ml-praise style class, and after clicking the a tag, the cor
    2025-08-01
  • Talk about the understanding of JS message mechanism and event mechanism

    Talk about the understanding of JS message mechanism and event mechanism

    The message/event mechanism is a mechanism that almost all development languages ​​have. It is not the originality of deviceone. It is called message (Event) in some languages, and Message in some places. In fact, the principle is similar, but some implem
    2025-08-01
  • Explain the deconstruction of ES6 in an easy-to-understand way

    Explain the deconstruction of ES6 in an easy-to-understand way

    What is deconstruction? Deconstruction is completely opposite to constructing data. For example, instead of constructing a new object or array, it splits the existing object or array one by one to extract the data you need. ES6 uses a new pattern to match
    2025-08-01
  • Carousel diagram component js code

    Carousel diagram component js code

    This article shares the code of the JavaScript carousel diagram component for your reference. The specific content is as follows //Carousel diagram component function Rolling(o) { this.index = ++o.index || 1; //The current scrolling position, when the ind
    2025-08-01
  • JS tip: Uncaught SyntaxError:Unexpected token ) Error solution

    JS tip: Uncaught SyntaxError:Unexpected token ) Error solution

    This article describes the solution to the JS prompt: Uncaught SyntaxError:Unexpected token ) error. Share it for your reference, the following code is as follows: Uncaught SyntaxError: Unexpected token )
    2025-08-01
  • Objects and prototypes in JavaScript (I)

    Objects and prototypes in JavaScript (I)

    There is a concept of class in an object-oriented language (such as Java), and through classes, you can create as many objects with the same properties and methods. However, JavaScript does not have the concept of a class, so its objects are also differen
    2025-08-01
  • A brief discussion on JS inheritance_borrow constructor & combination inheritance

    A brief discussion on JS inheritance_borrow constructor & combination inheritance

    2. To solve the problem caused by including reference type values in the prototype, we use a technique called borrow constructor stealing (also called forged objects or classical inheritance). The basic idea of this technique: call the supertype construct
    2025-08-01
  • AngularJS expression explanation and sample code

    AngularJS expression explanation and sample code

    Expressions are used to bind application data to HTML. Expressions are written in double brackets like {{expression}}. The behavior in expressions is the same as the ng-bind directive. AngularJS application expressions are pure javascript expressions and
    2025-08-01
  • Basic properties for getting started with Highcharts

    Basic properties for getting started with Highcharts

    1. Basic composition: 1. Highcharts contains the title (Title): the main title is necessary but subTTitle is not necessary 2. Axis: There are x coordinates (xAxis) and y coordinates (yAxis) 3. Data columns (Series): Each curve, each column bar group, and
    2025-08-01
  • Share the method of summing and maximizing JS arrays

    Share the method of summing and maximizing JS arrays

    Preface interview encountered a problem: JS array sum function. The first thing I think of is array loops. However, I think the interviewer asked this question not to take the well-known method. At that time, I was so clever that I thought of the recursiv
    2025-08-01
  • AngularJS basic ng-open directive simple example

    AngularJS basic ng-open directive simple example

    AngularJS ng-open directive AngularJS instance is displayed or hidden by clicking on checkbox<details> List:<!DOCTYPE html><html><head><meta charset="utf-8">
    2025-08-01
  • Installation of Angularjs development environment under Ubuntu system

    Installation of Angularjs development environment under Ubuntu system

    one. Installing the ubuntu system in win7 environment http://jingyan.baidu.com/article/60ccbceb18624464cab197ea.html Note: In the fourth step of installation, select the item "Installing the ubuntu system and coexist with win7 system".
    2025-08-01
  • JS printing combination function

    JS printing combination function

    This article shares the JS printing combination function for everyone, which is comprehensive for your reference. The specific content is as follows 1. Local printing - that is, print wherever you want to print, solution: hide the places you don't wan
    2025-08-01
  • Share the bubble sorting code implemented by javascript and optimize

    Share the bubble sorting code implemented by javascript and optimize

    Bubble sorting: It is to arrange the elements in an array in order from large to small or from small to large. var array=[9,8,7,6,5,4,3,2,1]; first round comparison: 8,7,6,5,4,3,2,1,9 exchanged 8 times i=0 j=array.length-1-i Second
    2025-08-01