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
  • A brief analysis of common commands for Nodejs npm

    A brief analysis of common commands for Nodejs npm

    npm is a node package management and distribution tool, and has become the unofficial standard for releasing node modules (packages). With npm, you can quickly find the packages to use for a specific service, download, install and manage the installed pac
    2025-08-21
  • Simple implementation of js uninterrupted scrolling

    Simple implementation of js uninterrupted scrolling

    CSS:ul, li { margin: 0; padding: 0; } #scrollDiv { width: 300px; height: 25px; li
    2025-08-21
  • html table overflow solution

    html table overflow solution

    This article mainly introduces the solution to the overflow of html tables. If the table is wider, it may overflow. Therefore, you can see the following method. If the table is wider, it may overflow. For example, there are two divs, left and right. If th
    2025-08-21
  • Building a Web Program with GruntJS

    Building a Web Program with GruntJS

    There are roughly the following steps to create a new project Bejs new file package.json new file Gruntfile.js command line to execute grunt task 1. Create a new project Bejs source code under src. There are two js files in this directory, selector.js and
    2025-08-21
  • Implementation method of image verification code in node.js WEB development

    Implementation method of image verification code in node.js WEB development

    Many places that require verification codes when using node for web development may be encountered. I searched on github before and found that some class libraries such as node-captcha all need to rely on third-party graphics processing libraries or softw
    2025-08-21
  • html5 drawing clock animation

    html5 drawing clock animation

    This article mainly introduces html5 drawing clock animation. Friends who need it can refer to it.<canvas id=clock width=500 height=500 style=background-color: yellow></canvas> Copy the code
    2025-08-21
  • Native JS implementation - Simple example of star rating system

    Native JS implementation - Simple example of star rating system

    Today I wrote another cool example: star rating system (can customize the number of stars and display information) sufuStar.star(); use the default value of 5 stars, default information var msg = [.........]; sufuStar.star(10,msg); the custom number of st
    2025-08-21
  • Basic syntax summary of vue.js introductory tutorial

    Basic syntax summary of vue.js introductory tutorial

    Preface Vue.js is a data-driven web interface library. Vue.js focuses only on view layers and can be easily integrated with other libraries. The code is only 24kb after compression. The following code is the simplest example of Vue.js. When the content in
    2025-08-21
  • Array extension method in ES6

    Array extension method in ES6

    To convert form into real array, let’s talk about the usage scenario first. In Js, we need to operate the DOM frequently, such as obtaining the input tags of all pages, finding the element of type button, and then registering a click event for this button
    2025-08-21
  • JS scripts implement dynamically adding events to tag controls

    JS scripts implement dynamically adding events to tag controls

    This article describes the method of JS scripts to dynamically add events to tag controls. Share it for your reference, as follows:
    2025-08-21
  • AngularJS equal comparison object instance detailed explanation

    AngularJS equal comparison object instance detailed explanation

    Usage 1 First of all, all objects that satisfy a === 3 will return true 2 in angular.equals(a,b). All objects' types and attribute values are the same, and will return true 3. NaN and NaN will also return true (in javascript, the return false) 4. The
    2025-08-21
  • js simple example of converting image connections into base64 format

    js simple example of converting image connections into base64 format

    We write the contents of the image file directly into the HTML file. The advantage of this is that it saves an HTTP request. The disadvantage is that the browser will not cache such images. Now we provide a js: function convertImgToBase64(url, callback, o
    2025-08-21
  • node.js regular expression gets code instances for all links in a web page

    node.js regular expression gets code instances for all links in a web page

    Implement code copying code as follows: var http = require('http');//Define the function var getAHref = function(htmlstr){var reg = /
    2025-08-21
  • Tips on how to make Flash not block HTML div elements

    Tips on how to make Flash not block HTML div elements

    Today, when I was writing a flash ad code, I found that flash was always on the div layer, so I needed to make some settings. I searched and found that Wulin.com did not have such content. Here I will add to you when I was writing a flash advertising code
    2025-08-21
  • Detailed explanation of the role and usage examples of $cacheFactory in Angular

    Detailed explanation of the role and usage examples of $cacheFactory in Angular

    Let’s talk about cache first: a cache is a component that can transparently store data so that it can serve requests faster in the future. Retrieving resources repeatedly may cause data duplication and consume time. Therefore, cache is suitable for some d
    2025-08-21