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 methods and techniques to get selected text on page

    JavaScript methods and techniques to get selected text on page

    A tip introduced here is how to use JavaScript to get selected text on a page. The most critical JavaScript API is: copy the code as follows: event.selection = window.getSelection(); the selection here
    2025-05-20
  • JavaScript implementation node (div) name editing

    JavaScript implementation node (div) name editing

    The node html code is as follows: The copy code is as follows:<div id="img_1" ><input type="image" src="img/cump.png"></input>
    2025-05-20
  • An in-depth discussion of JavaScript String objects

    An in-depth discussion of JavaScript String objects

    String String Object 1. Introduction to String objects, perform operations on strings, such as: intercepting a substring, finding strings/characters, converting upper and lower case, etc. 2. Definition method 2.1 new String(Value) constructor: Return a St
    2025-05-20
  • Read-only innerHTML under IE

    Read-only innerHTML under IE

    Today I encountered a problem in doing things. I tried to dynamically add multiple rows of data to a table. I first defined a table: 123456<table>
    2025-05-20
  • Some parameters of text input box in web design

    Some parameters of text input box in web design

    Text input boxes should be used in general message books, forums, etc. That is, textarea and textare in the html language contain many parameters. If you learn to use these parameters, you can modify the size and appearance of the text input box at will t
    2025-05-20
  • JS method to realize the effect of clicking text corresponding to DIV layer continuously flashing

    JS method to realize the effect of clicking text corresponding to DIV layer continuously flashing

    This article describes the method of JS to achieve the constant flashing effect of clicking text corresponding to the DIV layer. Share it for your reference. The specific analysis is as follows: We often see this effect on many entertainment websites. Cli
    2025-05-20
  • Node.js package details

    Node.js package details

    In the Node.js language, there is no essential difference between packages and modules. Packages are a deeper abstraction based on modules. Packages encapsulate a certain independent function for release, update, dependency management and version control.
    2025-05-20
  • Forgotten button tag

    Forgotten button tag

    Note: Someone has translated this article and re-understood the button tag, but I feel that there are many things worth pondering and are not easy to understand. Therefore, I re-translated this article based on my personal learning experience. Original En
    2025-05-20
  • Web form submission disabled problem js solution

    Web form submission disabled problem js solution

    This article describes the js solution to the disabled problem of web form submission. Share it for your reference. The specific analysis is as follows: For example, the following form copy code is as follows:
    2025-05-19
  • Javascript basic tutorial argument details

    Javascript basic tutorial argument details

    argument is a special parameter of a function in javascript. For example, the following is used to access the function parameters and determine whether the function executes the copy code as follows: <script type="text/javascript">function sayHello ()
    2025-05-19
  • JavaScript example code to compare the sequence of two dates

    JavaScript example code to compare the sequence of two dates

    The code is very simple, so I won't talk much nonsense here, just give me the code: copy the code as follows: function checkDate(){//replace(//-/g, "//") is to convert the date into a long date format based on the verification expression var
    2025-05-19
  • Instructions for using buffer.write method in node.js

    Instructions for using buffer.write method in node.js

    Method description: Write string to the offset of the buffer using the specified encoding. Returns how many octal bytes have been written. If the Buffer does not have enough space to accommodate the entire string, only the string will be written. Syntax:
    2025-05-19
  • Summary of methods for dynamic loading js

    Summary of methods for dynamic loading js

    This example summarizes the methods of dynamically loading js. Share it for your reference. The specific details are as follows: Method 1: Direct document.write (asynchronous) copy the code as follows:<script language="javascript"> document.write("<script
    2025-05-19
  • A brief discussion on JavaScript Math and Number Objects

    A brief discussion on JavaScript Math and Number Objects

    1. Math Object 1.1 Introduction to Math Object, it is a mathematical object, providing mathematical calculations of data, such as: obtaining absolute values, rounding upwards, etc. There is no constructor, it cannot be initialized, only static properties
    2025-05-19
  • Use JavaScript to implement the design ideas and source code sharing of web version Pongo

    Use JavaScript to implement the design ideas and source code sharing of web version Pongo

    1. Introduction to the game background (nonsense written in the previous one): One day in early May, I saw a certain website recommending this game, Pongo. I looked pretty good and tried it with iPad. After playing two games, I felt that it was a bad game
    2025-05-19