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
  • Introduction to the new array TypedArray introduced by HTML5

    Introduction to the new array TypedArray introduced by HTML5

    Arrays in Javascript are powerful guys: you can create them without specifying the length, but dynamically change the length. You can read it as an ordinary array, or use it as a stack. You can change the value or even type of each element in the array. O
    2025-04-19
  • 15 very useful HTML5 development tutorials and quick search manuals

    15 very useful HTML5 development tutorials and quick search manuals

    Comment: In order to facilitate everyone to learn HTML5 better, this article today shares 15 very useful HTML5 development tutorials and quick search manuals. Nowadays, with the continuous support and improvement of HTML5 by mainstream browsers, more and
    2025-04-18
  • JavaScript methods to define classes and objects

    JavaScript methods to define classes and objects

    This article describes the method of defining classes and objects in JavaScript. Share it for your reference. The specific method is as follows: In JS, there are many different ways to write classes and objects. Because I am not very familiar with JS, I w
    2025-04-18
  • Seven legends about HTML5

    Seven legends about HTML5

    Comment: HTML5 is simply a new set of standards, syntax and rules to create web pages. It can utilize some "local" features of new browsers, such as offline storage, multimedia playback and other interactions, etc. Many of the cool HTML5 website
    2025-04-18
  • How to implement login by pressing Enter key in JS

    How to implement login by pressing Enter key in JS

    This article describes the method of JS pressing Enter to achieve login. This function has a wide range of practical value. Share it for your reference. The specific method is as follows: Method 1:<html xmlns="http://www.w3.org/1999/xhtml" ><head><title>
    2025-04-18
  • Guide to using common functions of JS

    Guide to using common functions of JS

    1.document.write(""); Output statement 2. The comment in JS is //3. The traditional HTML document order is: document->html->(head,body)4. The DOM order in a browser window is: window->(navigator,scre
    2025-04-18
  • Fun mini program made with hta (fixed on the desktop)

    Fun mini program made with hta (fixed on the desktop)

    Hello everyone, it’s time to start. First create a text block on the desktop and copy the following program into the code as follows:<html><head><title> Test o(∩_∩)o...haha</title><!--这里是标题-->
    2025-04-18
  • Object accessor properties in ECMAScript5: Getter and setter introduction

    Object accessor properties in ECMAScript5: Getter and setter introduction

    Obviously this is a topic that is irrelevant to IE (except for advanced IE). Despite this, interested students should learn about the implementation of getters and setters in the ECMAScript5 standard. In an object, the most commonly used operation of prop
    2025-04-18
  • JS obtains the implementation code of the number of days of the month based on year and month

    JS obtains the implementation code of the number of days of the month based on year and month

    function getDaysInMonth(year,month){ month = parseInt(month,10); //parseInt(number,type) If the second parameter is not used to represent the binary, the default is decimal.
    2025-04-18
  • Use the delegate method to add a link to a tr tag

    Use the delegate method to add a link to a tr tag

    $("table").delegate("tr","click",function(e){checkbox=$(this).children().first().children()[0];alter=$(this).children().
    2025-04-18
  • js method to dynamically modify css file

    js method to dynamically modify css file

    _.find(document.styleSheets[4].cssRules,function(cssRule){ if(cssRule.selectorText && cssRule.selectorText.indexOf(".nav
    2025-04-18
  • Using self-executed anonymous functions to solve the problem of using closures for loops

    Using self-executed anonymous functions to solve the problem of using closures for loops

    This code outputs 10 10s instead of the expected 0 to 9, because the closure is a reference to i, and then when the function is executed, i has become 10function f1(){for(var i = 0; i < 10; i++) {setTimeout(function() {aler
    2025-04-18
  • Detailed discussion of JavaScript anonymous functions and closures

    Detailed discussion of JavaScript anonymous functions and closures

    1. Anonymous function functions are the most flexible object in JavaScript. Here we just explain the purpose of its anonymous function. Anonymous functions: a function without a function name. 1.1 Definition of a function. First, let’s briefly introduce t
    2025-04-18
  • Let checkbox not select the checkbox to be selected

    Let checkbox not select the checkbox to be selected

    I encountered a problem when working on a project today. You need to empty the selected checkbox, and the selected checkbox is not selected. Finally, I found that a method is very good, so I will record it here. $("input[type='checkbox']&quot
    2025-04-18
  • html5 canvas-1.canvas introduction (hello canvas)

    html5 canvas-1.canvas introduction (hello canvas)

    Comment: Everyone knows that not all browsers currently support html5. Even browsers that support html5 may not support all new features of html5. It is recommended that you use firefox (developers' favorite) or chrome browser. All my examples are dev
    2025-04-18