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
  • js imitation 3366 mini game word selection game

    js imitation 3366 mini game word selection game

    This article shared with you the "Are you color blind" game in the js imitation 3366 mini game. Let's first challenge the game's goal: select the color according to the color of the text appearing in the screen. Never be disturbed by the
    2025-07-09
  • RequireJS multi-page application example analysis

    RequireJS multi-page application example analysis

    This article is a summary of some knowledge points of requireJS, accompanied by example analysis in multi-page applications. The directory structure of this case is as follows: three main functions of requireJS API: define (create module), require (load m
    2025-07-09
  • Introduction to the difference between i++ and ++i in JS for loop

    Introduction to the difference between i++ and ++i in JS for loop

    This is how the for loop is written, for(var i = 0; i < 20 ; i++){ .... } But I think some people write for (var i = 0; i < 20 ; ++i) {....} What impact will this have on the for loop? 1. It seems that there is no in for
    2025-07-09
  • js css+html implements a simple calendar

    js css+html implements a simple calendar

    Calendar display, selection, etc. are used in many places on the web page. This article uses html, css, and javascript to implement a simple calendar. After completion, the effect is similar to the effect on the left side of the page. You can switch to th
    2025-07-09
  • A brief discussion on the url parsing function encapsulation of js

    A brief discussion on the url parsing function encapsulation of js

    In actual development, some data needed to be used when exchanging data with the background through get, so we need to obtain useful information in the url. The encapsulated function below can parse the url very thoroughly and can be used directly: functi
    2025-07-09
  • Front-end WeChat Pay JS Code

    Front-end WeChat Pay JS Code

    This article shares the front-end WeChat payment js code for your reference. The specific content is as follows $('.Save_Patient_Msg').click(function(){ $('.Save_Patient_Msg').off('click'); var hrdfI
    2025-07-09
  • The idea of ​​separation and inheritance realizes the preview function after image upload: ImageUploadView

    The idea of ​​separation and inheritance realizes the preview function after image upload: ImageUploadView

    This article introduces the implementation idea of ​​the common images on the web page to directly generate small images previews on the page after uploading them. Considering that this function has certain applicability, the relevant logic is encapsulate
    2025-07-09
  • JS uses absolute positioning to achieve a complete example of the effect back to the top

    JS uses absolute positioning to achieve a complete example of the effect back to the top

    This article describes the use of absolute positioning of JS to achieve the effect of back to the top. Share it for your reference, as follows:
    2025-07-09
  • Detailed explanation of AngularJS modal dialog box

    Detailed explanation of AngularJS modal dialog box

    In the process involving GUI program development, there are often modal dialog boxes and conceptual modal dialog boxes of non-modal dialog boxes: during child interface activities, the parent window cannot respond to messages. Exclusive user input non-mod
    2025-07-09
  • Explore the Proxy Agent in ES6 in detail

    Explore the Proxy Agent in ES6 in detail

    Preface In ES6, the Proxy constructor is an accessible global object, using it you can collect various information about requested operations between the object and the behavior of various operation objects and return whatever you want to do. The arrow fu
    2025-07-09
  • Detailed explanation of Reflect object in JavaScript (new features of ES6)

    Detailed explanation of Reflect object in JavaScript (new features of ES6)

    Reflect introduction: Reflect object has not been implemented in my node (v4.4.3), and babel (6.7.7) has not been implemented. The new version of Chrome is supported. ff has supported Proxy and Reflect for a long time. To enable node to support Reflect, i
    2025-07-09
  • Two ways to solve javascript url post special character escape + & #

    Two ways to solve javascript url post special character escape + & #

    Recently, when I was passing special characters with url, I found that the data was lost. Actually it is not lost, for example, '+' will be processed as a connection character. 1. Replace with hexadecimal characters, in this column several commonl
    2025-07-09
  • JavaScript's suggestions on improving website performance (I)

    JavaScript's suggestions on improving website performance (I)

    Recently, I have been studying the book "Guide to Construction of High Performance Websites". This article is a study note. I will sort out what I have learned for easy viewing later. Performance Golden Rule explains that only 10% to 20% of end-
    2025-07-09
  • Detailed explanation of grouping in javascript regular expressions

    Detailed explanation of grouping in javascript regular expressions

    I wrote an article about getting started with regular expressions before. I thought I was relatively familiar with regular expressions, but today I encountered another pitfall. Maybe it was because I was not careful enough. Today I will focus on sharing w
    2025-07-09
  • How to efficiently remove duplicates in js array

    How to efficiently remove duplicates in js array

    Method 1: Normal mode 1. Build a new temporary array to store the results 2. Take an element from the original array every time in the for loop, and use this element to loop to compare with the temporary array 3. If there is no element in the temporary ar
    2025-07-09