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
  • Summary of the support of document.referrer browser for javascript and failure situation

    Summary of the support of document.referrer browser for javascript and failure situation

    Traffic source function is available in traffic statistics services. Traffic source is a concept for the visit level. In other words, when the visit is established, the traffic source of the landing page is the visit's Traffic source. Although Traffic
    2025-04-17
  • Js method to implement web keyboard control page turn

    Js method to implement web keyboard control page turn

    This article describes the method of Js to control page turnover by implementing web keyboard. Share it for your reference. The specific implementation method is as follows: I think it is not uncommon for keyboard to control page turnover effects. Often,
    2025-04-17
  • Baidu homepage used by technical men to confess their love to girls

    Baidu homepage used by technical men to confess their love to girls

    One day I had a sudden idea, if I could use the programmer skills I learned to confess to my girlfriend, wouldn’t it be high-end, elegant and up-to-date? I think of it and do it immediately. The first thing I think of is to change the hosts file and chang
    2025-04-17
  • nodejs tutorial: Make a simple article publishing system

    nodejs tutorial: Make a simple article publishing system

    Preface Let’s make a simple news release system today. The first stage of the system does not need to be too difficult. It mainly has the following functions ① News type management ② News management (with picture upload function) ③ Although there are not
    2025-04-17
  • Use js Math.random() function to generate random numbers between n and m

    Use js Math.random() function to generate random numbers between n and m

    Abstract: This article explains how to use js to generate random numbers between n and m. The main purpose is to prepare for later generation of verification codes. The Math.random() function returns a pseudo-random number between 0 and 1, which may be 0,
    2025-04-17
  • Recommend the best way to implement inheritance in JavaScript

    Recommend the best way to implement inheritance in JavaScript

    The easiest way to implement JavaScript inheritance is the call method (or apply method) and the prototype chain method, but both methods have shortcomings, and their mixture is a good inheritance implementation method. The following example is shown: the
    2025-04-17
  • html5 button autofocus attribute introduction and application

    html5 button autofocus attribute introduction and application

    Comment: In html 5, you can set the automatic focus to a certain control when the page is loaded. This is the autofocus property. Next, you will introduce it in detail. Friends who need it can learn about it. In html 5, you can set the automatic focus to
    2025-04-16
  • Example of JavaScript anonymous functions and delegate usage

    Example of JavaScript anonymous functions and delegate usage

    <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!-- C#匿名函数--> <title></title> <script type="text/javascript">
    2025-04-16
  • Examples of functions with variable parameters in JavaScript

    Examples of functions with variable parameters in JavaScript

    Off topic: I came into contact with JavaScript a long time ago, but I didn’t pay attention to it. I saw many cool and dazzling web pages, including JavaScript. Google’s application in JavaScript has the greatest impact on me. I'm determined to learn i
    2025-04-16
  • The basic principles and detailed usage methods of viewport

    The basic principles and detailed usage methods of viewport

    1. Overview of viewport Mobile browsers usually render pages in a virtual window wider than the screen. This virtual window is viewport. The purpose is to display web pages that are not adapted to the mobile terminal normally, so that they can be fully di
    2025-04-16
  • Node.js Server-side application development framework--Hapi.js

    Node.js Server-side application development framework--Hapi.js

    Hapi.js is a rich framework for building applications and services based on Node.js, allowing developers to focus on portable and reusable application logic rather than building architectures. Built-in input verification, caching, authentication and other
    2025-04-16
  • An example of JavaScript splitting strings with commas

    An example of JavaScript splitting strings with commas

    //Separate strings with commas to print into an array.<!doctype html><html lang="en"><head><meta charset="utf-8"><title> One JavaScript instance per day - split string</title> <s
    2025-04-16
  • html5 Table Tennis (collision detection) Example 2

    html5 Table Tennis (collision detection) Example 2

    Comment: The ball can move freely inside the box, and can control the movement of black bricks up and down, left and right through the direction key to collide with the ball. The specific implementation ideas and codes are as follows. Interested friends c
    2025-04-16
  • Analysis of delayed execution problem of js

    Analysis of delayed execution problem of js

    Look at this code:<body><script src="deffer.js"></script> content</body> The content of deffer.js is: alert(1) so that the page will be blank until the alert window is closed. Because alert
    2025-04-16
  • Introduction to the syntax changes of HTML5

    Introduction to the syntax changes of HTML5

    Comment: The syntax changes of HTML5 are mainly reflected in the fact that tags are no longer case sensitive, elements can omit end tags, attributes that allow attribute values ​​to be omitted, etc. Interested friends can refer to it, hoping to help you u
    2025-04-16