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 extension of the encapsulated dialog plugin based on bootstrap modal dialog box

    Simple extension of the encapsulated dialog plugin based on bootstrap modal dialog box

    When using the bootstrap modal dialog box, you need to write the dialog box html on the page. If there are many places in a page that requires a dialog box, it means that you need to write multiple ones, which feels very troublesome. I am not used to the
    2025-08-04
  • JavaScript determines whether it is a WeChat browser

    JavaScript determines whether it is a WeChat browser

    Let me first tell you the implementation principle based on whether there is a keyword micromessenger in UA. If so, the implementation code of the built-in browser of WeChat is as follows: //Judge whether to log in to WeChat function isWeiXin() {var ua =
    2025-08-04
  • AngularJS introduction tutorial for controller details

    AngularJS introduction tutorial for controller details

    AngularJS Controller AngularJS Controller controls data for AngularJS applications. AngularJS controller is a regular JavaScript object. AngularJS Controller AngularJS application is controlled by the controller. ng-con
    2025-08-04
  • html5 push function completed by using websocket

    html5 push function completed by using websocket

    The message push function completed by websocket and Java is used by the server tomcat7.0. Some things are considered by yourself, and I don’t know if they are appropriate or inappropriate. Please forgive me and point them out. Simply put, client A can se
    2025-08-04
  • Event broadcast in Angularjs - comprehensive analysis of $broadcast, $emit, $on

    Event broadcast in Angularjs - comprehensive analysis of $broadcast, $emit, $on

    In Angularjs, the event broadcast mechanisms of $broadcast, $emit, $on can be communicated by combining the event broadcast mechanisms of $broadcast, $emit, $on. Introduction: The function of $broadcast is to propagate events from the parent scope to the
    2025-08-04
  • A brief discussion on the principle of new operator in javascript

    A brief discussion on the principle of new operator in javascript

    New in javascript is a syntax sugar. For those who have learned object-oriented languages such as C++, java and c#, they think that there is a difference between classes and objects in js. There is no class in js, and everything is an object. The process
    2025-08-04
  • JS searches for the most common characters in a string

    JS searches for the most common characters in a string

    In a string, like 'zhaochucichuzuiduodezifu', we want to find out the characters that appear the most. This article will explain the methods and ideas in detail. First introduce two methods in two string objects: indexOf() and charAt() methods ind
    2025-08-04
  • Upload images based on JavaScript FileReader to display local links

    Upload images based on JavaScript FileReader to display local links

    Introduction Using the FileReader object, web applications can asynchronously read files (or raw data buffers) stored on the user's computer, and can use File objects or Blob objects to specify the file or data to be processed. The File objects can be
    2025-08-04
  • JavaScript object-oriented shopping cart function

    JavaScript object-oriented shopping cart function

    In the previous project, I needed a function of purchasing data products and paying for them. At the beginning, I didn’t dare to use object-oriented writing. The main reason was that I didn’t clarify my ideas. Moreover, the data products were relatively c
    2025-08-04
  • Learning experience of passing values between Views in Backbone

    Learning experience of passing values between Views in Backbone

    The View in Backbone is used to display data transmitted from the Model layer, or some data generated in the View, including data input in the input box, and is passed from the current View to another View layer. What should I do? I read a blogger before,
    2025-08-04
  • A brief discussion on js data type judgment and array judgment

    A brief discussion on js data type judgment and array judgment

    At the beginning: I found that a very simple question was not answered in the interview yesterday. Maybe it was because I was too nervous and I felt that I was just crying stupidly. Later I thought about it and I should have recorded it carefully so that
    2025-08-04
  • Native JavaScript implementation sharing to Moments function supports ios and android

    Native JavaScript implementation sharing to Moments function supports ios and android

    There are many mainstream sharing tools now, such as JiaThis, bShare sharing, and even some large companies such as Baidu sharing, but they are still just sharing on the PC side, and their support for mobile phones is not very good. Everyone knows that ma
    2025-08-03
  • node.js cookie-parser之parser.js

    node.js cookie-parser之parser.js

    The role of cookie-parser is officially said: Parse Cookie header and populate req.cookies with an object keyed by the cookie names. My understanding is that convert he
    2025-08-03
  • AngularJS introduction tutorial: Two-way binding detailed explanation

    AngularJS introduction tutorial: Two-way binding detailed explanation

    In this step you will add a feature that allows users to control the order in which the phone list is displayed. Dynamic sorting can be implemented in this way, adding a new model property, integrating it with the iterator, and then allowing the data bind
    2025-08-03
  • Let you understand closures in one sentence (simple and easy to understand)

    Let you understand closures in one sentence (simple and easy to understand)

    I have been in contact with JavaScript for a long time, and every time I understand closures, I am looking for work on the front-end of the web recently, so I need to consolidate the foundation. This article refers to joy_lee's blog closure based on h
    2025-08-03