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
  • Simple example of JS patchwork strings

    Simple example of JS patchwork strings

    Like Java, it is very resource-consuming to use the "+" sign in JS to piece together strings, so in the case of a large number of strings, we also need a tool similar to StringBuffer. The following uses the Array.join() method to implement Strin
    2025-07-01
  • JavaScript scope and scope chain (must-read for newbies)

    JavaScript scope and scope chain (must-read for newbies)

    The scope and scope chain of javascript are the most painful part of my learning, because I spent a lot of time reading many technical documents but couldn't understand them. I roughly know what it means, but I still can't explain why. Through a l
    2025-07-01
  • How to sort JavaScript object arrays by specified attributes and sorting directions

    How to sort JavaScript object arrays by specified attributes and sorting directions

    In data-centric information systems, it is a common way to display data in tabular form. Sorting data is an essential feature. Sort can be divided into sorting by single field and sorting by different sorting directions of multiple fields. Single-field so
    2025-07-01
  • Read and save file instances in JavaScript

    Read and save file instances in JavaScript

    By the way, today I just browsed the source code of Proxy SwitchySharp and gained a lot of things, including reading and saving files to be introduced in this article. Because Google does not provide the function of synchronizing plug-in data, importing a
    2025-07-01
  • JS code to transform the page background effect according to time

    JS code to transform the page background effect according to time

    1. Overview Sometimes, in order to enrich the display effect of the page, the page is made into a style that changes the page background according to time, so that the viewer will not feel tired of the website, and will also feel that the website is made
    2025-07-01
  • Analysis of rel attributes in HTML

    Analysis of rel attributes in HTML

    This article mainly introduces the analysis of rel attributes in HTML. Friends who need it can refer to it. Since I found that some classmates broadcast and collect this article on Weibo, I will look back at this casually translated article. Later, I foun
    2025-07-01
  • Implement WeChat shake function based on html5 DeviceOrientation

    Implement WeChat shake function based on html5 DeviceOrientation

    We have been adding WeChat Shake for a long time, and many friends are playing. So how to implement the WeChat Shake function based on html5 DeviceOrientation? Below, the editor of Wulin.com will share the detailed content with you for your reference. In
    2025-07-01
  • Implementation code for automatic table creation in JS package

    Implementation code for automatic table creation in JS package

    The information accumulated for the next dynamic input form is very good. Let me share it with you for your reference. If there are better plug-ins and encapsulations, please share it. . The key code is as follows: <script type="text/javascript">var curre
    2025-07-01
  • A brief introduction to the use of audio tags in HTML5

    A brief introduction to the use of audio tags in HTML5

    This article mainly introduces the use of audio tags in HTML5, and adds audio playback controls to each browser. Friends who need it can refer to the HTML5 standard web page. We can use audio tags to complete our call and playback of sounds. Here are the
    2025-07-01
  • Easy way to draw curves using HTML5's Canvas

    Easy way to draw curves using HTML5's Canvas

    This article mainly introduces the simple method of using HTML5 Canvas to draw curves, which is the basic knowledge in the introduction to HTML5. Friends who need it can refer to the curve method that comes with Canvas2D recently, and are studying the cal
    2025-07-01
  • Summary of js learning stage (must read)

    Summary of js learning stage (must read)

    typeof operator: Returns a string, which may be one of "undefined", "boolean", "string", "number", "object", and "function", so the array cannot be judged. NaN (Not a Number): Usage NaN(val
    2025-07-01
  • A brief analysis of JavaScript object array sorting example method

    A brief analysis of JavaScript object array sorting example method

    In JavaScript, implement multi-dimensional arrays and object array sorting, basically using the native sort() method to sort the elements of the array. I won’t talk about its basic usage, let’s take a look at a simple sorting example: //Sortalphabetically
    2025-07-01
  • Asynchronous loading of JS and CSS codes (recommended)

    Asynchronous loading of JS and CSS codes (recommended)

    You know my style. The specific details are as follows: function AsyncLoad(V_tag,V_src){if (V_tag == "script") {var s = document.createElement('script'
    2025-07-01
  • Methods to set the drop-down list box in ExtJS to be editable

    Methods to set the drop-down list box in ExtJS to be editable

    The ExtJS framework has not been learned or used. I only know that it is a popular front-end framework, which is similar to Easy UI, BUI, DWZ and other frameworks, but it is more powerful than them. I think it is very helpful to write this. Today my frien
    2025-07-01
  • Solution to the garbled Chinese parameters when dynamically loading iframes

    Solution to the garbled Chinese parameters when dynamically loading iframes

    When the user's page needs to load an iframe dynamically, if the Chinese parameters are transmitted in the src of the iframe, an encoding error will occur; it must be encoded and then decoded. Encoding: encodeURI(encodeURI("string containing Chin
    2025-07-01