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
  • Bootstrap's fileinput plug-in implements multi-file upload method

    Bootstrap's fileinput plug-in implements multi-file upload method

    *1.bootstrap-fileinput plug-in git download address https://github.com/kartik-v/bootstrap-fileinput.git2. Solve the use of bootstrap-fileinput to get the return value to upload the image $("
    2025-08-13
  • Simple implementation code for getting screen height by JS

    Simple implementation code for getting screen height by JS

    The document object is mainly used for some properties about windows. The main functions and usages of these properties are as follows. To get the window size, different properties and methods need to be used for different browsers: to detect the true siz
    2025-08-13
  • Js get the current date and format code

    Js get the current date and format code

    This article shares with you Js to get the current date and time and formatting operations. The specific content is as follows var myDate = new Date(); myDate.getYear(); //Get the current year (2 digits) myDate.getFullYear(); //Get the complete year
    2025-08-13
  • How to write JavaScript classes

    How to write JavaScript classes

    We know that in js, there is no concept of class. All instance objects of a class inherit attributes from the same prototype object, so the prototype object is the core of the class. A class is an abstraction of an object, and an object is a concrete inst
    2025-08-13
  • html Open a new window with a hyperlink, which can control the window properties

    html Open a new window with a hyperlink, which can control the window properties

    This article mainly introduces how html uses a hyperlink to open a new window, which can control the window properties. It mainly uses the window.open method of js. Interested friends can take a look 1. Copy the code for the window size opened by the hype
    2025-08-13
  • 3 Things You Don't Know About JavaScript Arrays

    3 Things You Don't Know About JavaScript Arrays

    In programming languages, arrays (Array) are a very common function; they are a special variable that can be used to store multiple numeric values at the same time. However, when it comes to JavaScript, there are many other things to explore. In this arti
    2025-08-12
  • 7 JavaScript functions that web programmers must have

    7 JavaScript functions that web programmers must have

    A few years ago, as long as we write JavaScript, we must use several commonly used functions, such as addEventListener and attachEvent, which are not for advanced technologies and functions, but just some basic tasks, and the reason is caused by the diffe
    2025-08-12
  • Summary of implementation methods for js pop-up boxes, dialog boxes, prompt boxes, and pop-up windows (recommended)

    Summary of implementation methods for js pop-up boxes, dialog boxes, prompt boxes, and pop-up windows (recommended)

    1. Three most common dialog boxes of JS //================================== The three most commonly used pop-up dialog boxes of JS ========================/Pop up the dialog box and output a prompt message function ale() {
    2025-08-12
  • Detailed explanation of the operation of cookies in JS

    Detailed explanation of the operation of cookies in JS

    Preface cookie setting parameters description: name cookie name, key value optional, cookie value expire optional, expiration time, timestamp format path optional, server-side valid path, / means that the entire domain name is valid, default is the page w
    2025-08-12
  • A bug problem occurred while converting the Javascript function parseInt()

    A bug problem occurred while converting the Javascript function parseInt()

    This is a very strange thing, which was tested today. parseInt(1.13*100), the actual return value is 112. Just look at the code and copy the code as follows:<head><script type="text/javascript"> function test(
    2025-08-12
  • Learn Nodejs from me (three) --- Node.js module

    Learn Nodejs from me (three) --- Node.js module

    Introduction and information Through the official API of Node.js, you can see that Node.js itself provides many core modules http://nodejs.org/api/. These core modules are compiled into binary files and can be obtained by requiring('module name');
    2025-08-12
  • Easily master JavaScript Decorator Pattern

    Easily master JavaScript Decorator Pattern

    In traditional object-oriented languages, adding functions to objects often uses inheritance, but the inheritance method will bring problems: when the parent class changes, all its subclasses will change accordingly. When a JavaScript script is running, a
    2025-08-12
  • How to use dl(dt,dd), ul(li), ol(li) in HTML

    How to use dl(dt,dd), ul(li), ol(li) in HTML

    This article mainly introduces the usage methods of dl(dt,dd), ul(li), and ol(li) in HTML. Friends who need it can refer to HTML<dl> Tag #Definition and Usage<dl> The tag defines the definition list.<dl> Tags are used for binding <d
    2025-08-12
  • AngularJS $injector Dependency Injection Details

    AngularJS $injector Dependency Injection Details

    Inferred injection This injection method requires ensuring that the parameter name is the same as the service name. If the code needs to be compressed, etc., the injection will fail. app.controller("myCtrl1", function($scope,hello1,hello2){ $sco
    2025-08-12
  • Easily implement ionic calling keyboard search function using JS (super practical)

    Easily implement ionic calling keyboard search function using JS (super practical)

    This requirement was raised by the product, but it was only set at the beginning<input style="padding-top: 3px;" type="search" placeholder="搜索医生或医院" ng-model="query">type="search" Discovery
    2025-08-12