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
  • Detailed introduction to Classes in JavaScript

    Detailed introduction to Classes in JavaScript

    In JavaScript, class can be used to implement object-oriented programming. However, classes in JavaScript are different from those in Java, and their corresponding definitions and uses are also different. Class Determination in JavaScript
    2025-05-10
  • Detailed explanation of the difference between local variables and global variables in javascript

    Detailed explanation of the difference between local variables and global variables in javascript

    There are two types of variables in JavaScript: local variables and global variables. Of course, our article is to help you really distinguish these two variables. First, local variables refer to functions that can only be called within a function declare
    2025-05-10
  • Share the source code of my own global.js library

    Share the source code of my own global.js library

    var GLOBAL = {};GLOBAL.namespace = function(str) { var arr = str.split("."), o = GLOBAL,i; for (i = (arr[0] = "GLOBAL"
    2025-05-10
  • Go to another file after submitting the form

    Go to another file after submitting the form

    Question: How to write to a file in HTML? In HTML, I hope to press submit and go to the aaa.asp file. How should I write the action here? form<form id=form name=form method=post action=>
    2025-05-10
  • Example of document object anchors collection usage of html DOM

    Example of document object anchors collection usage of html DOM

    This article describes the usage of the document object anchors collection in html's DOM. Share it for your reference. The specific analysis is as follows: The anchors collection can return references to all Anchor objects in the document. Syntax: Cop
    2025-05-10
  • JS method to determine whether the 360 ​​safe browser is a fast kernel

    JS method to determine whether the 360 ​​safe browser is a fast kernel

    This article describes the method of JS to determine whether the 360 ​​secure browser is a fast kernel. Share it for your reference. The specific analysis is as follows: 360 secure browser's fast kernel, the navigator.userAgent for non-360 websites is
    2025-05-10
  • nodejs batch modify file encoding format

    nodejs batch modify file encoding format

    Abstract: Recently, I encountered a problem when I was making the manual, "document garbled". After checking the file, I found that the file encoding was incorrect, with more than 100 files in total. If I save it as utf8 with the editor, it woul
    2025-05-10
  • A brief discussion on JavaScript data types and conversion

    A brief discussion on JavaScript data types and conversion

    JavaScript data type 1. Boolean (boolean) Boolean: (value type) var b1=true;//Boolean type 2.Number (number) value: (value type) var n1=3.1415926;//Number type n1.toFixed(3);//Round 3 bits
    2025-05-10
  • Awesome node.js reading notes: mongodb database interaction

    Awesome node.js reading notes: mongodb database interaction

    This week's learning is mainly on nodejs' database interaction, and we use the Jade template to make a user-verified website together. Mainly, I encountered several problems. 1. Mongodb version is too low npm ERR! Not compatible with your operatin
    2025-05-10
  • JavaScript Learning Notes Timer

    JavaScript Learning Notes Timer

    Timer 1 is used to specify that a program is executed after a specific period of time. setTimeout(): Format: [Timer object name=] setTimeout("<expression>", milliseconds) Function: Execute <expression> once. Example: Copy the code as
    2025-05-10
  • Shtml streamlined tutorial

    Shtml streamlined tutorial

    Shtml and asp are similar. In files named after Shtml, some ssi instructions are used, just like the instructions in Asp. You can write SSI instructions in SHTML files. When the client accesses these shtml files, the server will read and interpret these S
    2025-05-10
  • Instructions for using fs.renameSync method in node.js

    Instructions for using fs.renameSync method in node.js

    Method description: Synchronous version of rename(). Syntax: The code copy is as follows: fs.renameSync(oldPath, newPath) Since this method belongs to the fs module, it is necessary to introduce the fs module (var fs= require("fs") before use) t
    2025-05-10
  • Tag reference: Usage of H tags on famous websites of previous generations

    Tag reference: Usage of H tags on famous websites of previous generations

    Article introduction of Wulin.com (www.vevb.com): Tag reference: The usage of H tags on famous websites by previous generations. Each tag in the html has its own meaning, and the H tag as a title tag is even more crucial. The usage of H tag, especially th
    2025-05-10
  • Asynchronous loading js file function written in javascript (support array parameter transfer)

    Asynchronous loading js file function written in javascript (support array parameter transfer)

    The js file I used to load, supports multiple files, is incompatible with ie-copy code as follows:/*** Loading js file* @param {string || array} url js path* @param {Function} fn Callback after loading* @return {ob
    2025-05-10
  • DOM basic tutorial event types

    DOM basic tutorial event types

    For user event types, the most commonly used are mouse, keyboard, and browser. 1. Mouse events: Mouse events are frequently used. The following examples are used to test the code of various mouse events copying codes as follows: <script language="javascri
    2025-05-10