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
  • console.log and pop-up alert in javascript

    console.log and pop-up alert in javascript

    It is mainly for your convenience to use JavaScript. You can see what you output on the page. Compared with alert, its advantages are: 1. It can see the structure. If it is alert, an object is [object object], but the console can see the content of the ob
    2025-08-02
  • js HTML5 Canvas draw turntable lottery

    js HTML5 Canvas draw turntable lottery

    The examples in this article share the specific code of the js turntable lottery for your reference. The specific content is as follows 1. The basic effect achieved 2. The main content The use of the canvas tag in html5 jQueryRotate.js rotation plug-in 3.
    2025-08-02
  • Bootstrap and Angularjs are used to match the example code of homemade pop-up frames

    Bootstrap and Angularjs are used to match the example code of homemade pop-up frames

    指令directive('bsPopup', function ($parse) {return {require: 'ngModel',restrict: 'A',link: function (scope, elem, attrs, c
    2025-08-02
  • AngularJS lazy loading html template

    AngularJS lazy loading html template

    When using routes/views mode in AngularJs to build a large website or application, loading all custom files such as controllers and templates during initialization is not a good idea. The best way is to load only the required files when initializing. Thes
    2025-08-02
  • JS simple way to test loop running time

    JS simple way to test loop running time

    This article describes the method of simply testing loop running time of JS. Share it for your reference, as follows:<!DOCTYPE html><html lang="zh-cn"><head><meta charset="UTF-8"><title> The time when the JS test loop runs
    2025-08-02
  • AngularJs bootstrap is equipped with the front-end framework - js control part

    AngularJs bootstrap is equipped with the front-end framework - js control part

    In the end, this simple framework only has the control part of js. The angular framework has its own logical part, its own controller and service layer. Since we may use some built-in resources and cookies of angular, we need to add another angular
    2025-08-02
  • AngularJS basic ng-click directive sample code

    AngularJS basic ng-click directive sample code

    AngularJS ng-click directive AngularJS instance button is automatically added to 1 for each click:<!DOCTYPE html><html><head><meta charset="utf-8">
    2025-08-01
  • Detailed explanation of how to use Bootstrap Table

    Detailed explanation of how to use Bootstrap Table

    bootstrap-table summary bootstrap-table is written on the basis of bootstrap-table and is specially designed for displaying data. bootstrap is from Twitter and is currently the most popular front-end framework. Bootstrap is
    2025-08-01
  • Implementation of Bootstrap media object

    Implementation of Bootstrap media object

    In a web page, the image is on the left and the content is arranged on the right, which is a very common effect. It is also a media object. It is an abstract style that can be used to build different types of components. In the bootstrap framework, its co
    2025-08-01
  • Ionic implements toggle sliding component with words

    Ionic implements toggle sliding component with words

    Preface Since the project requires a toggle sliding component with words, ionic provides this: In actual project, I need to do this: I found other implementations online, and I didn’t find a suitable one, so I tried to define a dodgy one. First, go to the
    2025-08-01
  • Research on the principles of internal responsiveness that must be learned every day in Vue.js

    Research on the principles of internal responsiveness that must be learned every day in Vue.js

    We have already talked about most of the basic content of the in-depth responsive principle, and now we will talk about the underlying content. One of the most significant features of Vue.js is the response system - the model is just a normal object, and
    2025-08-01
  • AngularJS application development thinking dependency injection 3

    AngularJS application development thinking dependency injection 3

    API not found? AngularJS provides some encapsulation of functions, but when you try to access these functions through the global object angular, you find that they are very different from the libraries you encountered in the past. $http For example, in jQ
    2025-08-01
  • Comprehensive understanding of js classic pattern for creating objects

    Comprehensive understanding of js classic pattern for creating objects

    1. Overview Create objects through constructors. Sometimes I forget to write new. At this time, the function will return undefined. You can create a function createXXX to encapsulate new internally. function Student(props){ this.name = props.nam
    2025-08-01
  • How to implement cross-domain requests in JavaScript

    How to implement cross-domain requests in JavaScript

    What is cross-domain request? A simple understanding is to make a request to a server file that is not in the same domain name. Let’s use a practical example to illustrate this. For example, baidu.com sends a request to cxyblog.com. The two domain names a
    2025-08-01
  • Javascript must know (four) js type conversion

    Javascript must know (four) js type conversion

    The string and number booleanjavascript types will be converted to the corresponding type according to the assignment. var str = "";alert(typeof (str));//stringstr = ;alert(typeof (str));//
    2025-08-01