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
  • NodeJs - Must-see guide for getting started

    NodeJs - Must-see guide for getting started

    About NPM: npm is a package management and distribution tool for nodejs. It allows Javascript developers to share code and share code snippets more easily, and it is also convenient, fast and simple to manage the code you share through npm. A NodeJs insta
    2025-07-07
  • How to detect which HTML tag in the page triggers the click event

    How to detect which HTML tag in the page triggers the click event

    This article describes the method of detecting which HTML tag in the page triggers the click event. I will share it with you for your reference. The details are as follows: In the html tag, for the beautiful display of the page, they will be nested in the
    2025-07-07
  • Summary of commonly used verification functions in javascript

    Summary of commonly used verification functions in javascript

    /** * 2010-7-13 * He Chen* Love* js Various form data verification*//*********************************************************************************************
    2025-07-07
  • Simple implementation of js page switching function

    Simple implementation of js page switching function

    This article introduces the principle of JS page skinning function processing (* needs to be tested and used in a server environment*) for your reference. The specific content is as follows: 1. Skinning is to set the page without use styles 2. We make the
    2025-07-07
  • Detailed explanation of the code of the tree directory component implementation of BootStrap

    Detailed explanation of the code of the tree directory component implementation of BootStrap

    Requirements Description Product Add Page, you need to select a car model. Pop up a child modal on the bootStrap modal to use. There are 4 levels of catalogues in total. To use the directory tree. Then there are two types: activity and commodity, and the
    2025-07-07
  • Related understanding of JS pre-interpretation

    Related understanding of JS pre-interpretation

    1. The memory space in JS is divided into two types: stack memory, heap memory Stack memory: provides an environment for JS code execution; store the values ​​of basic data types; -> Global scope or private scope are actually stack memory heap memory:
    2025-07-07
  • require simple implementation of single page application (SPA)

    require simple implementation of single page application (SPA)

    I wrote a test code and used require.js to cooperate with its plug-in text.js to implement the simplest single-page application. It can be recorded easily and facilitate future review. git address: https://github.com/lily1010/requireSPA. Let's take a
    2025-07-07
  • JavaScript Data Storage Cookies

    JavaScript Data Storage Cookies

    1.What is a cookie? A: Cookies are used to store session information on the client. 2. Components of cookies? ① Name: a unique name for a cookie. It is recommended to be case sensitive. The name of the cookie must be URL encoded. ②Value: The string value
    2025-07-07
  • The old saying about this point in js

    The old saying about this point in js

    In js, this pointing must be a difficult problem for novices, but if you really understand it, there will be no problem. Let’s talk about this below. In JS, the value of this depends on the calling pattern (calling object), and there are 4 calling pattern
    2025-07-07
  • js instance code to generate random number (specified range)

    js instance code to generate random number (specified range)

    1. Randomly generate 4-digit random numbers <script language="javascript">/*** 随机生成4位的随机数* http://www.yulu.VeVB.COm*/document.write(parseInt(10*Math.ra
    2025-07-07
  • Detailed explanation of JavaScript events

    Detailed explanation of JavaScript events

    The concept of event: refers to some specific interaction moments that occur in a document or browser window. We can schedule events through listeners (or handlers) so that the corresponding code will be executed when the event occurs. 1. Event flow 1. Ev
    2025-07-07
  • In-depth analysis of JavaScript object-oriented programming

    In-depth analysis of JavaScript object-oriented programming

    2. Javascript object-oriented programming: Inheritance of constructors This section mainly introduces how to generate an instance of "inheriting" multiple objects. For example, there is now a constructor of the "animal" object, functio
    2025-07-07
  • Bootstrap Metronic Fully Responsive Administrative Template Learning Notes

    Bootstrap Metronic Fully Responsive Administrative Template Learning Notes

    Continue to the previous article, share the notes compiled from the Bootstrap Metronic menu bar with you for your reference. The specific content is as follows 1. Introduction 1). Environment configuration 2) . Extraction page 3). Dynamic generation of me
    2025-07-07
  • JS method to export PDF plug-in (support Chinese and image usage paths)

    JS method to export PDF plug-in (support Chinese and image usage paths)

    I want to do a function to export PDF on WEB. I found that jsPDF is recommended by many people. Unfortunately, it does not support Chinese. Finally, I found pdfmake, which solved this problem well. Its effect can be viewed first at http://pdfmake.org/play
    2025-07-07
  • JS method to set styles using cookies

    JS method to set styles using cookies

    This article describes how JS uses cookies to set styles. Share it for your reference, as follows: var styleShow = ["blackgreen", "purple"];var path = "/";var StyleSwitch = { //
    2025-07-06