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 JavaScript overloaded function instance

    Analysis of JavaScript overloaded function instance

    1. There is no concept of overloading functions in javascript! First of all, JavaScript does not have the concept of overloading functions. A long time ago, when I used javascript to make web pages, I wrote some simple effects, and I didn't need to us
    2025-07-29
  • Node.js implements data push

    Node.js implements data push

    Scenario: The backend update data is pushed to the client (the Java part uses the Tomcat server). There are many solutions for pushing data in the backend, such as polling, Comet, and WebSocket. 1. Polling is the lowest development cost for the backend, w
    2025-07-29
  • Example explanation of this pointing error solution in JavaScript

    Example explanation of this pointing error solution in JavaScript

    See the following object definition: 'use strict'var jane = { name : 'Jane', display : function(){ retrun 'Person named ' + this.name; }}; This will be normal
    2025-07-29
  • Detailed explanation of events in AngularJS

    Detailed explanation of events in AngularJS

    AngularJS Events AngularJS has its own HTML event directive. ng-click directive The ng-click directive defines the AngularJS click event. AngularJS instance<!DOCTYPE html><html><head>
    2025-07-29
  • JS implements ajax timed collection and scroll display method based on MSClass and setInterval

    JS implements ajax timed collection and scroll display method based on MSClass and setInterval

    This article describes the method of JS to collect information regularly and display it scrolls based on MSClass and setInterval. Share it for your reference, as follows: setTimeout is used for delay, only executed once.setInterval: used for multiple exec
    2025-07-29
  • About the simple implementation of bind function in native js

    About the simple implementation of bind function in native js

    Today I continued to study the implementation of bind function and also learned the statements of shim and polyfill. Now I will summarize it, if (!Function.prototype.bind) { Function.prototype.bind = function (oThis)
    2025-07-29
  • Javascript abbreviation conditional statement (recommended)

    Javascript abbreviation conditional statement (recommended)

    I often see many abbreviated conditional expression statements in the codes of great people everywhere. After reading some articles introducing this aspect, I think 3 ways 2 says if this article (http://www.thomasfrank.se/3_ways_2_say_if.html) is not bad.
    2025-07-29
  • Simple example of using native js to count text lines

    Simple example of using native js to count text lines

    Preface This situation will be encountered during development. Only two lines are displayed. If more than two lines are exceeded, a "Show more" button will be displayed. Click the button to display the contents of the remaining lines. There is a
    2025-07-29
  • Click the button button in EXT to add a line of instance code (cursor position can be set)

    Click the button button in EXT to add a line of instance code (cursor position can be set)

    Let me first tell you what Extext is a powerful js library. It used to be based on YAHOO-UI, but now it is completely independent, mainly including data, widget, form, grid, dd, menu. The most powerful one should be considered grid. The programming idea i
    2025-07-29
  • Ionic quick installation tutorial

    Ionic quick installation tutorial

    Today, let’s learn how to install Ionic to build a simple small application on your computer. Many websites write very complicated installation methods. In fact, beginners who are just starting to learn ionic, especially those who do not have much program
    2025-07-29
  • JS realizes the simple effect of switching pictures in and out

    JS realizes the simple effect of switching pictures in and out

    This article has shared the detailed code of the JS picture fading in and out switching for your reference. The specific content is as follows<!DOCTYPE html><html><head><meta charset="UTF-8"><title></title>
    2025-07-29
  • First time to get into the magical Bootstrap grid system

    First time to get into the magical Bootstrap grid system

    This article will mainly introduce Bootstrap's grid system. The implementation of the grid system is to define the container size, divide 12 parts (or 24 parts or 32 parts, but 12 parts are the most common), then adjust the inner and outer margins, an
    2025-07-29
  • JS method to determine whether an iframe is loaded

    JS method to determine whether an iframe is loaded

    This article describes the method of JS to determine whether an iframe is loaded. Share it for your reference, as follows:
    2025-07-29
  • Bootstrap learning tutorials worth sharing and collection

    Bootstrap learning tutorials worth sharing and collection

    First of all, I would like to thank my friends for their support, pay attention to the editor’s articles, learn and improve with the editor, and keep accompanying me. The editor will definitely continue to work hard and share more exciting articles with y
    2025-07-29
  • How to limit the input value in the text of input can only be numbers (regular, js)

    How to limit the input value in the text of input can only be numbers (regular, js)

    When we register an account on some websites and fill in information, we accidentally fill in the phone number into Chinese characters or other English letters, this is obviously incorrect. In order to help users better correct errors in input, when filli
    2025-07-29