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
  • JavaScript browser compatibility tutorial event handling

    JavaScript browser compatibility tutorial event handling

    1. window.event【Analysis Description】Look at a piece of code to copy the code as follows: function et(){ alert(event);//IE: [object]} The result of the above code running in IE is [object], but it cannot be run in Firefox. Because
    2025-04-26
  • Introduction to the implementation principle of RPC (remote procedure call) in node.js

    Introduction to the implementation principle of RPC (remote procedure call) in node.js

    Just came into contact with RPC (remote procedure call), which is the method that can call programs on the remote machine locally. I saw a simple nodejs implementation, which is very good to learn the principle of RPC: nodejs light_rpc usage example: copy
    2025-04-26
  • Share the 20 amazing HTML5 application examples

    Share the 20 amazing HTML5 application examples

    Comment: HTML 5 can be said to be the biggest leap in Web standards in the past decade. Its mission is to bring the Web into a mature application platform where video, audio, images, animation, and interaction with computers are standardized. Today, this
    2025-04-26
  • Instructions for using events.emitter.removeAllListeners method in node.js

    Instructions for using events.emitter.removeAllListeners method in node.js

    Method Description: Remove all listeners, if an event is specified, all listeners for the specified event will be removed. Syntax: The code copy is as follows: emitter.removeAllListeners([event]) Receive parameters: event event type, supports multiple exa
    2025-04-26
  • Instructions for using fs.realpath method in node.js

    Instructions for using fs.realpath method in node.js

    Method description: Get the real path. Relative paths can be resolved using process.cwd. Syntax: The code copy is as follows: fs.realpath(path, [cache], [callback(err, resolvedPath)]) Since this method belongs to the fs module, it is required before use
    2025-04-26
  • Instructions for using fs.fsyncSync method in node.js

    Instructions for using fs.fsyncSync method in node.js

    Method description: Synchronous version of fsync(). Synchronize disk cache. Syntax: The code copy is as follows: fs.fsyncSync(fd) Since this method belongs to the fs module, it is necessary to introduce the fs module (var fs= require("fs")) befo
    2025-04-26
  • html5 plays video and dynamic screenshot implementation steps and code (supports other untested safari)

    html5 plays video and dynamic screenshot implementation steps and code (supports other untested safari)

    Comment: HTML5 plays videos and dynamic screenshots. It is a very fashionable and cool feature. It does not support chrom. It supports other untested safari. If you need to know, you can refer to it appropriately. Chrom is not supported. Support safari. O
    2025-04-26
  • Introduction to HTML5 window/iframe cross-domain message delivery API

    Introduction to HTML5 window/iframe cross-domain message delivery API

    Comment: window.postMessage allows multiple windows/frames to pass data and information across domains. Here is a description of how window.postMessage works and how it works in FireFox, IE8+, Opera, Safari and Chrome
    2025-04-26
  • 14 NodeJS Web Framework Recommendations

    14 NodeJS Web Framework Recommendations

    In a few years, Node.js has gradually developed into a mature development platform, attracting many developers. There are many large high-traffic websites that are developed with Node.js, like PayPal, and in addition, developers can use it to develop some
    2025-04-26
  • Using CSS to implement elastic video html5 case practice

    Using CSS to implement elastic video html5 case practice

    Comment: When I encoded Elemin Theme (a responsive site I recently designed), one of the skip frames I encountered was how to make embedded videos more flexible in size changes; through hours of searching for data and experiments, I finally found a soluti
    2025-04-26
  • 20-bit random numbers generated in JS can also be az AZ

    20-bit random numbers generated in JS can also be az AZ

    JS code: function s20(){ var data=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f&qu
    2025-04-26
  • html5 video tag block right click video save as js code

    html5 video tag block right click video save as js code

    Comment: The html5 video tag itself has a download function, but in the video area, right-click to save video as, below is the js code to block the right-click video as, friends who need this need should not miss the HTML5 video tag. We have a download fu
    2025-04-26
  • Analysis of custom event usage in JavaScript

    Analysis of custom event usage in JavaScript

    This article describes the usage of custom events in JavaScript. Share it for your reference. The specific analysis is as follows: In web front-end development, many people may not use JS custom events, but if you are doing a relatively large project, esp
    2025-04-26
  • html5 Canvas drawing tutorial (7)—The quadraticCurveTo method of drawing curves in canvas

    html5 Canvas drawing tutorial (7)—The quadraticCurveTo method of drawing curves in canvas

    Comment: Today I talk about the quadraticCurveTo method to draw curves. quadratic means quadratic, that is, the quadratic equation in mathematics. Next, I will introduce the use of the quadraticCurveTo method in detail. Interested friends can learn about
    2025-04-26
  • Html5 game development: Ping Pong game example (three)

    Html5 game development: Ping Pong game example (three)

    Comment: We have initialized the racket with jQuery. Now we are doing an experiment on how to use jQuery to place game elements and use grid background to check the location of our game elements. Interested friends can learn about it. I wish you a happy g
    2025-04-26