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
  • A brief analysis of the difference between $(function) ready and onload

    A brief analysis of the difference between $(function) ready and onload

    When newbies come into contact with JavaScript and jquery, they will inevitably come into contact with the relevant content identified by the question. After reading it several times, they are always uneasy when they are used. Write this article to rememb
    2025-08-31
  • Avalon Chinese long character intercept, keyword hiding, custom filter

    Avalon Chinese long character intercept, keyword hiding, custom filter

    About AvalonJSavalon is a simple and easy-to-use mini MVVM framework. It was first published on 2012.09.15 and was developed to solve the existence of various view renderings of the same business logic. In fact, this problem can be simply solved by using
    2025-08-31
  • JavaScript data type learning notes sharing

    JavaScript data type learning notes sharing

    This article explains the relevant information about JavaScript data types for your reference. The specific content is as follows 1. Reference type Reference type value is an instance of reference type. Reference type is a data structure used to organize
    2025-08-31
  • Node.js log processing module log4js

    Node.js log processing module log4js

    log4js is one of the best modules in Node.js log processing. Compared with console or TJ debugging, the following are indispensable for Node.js projects that are put into production: Log hierarchical log classification logs are released in this article.
    2025-08-31
  • Let's talk about the transition effect of Vue.js

    Let's talk about the transition effect of Vue.js

    Through Vue.js' transition system, you can easily add transition animation effects to the process of inserting/removing DOM nodes. Vue will add/remove CSS class names at the appropriate time to trigger CSS3 transition/animation effects. You can also p
    2025-08-31
  • Simple example of JavaScript to determine whether there is a key in an array

    Simple example of JavaScript to determine whether there is a key in an array

    The compound array associative array in JS is equivalent to an object. To determine whether a key exists in an array (or whether the object contains a certain attribute), you cannot use ary[key] == undefined because there may be ary = {key:undefined}; the
    2025-08-31
  • Use examples of placeholder attribute in HTML5 and methods to beautify display effects

    Use examples of placeholder attribute in HTML5 and methods to beautify display effects

    Comment: Many interesting new features have been introduced in HTML5; some are reflected in HTML, some are JavaScript APIs, all of which are very useful. One of my favorite features is that the placeholder property in the text box (INPUT) can allow you to
    2025-08-31
  • AngularJS implements data operations in separate scopes

    AngularJS implements data operations in separate scopes

    As usual, let's look at the effect first. Here is the code for this example:<!DOCTYPE html><html lang="en" ng-app="scApp"><head><meta charset="UTF-8"><title></title>
    2025-08-31
  • A brief discussion on this pointer and reference knowledge in JavaScript

    A brief discussion on this pointer and reference knowledge in JavaScript

    This is a keyword in javascript. The value of this will change depending on the use of the function. But there is always a principle, that is, this refers to the object that calls the function. This pointer is declared in a class in a traditional OO langu
    2025-08-31
  • Description of how to merge and compress Seajs module based on gulp

    Description of how to merge and compress Seajs module based on gulp

    Previous projects have been constructed using grunt, and then used requirejs to make modular. Requirejs official provides grunt plug-in for compression and merging. The current project has reached gulp, and it uses seajs in modularity, so naturally I also
    2025-08-31
  • Organize JavaScript's common operations on various types of elements in DOM

    Organize JavaScript's common operations on various types of elements in DOM

    The node type nodeType is the following values of some important nodeTypes: 1: Element element2: Attr3: Text text8: Comments9: DocumentnodeName, nodeValue node relationship childNodes
    2025-08-31
  • How to get the time stamp and time difference between nodejs

    How to get the time stamp and time difference between nodejs

    There are many ways to get timestamps in Nodejs, for example: 1.new Date().getTime() 2.Date.now() 3.process.uptime() 4.process.hrtime() If you want to get a timestamp, you can use these methods.
    2025-08-31
  • Easily master JavaScript singleton mode

    Easily master JavaScript singleton mode

    Definition: Ensure that an object (class) has only one instance and provides a global access point to access it; implementation principle: use closures to maintain a reference to a local variable, which holds the only instance created for the first time;
    2025-08-31
  • Analysis of Bootstrap menu buttons and navigation examples

    Analysis of Bootstrap menu buttons and navigation examples

    The drop-down menu special statement: Because the interaction effect of Bootstrap's component is dependent on plugins written by the jQuery library, you must first load jquery.min.js before using bootstrap.min.js to produce effects.<div>
    2025-08-31
  • Implementation method of clearing duplicate values in strings by JS

    Implementation method of clearing duplicate values in strings by JS

    This article describes the implementation method of JS clearing duplicate values in strings. Share it for your reference, as follows: ///<summary> /// Clear duplicate values in string ///</summary> ///<param name="Text"> String</param> ///
    2025-08-31