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
  • A brief analysis of module definition and module loading of seaJs

    A brief analysis of module definition and module loading of seaJs

    SeaJS is a module loading framework developed by Yubo that follows the CommonJS specification, which can be used to easily and happily load any JavaScript module and css module styles. SeaJS is very small, because the volume after compression and gzip is
    2025-04-28
  • 2025-04-28
  • js star rating effect

    js star rating effect

    The html is as follows:<div><ul id="pingStar"><li rel="1"></li><li rel="2"></li><li rel="3"></li><li rel="4"></li>
    2025-04-28
  • Detailed explanation of JavaScript variable declaration

    Detailed explanation of JavaScript variable declaration

    All those defined outside the function body are global variables, and those defined inside the function body are local variables. The definition here refers to the declaration by var. JavaScript has an implicit global concept, which means that any variabl
    2025-04-28
  • Learn HTML5: 15 Very Useful HTML5 Development Tutorials and Quick Search Manuals

    Learn HTML5: 15 Very Useful HTML5 Development Tutorials and Quick Search Manuals

    Article introduction of Wulin.com (www.vevb.com): 15 very useful HTML5 development tutorials and quick search manuals. Nowadays, with the continuous support and improvement of HTML5 by mainstream browsers, more and more developers are beginning to use HTM
    2025-04-28
  • Instructions for using path.normalize method in node.js

    Instructions for using path.normalize method in node.js

    Method description: Output path string in canonical format. Syntax: The code copy is as follows: path.normalize(p) Since this method belongs to the path module, you need to introduce the path module before use (var path= require("path") ) Exampl
    2025-04-28
  • JavaScript framework design reading notes extension and repair of strings

    JavaScript framework design reading notes extension and repair of strings

    1.repeat method: repeat a string n times. For example: repeat("chaojidan",2) -> chaoschaojidan method 1: Copy the code as follows: function repeat(str,n){ return Array.
    2025-04-28
  • CSS Sprites Scope and the pros and cons of CSS Sprites

    CSS Sprites Scope and the pros and cons of CSS Sprites

    Article introduction of Wulin.com (www.vevb.com): Pros and cons of css sprites. Pros and cons of css sprites Regarding this technology, the biggest benefits are as follows: 1. Reduce the number of http requests when web pages are loaded. This situation se
    2025-04-28
  • A static server instance implemented by Nodejs

    A static server instance implemented by Nodejs

    Refer to the static server example above cnodejs.org, I wrote the following nodejs static server example, which contains cache and compression, and pasted the code as follows: Copy the code code as follows:/*** Static file server test example* User: xuwm*
    2025-04-28
  • The difference between adding var and not adding var when defining variables in javascript

    The difference between adding var and not adding var when defining variables in javascript

    1. The external one is global, and the internal one is local variable. 2. Add var as a local variable (in the method), and do not add var as a global variable (after using it once in the method), copy the code as follows:<script type="text/javascript"> va
    2025-04-28
  • Instructions for using fs.mkdir method in node.js

    Instructions for using fs.mkdir method in node.js

    Method description: Create file directory asynchronously. If the directory already exists, an exception will be thrown. Syntax: Copy the code as follows: fs.mkdir(path, [mode], [callback(err)]) Since this method belongs to the fs module, it is necessary t
    2025-04-28
  • HTML web design: Remove IE scrollbars

    HTML web design: Remove IE scrollbars

    Article introduction of Wulin.com (www.vevb.com): HTML web design: Remove the IE scroll bar. A page was made, with the same size as the desktop resolution, but there was a scroll bar displayed under the IE full screen (F11), but Firefox did not. How to re
    2025-04-28
  • What are the differences between xHTML and HTML tags

    What are the differences between xHTML and HTML tags

    All tags must be lowercase in XHTML, and all tags must be lowercase. The tongue must not be interspersed with uppercase and uppercase, nor can all be capitalized. Things are as follows. mistake:<Head></Head><Body></Body> correct:<head></head> Label
    2025-04-28
  • Instructions for using fs.readlinkSync method in node.js

    Instructions for using fs.readlinkSync method in node.js

    Method description: Synchronous version of readlink(). Syntax: The code of copy code is as follows: fs.readlinkSync(path) Since this method belongs to the fs module, it is necessary to introduce the fs module (var fs= require("fs") before use) t
    2025-04-28
  • Introduction to Functional JavaScript (I)

    Introduction to Functional JavaScript (I)

    Let's pretend that we are going to complete a task now: write JavaScript code as much as possible according to the principles of functional languages. The next series of articles is to let you and me start this journey. First, we need to correct some
    2025-04-28