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
  • The trigger function returns true before the form is submitted.

    The trigger function returns true before the form is submitted.

    Just look at the code and copy the code as follows: <form id="payForm" action="yeepaypay.html" target="_blank" method="post" onsubmit="return checkform();">
    2025-02-13
  • HTML is larger than numbers, small, space, space, quotation, etc.

    HTML is larger than numbers, small, space, space, quotation, etc.

    The form is as follows: HTML original code display results describe << Small or displayed marker >> greater than number or display label && can be used to display other special characters "quotation ®® ©© copyright ™ ™ trademark s
    2025-02-13
  • JS array operation POP, Push, UNSHIFT, Splice, Shift

    JS array operation POP, Push, UNSHIFT, Splice, Shift

    Copy code code as follows:<script> Array.prototype.pop=function(){ if(this.length!=0)this.length--; return this; } pop 方法 移除数组中的最后一个元素并返回
    2025-02-13
  • Pure HTML5+CSS3 production birthday cake code

    Pure HTML5+CSS3 production birthday cake code

    Draw a simple cake to celebrate the good day today, the fun and sorrow of programmers. The writing is relatively simple, take a look interested. First send a renderings. The cake is divided into three parts, the bottom cake, the top cake and the candle pa
    2025-02-12
  • Commonly used system constants and system variables in thinkphp

    Commonly used system constants and system variables in thinkphp

    ----------------------------------------System variables and constants used in templates-- ------------------------------------- (1) System variables: Output system variables in the template :Includes server
    2025-02-12
  • Summary of the usch function in JavaScript

    Summary of the usch function in JavaScript

    The MATCH function in JavaScript uses regular expressions to find string, and returns the finding results as an array. It is very useful in actual development. The method of use is as follows: StringObj is a compulsory item. STR that searches for it
    2025-02-12
  • Implementation code for changing transparency of Canvas pixel processing

    Implementation code for changing transparency of Canvas pixel processing

    1. Definition and usage The getImageData() method returns an ImageData object, which copies the pixel data of the specified rectangle of the canvas. Note: The ImageData object is not an image. It specifies a portion (rectangle) of the canvas and saves the
    2025-02-12
  • JS judgment UNDEFINED type code

    JS judgment UNDEFINED type code

    Copy code code as follows: if (revalue == UNDEFINED) {ALERT ("UNDEFINED");} It is found that the judgment cannot be found. Finally, the information should be checked by the Typeof method: if (Typeof (Revalue) == "UNDEFINED")))
    2025-02-12
  • Introduction to javascript special usage examples

    Introduction to javascript special usage examples

    Syntax 1: Copy the code as follows: function sayWhat(msg){ alert(msg); } sayWhat("Hello"); Equivalent to the following syntax (js closure (anonymous self-executing function) syntax): Copy the code as follows : (function(msg){ a
    2025-02-12
  • Implement the change of IMG pictures through the ONMOUSEOVER tab
  • Sample code for WebGL 3D version of Tetris based on HTML5

    Sample code for WebGL 3D version of Tetris based on HTML5

    Summary of the preface: 2D Tetris has been played badly by people, so on a whim, I made a 3D game console for playing Tetris. . . The basic idea of ​​implementation is to first implement the Tetris mini-game in 2D, then use the 3D modeling function to cre
    2025-02-12
  • How to find Oracle's high consumption statements

    How to find Oracle's high consumption statements

    Before running the following script, you need to use SQL that generates the AWR report (the program script is generally saved in rdbms/admin under $ORACLE_HOME, the name is awrrpt.sql, and you need to enter the number of days to generate the AWR report) t
    2025-02-12
  • Usage of arguments in js (explanation with examples)

    Usage of arguments in js (explanation with examples)

    As shown below: Copy the code The code is as follows: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    2025-02-12
  • Input prohibits keyboards and Chinese inputs, but you can click on

    Input prohibits keyboards and Chinese inputs, but you can click on

    Find a lot on the Internet, not practical, or compatible with the problem, this is okay!<input> The keyboard and Chinese input are prohibited, but you cannot use Readonly and you need to be compatible with IE and FF. In order to complete this function, it
    2025-02-12
  • Implementation of drag-and-drop object in Canvas advanced path operation

    Implementation of drag-and-drop object in Canvas advanced path operation

    To keep track of what is being drawn, many applications, such as drawing applications, computer-aided design systems (CAD systems), and games, maintain a list of currently displayed objects. Typically, these applications allow the user to view the current
    2025-02-12