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
  • Analysis of static methods and static attribute instances of js object-oriented

    Analysis of static methods and static attribute instances of js object-oriented

    This article describes the static methods and static properties of js object-oriented. Share it for your reference. The specific analysis is as follows: First look at the following code: Copy the code as follows: <script type="text/javascript">function Bi
    2025-05-07
  • js get the URL information of the current page

    js get the URL information of the current page

    1. Set or get the entire URL as a string: window.location.href 2. Set or get the port number associated with the URL: window.location.port 3. Set or get the protocol part of the URL window.location.pr
    2025-05-07
  • node.js startup script file

    node.js startup script file

    Copy the code as follows:#!/bin/bash### BEGIN INIT INFO# Provides: xiyoulib# Required-Start: $all# Required-Stop: $all# Default-Start: 2
    2025-05-07
  • Deeply understand the immediate execution function in javascript (function(){…})()

    Deeply understand the immediate execution function in javascript (function(){…})()

    Javascript is more casual compared to other programming languages, so Javascript code is full of all kinds of weird writing methods. Sometimes you can see flowers in the fog. Of course, being able to understand various types of writing methods is also a f
    2025-05-07
  • JavaScript Learning Notes Function Object

    JavaScript Learning Notes Function Object

    In JavaScript, function function is an object. There is no method overloading in JavaScript in JS, and there is no concept of method (function) overloading. Example: Copy the code as follows:<html><head>
    2025-05-07
  • Solution to the javascript engine that disconnects threads for a long time and causes lag

    Solution to the javascript engine that disconnects threads for a long time and causes lag

    The single-threading feature of the Javascript engine makes it possible to exclusive threads for a long time when handling a large loop traversal, resulting in other events (such as user operations) being unable to respond in time, and in severe cases it
    2025-05-07
  • HTML title attribute line breaking method

    HTML title attribute line breaking method

    When I was writing a program two days ago, I wanted to give a line break to the prompt message (TITLE). The '/n < BR >' used is not OK. Finally, I just went to the car and entered it. I searched online. There are two solutions: 1. Divide the
    2025-05-07
  • bootstrap changes button loading status

    bootstrap changes button loading status

    When there is an activation button in bootstrap, the button becomes unavailable; according to the method introduction in the official website, add a data-loading-text="Loading..." attribute to the button button, and then the overall code of js i
    2025-05-07
  • English: A link tag ie will automatically complete href

    English: A link tag ie will automatically complete href

    English: The A link tag will automatically complete the href. Whilst working on the Ajax Link Tracker and MapSurface I have come across an inconsiste
    2025-05-07
  • Methods for realizing image delay loading in native javascript

    Methods for realizing image delay loading in native javascript

    This article describes the method of realizing image delay loading in native JavaScript. The delayed image loading actually has a jquery plug-in, and the loading method is very simple and reasonable. However, some friends think that loading the jquery plu
    2025-05-07
  • W3C Tutorial (1): Understand W3C

    W3C Tutorial (1): Understand W3C

    W3C, the organization founded in 1994, aims to stimulate the full potential of the web world by promoting the development of universal protocols and ensuring their universality. W3C, the organization founded in 1994, aims to inspire we
    2025-05-07
  • What is HTML5: A cool explanation of HTML visualization

    What is HTML5: A cool explanation of HTML visualization

    Article introduction of Wulin.com (www.vevb.com): What is HTML5: A cool HTML visualization commentary. From Focus.com, "What is HTML5" is a cool HTML visualization commentary, analyzing the support of various browsers and various comparisons wit
    2025-05-07
  • Instructions for using fs.unlinkSync method in node.js

    Instructions for using fs.unlinkSync method in node.js

    Method description: Synchronous version of unlink(), delete file operation. Syntax: The code copy is as follows: fs.unlinkSync(path) Since this method belongs to the fs module, it is necessary to introduce the fs module (var fs= require("fs")) b
    2025-05-07
  • Summary of the points of attention used by canvas

    Summary of the points of attention used by canvas

    Comment: The default width and height of canvas are 300 and 150. To avoid exceptions, it is best to use the display attribute to add instead of using css to add width and height. Below is a brief introduction to the precautions for using canvas. Intereste
    2025-05-07
  • How to determine whether the Shift key has been pressed

    How to determine whether the Shift key has been pressed

    This article example describes the method of JS to determine whether the Shift key has been pressed. Share it for your reference. The specific implementation method is as follows: Copy the code code as follows:<html><head><title> Use js to determine wheth
    2025-05-07