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 N postures for unlocking cross-domain exported images from canvas

    Summary of N postures for unlocking cross-domain exported images from canvas

    This article introduces a summary of N postures for unlocking canvas exported images across domains. I would like to share them with you. The details are as follows: Uncaught DOMException: Failed to execute toDataURL on HTMLCanvasElement: Tainted c
    2025-01-18
  • A simple example of obtaining the nickname, avatar, and birthday of a QQ number using JS

    A simple example of obtaining the nickname, avatar, and birthday of a QQ number using JS

    http://r.qzone.qq.com/cgi-bin/user/cgi_personal_card?uin=Specifying a QQ number will return the following content: _Callback({"uin":queried QQ number,"qzone":1," nickname":"nickname
    2025-01-18
  • Detailed introduction to JavaScript execution order

    Detailed introduction to JavaScript execution order

    Previously, we explored the working principle of JavaScript from the parsing mechanism of the JavaScript engine. Now we use a more vivid example to illustrate the execution order of JavaScript code on the page. If the working mechanism of the JavaScript e
    2025-01-18
  • How to invoke Baidu Map App in Html5

    How to invoke Baidu Map App in Html5

    Recently I took over a requirement, which requires hybrid development. After the front-end is done with h5, the page can be embedded into ios and android. It requires the use of map navigation on Baidu Maps. The specific function points are as follows: If
    2025-01-18
  • How to implement a circular progress bar with incremental animation on canvas

    How to implement a circular progress bar with incremental animation on canvas

    As always, just look at the pictures! The effect is as follows: high-definition large picture! I have been working as a coder for many years, but my old eyes are dim and I can’t see the animation clearly? ! Then look at the static screenshots! ! ! The eff
    2025-01-17
  • Detailed explanation of the bug in Canvas using image synthesis to draw SVG under FireFox

    Detailed explanation of the bug in Canvas using image synthesis to draw SVG under FireFox

    This article is suitable for readers who are interested in canvas drawing, graphics, and front-end visualization. Wedge Everything has a cause. Recently, the product needs to have such a function: dyeing some graphics. Come to think of it, this is not som
    2025-01-17
  • A small example of averaging using JS

    A small example of averaging using JS

    Effect: Event: The blur event is triggered after three text boxes are entered. Calculate the average. Instructions: Call the method to calculate the average. Code: In the text box: Copy the code. The code is as follows:
    2025-01-17
  • JavaScript simply implements table row interval display color and highlighting

    JavaScript simply implements table row interval display color and highlighting

    Copy the code code as follows:<script type="text/javascript"> var name; //存储tr对象的类名,当鼠标移开时进行恢复 function trcolor(){ //表格行颜色间隔显示 var tabNode =
    2025-01-17
  • data:image data url file to Blob upload backend method

    data:image data url file to Blob upload backend method

    Some scenarios, such as images obtained by canvas, or images returned by WeChat development SDK are in data:img format. We need to upload them to the server, and then they need to be converted. Convert dataURL to Blob//base64 to blobdataURItoBlob(dataURI
    2025-01-17
  • Detailed explanation of the solution for window.open being intercepted by the browser

    Detailed explanation of the solution for window.open being intercepted by the browser

    Recently, when working on a project, I encountered a situation where window.open was blocked by the browser, which made people extremely depressed. Although the page can be released in one's own environment, for users, users cannot be required to pass
    2025-01-17
  • How to convert html to base64 through canvas

    How to convert html to base64 through canvas

    In H5 marketing activities, a picture is often generated for users to share or save. In this case, there are two solutions. One is to let the back-end generate images and return an image address to the front-end for display. The other is for the front-end
    2025-01-17
  • Simple implementation of JS Loading function

    Simple implementation of JS Loading function

    When we browse the web, we often see the LOADING prompt that appears when data is loading. In fact, the principle of this function is very simple, that is, a DIV covers the current page, and then Loading is displayed on the covered DIV layer. Now let'
    2025-01-17
  • Share the 55 most commonly used classic tips in Javascript

    Share the 55 most commonly used classic tips in Javascript

    1. oncontextmenu="window.event.returnValue=false" will completely block the right mouse button<table border oncontextmenu=return(false)><td> no</table> Available for T
    2025-01-17
  • A brief analysis of types and objects in JavaScript

    A brief analysis of types and objects in JavaScript

    JavaScript is object-based, and any element can be regarded as an object. However, types and objects are different. In this article, in addition to discussing some characteristics of types and objects, more importantly, we study how to write good and reus
    2025-01-17
  • HTML5 WebGL implements civil aviation flight monitoring system

    HTML5 WebGL implements civil aviation flight monitoring system

    Preface I was on a business trip a few days ago and saw the overhead monitoring panel on the plane. In addition to playing TV series and advertisements, it would also switch to a monitoring system for aircraft navigation from time to time. However, the en
    2025-01-17