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
  • Some understandings about call() and apply() in JavaScript

    Some understandings about call() and apply() in JavaScript

    The call() method and the apply() method are not used a lot in the upper layer applications, but they are often seen when writing JS frameworks at the bottom layer. Then, after a while, Brother Duniang Gu found that many masters wrote their own understand
    2025-07-16
  • Setting the Nodejs NPM global path under Windows system

    Setting the Nodejs NPM global path under Windows system

    During the development process, we may want to reset the global path of npm. The specific method is as follows: npm config set cache "D:/nodejs/node_cache"npm config set prefix "D:/nodejs/node_global"
    2025-07-16
  • Detailed explanation of Throttle in JavaScript throttling function

    Detailed explanation of Throttle in JavaScript throttling function

    First let’s understand what Throttle is. 1. Definition If you tighten the faucet until the water flows out in the form of water droplets, you will find that every once in a while, a drop of water will flow out. That is to say, an execution cycle is set in
    2025-07-16
  • JavaScript achieves snowing effect [Instance Code]

    JavaScript achieves snowing effect [Instance Code]

    Principle: 1. Create DIV dynamically by js, specifying the CLASS class to set different background image styles to display different snowflake effects. 2. js gets the created DIV and changes its top attribute value. When the falling height is greater than
    2025-07-16
  • Detailed explanation of AngularJS study notes: Dependency injection

    Detailed explanation of AngularJS study notes: Dependency injection

    Recently I was reading the authoritative AngularJS guide. Due to various reasons (mainly because I don’t have money, I hate it, so I chose to download the electronic version online (because it doesn’t cost money, haha...). The font is quite clear and the
    2025-07-16
  • JavaScript basics (must-read)

    JavaScript basics (must-read)

    I have been exposed to the JavaScript language for a long time, but I have never systematically understood such a language. I have just graduated and have no intention of working for some reason to systematically understand this language, and I also want
    2025-07-16
  • Detailed instructions for getting immutable.js

    Detailed instructions for getting immutable.js

    What is Immutable Data Immutable Data refers to data that cannot be changed once it is created. By using Immutable Data, we can easily deal with caching, fallback, data change detection and other issues, and simplify our development. Immutable in js
    2025-07-16
  • A brief discussion on Javascript data attributes and accessor attributes

    A brief discussion on Javascript data attributes and accessor attributes

    The properties of objects in ES5 can be divided into 'data attributes' and 'accessor attributes'. Data attributes are generally used to store data values. The accessor attributes correspond to set/get operations, and data values ​​cannot b
    2025-07-16
  • Bootstrap3 makes its own navigation bar

    Bootstrap3 makes its own navigation bar

    The navigation bar is a good feature and is a prominent feature of the Bootstrap website. The navigation bar is a responsive meta component that acts as the navigation title for an application or website. The navigation bar is collapsed in the view of the
    2025-07-16
  • Detailed explanation of Bootstrap grid system

    Detailed explanation of Bootstrap grid system

    The grid system in the bootstrap framework divides the container into 12 pieces. When using it, you can recompile the LESS/SASS source code according to the actual situation to modify the value 12. The working principle of the mesh system of the bootstrap
    2025-07-16
  • JavaScript list switching [Implementation code]

    JavaScript list switching [Implementation code]

    IE compatibility has not been processed, and to be precise, I don't know much. I hope to give some ideas: 1. js get the button group object to give a click event, such as btns=document.xxx(). Before traversing the event, get the index of the current o
    2025-07-16
  • Javascript implements Apple floating virtual buttons

    Javascript implements Apple floating virtual buttons

    Javascript implements Apple's floating virtual buttons to directly introduce the code to the page, so that the code has some redundancy. Interested friends can modify it yourself. If there is any bug, remember to comment and tell me web-touch.jsvar ne
    2025-07-16
  • Node.js+Express configuration tutorial

    Node.js+Express configuration tutorial

    Node.js is a Javascript running environment (runtime). In fact, it encapsulates the Google V8 engine. The V8 engine executes Javascript very quickly and has very good performance. Node.js optimizes some special use cases and provides an alternative API to
    2025-07-16
  • Summary of simple learning and usage methods for javascript Promise

    Summary of simple learning and usage methods for javascript Promise

    Solve that the callback function is too deep, and parallel logic must be executed serially. A Promise represents the final result of an asynchronous operation. The main way to interact with Promise is to register the callback function through its then() m
    2025-07-16
  • A brief discussion on the influence of DOCTYPE on the value of $(window).height()

    A brief discussion on the influence of DOCTYPE on the value of $(window).height()

    Preface: The company project needs to use a pop-up box to vertically center. Similar vertical centering pop-up layers on the Internet are similar. Because the project is based on Jquery, it is obtained by using $(window).height()-layer.height())/2 +$(docu
    2025-07-16