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
  • Parameters of window.open in js and precautions

    Parameters of window.open in js and precautions

    When using window.open under IE9, you need to note that the name parameter value cannot have "-" appear, otherwise a script error will occur. There is no problem with IE9 and version testing window.open(URL, name, specs, replace) Parameter descr
    2025-07-13
  • Detailed explanation of js class inheritance and prototype inheritance

    Detailed explanation of js class inheritance and prototype inheritance

    This article shares the code related to js class inheritance and prototype inheritance for your reference. The specific content is as follows 1.js class inheritance/* -- Classification inheritance- */// Declare a superclass function Person(name) {this.nam
    2025-07-13
  • angularjs encapsulate bootstrap time plugin datetimepicker

    angularjs encapsulate bootstrap time plugin datetimepicker

    Background: In the third-party class library of angular and jquery class library, it is necessary to mention the famous jquery, which is now basically a compulsory tool for domestic web development. Its flexible dom operation makes many web developers una
    2025-07-13
  • Location.hash tips for saving page status

    Location.hash tips for saving page status

    The hash property is a readable and writable string that is the anchor part of the URL (the part starting with the # number). Syntax location.hash In our project, there are a large number of pages of ajax query form + result list. Since the query result i
    2025-07-13
  • JS component Bootstrap dropdown component extension hover event

    JS component Bootstrap dropdown component extension hover event

    The dropdown component in the bootstrap navigation bar is used very frequently. This article introduces the dropdown component extension hover event in bootstrap. The specific content is as follows: How to implement this hover event? In fact, it is easy t
    2025-07-13
  • javascript的BOM

    javascript的BOM

    BOM for javascript ECMAScript is the core of JavaScript, but if you want to use JavaScript in the web, then BOM (browser object model) is undoubtedly the real core. BOM provides many objects for accessing browser functions, which are all
    2025-07-13
  • Node.js connects to mongoDB database to quickly build your own web service

    Node.js connects to mongoDB database to quickly build your own web service

    1. Write it in front of everyone wants to become a full stack coder. As a web front-end developer, the simple road to full stack seems to be node.js. I learned node.js some time ago to talk about how novices can quickly build their own web services and st
    2025-07-13
  • Implement identity authentication and form verification functions for user access in AngularJS

    Implement identity authentication and form verification functions for user access in AngularJS

    The most common design of authentication permissions is RBAC's role-based access control. The basic idea is that various permissions for system operations are not directly granted to specific users, but rather a role collection is established between
    2025-07-13
  • Comprehensive parsing Router routes in JavaScript's Backbone.js framework

    Comprehensive parsing Router routes in JavaScript's Backbone.js framework

    Router in Backbone acts as a routing function, controlling the direction of the URL, and takes effect when using the # tag in the URL. Defining a Router requires at least one Router and a function to map a specific URL, and we need to remember that in Bac
    2025-07-13
  • Front-end performance optimization and skills

    Front-end performance optimization and skills

    Preface Why should we optimize performance be so important for front-end engineers? There is a saying in the industry that I don’t know if you have heard of it, ‘People who know performance optimization and have studied jquery source code and code written
    2025-07-13
  • Detailed explanation of JavaScript event proxy and delegate

    Detailed explanation of JavaScript event proxy and delegate

    In Javasript, proxy and delegate often appear. So under what circumstances does it actually use? What is its principle? Here we introduce the usage and principles of javascript delegate, as well as the interface of delegate in frameworks such as Dojo, jQu
    2025-07-13
  • JS implements timely preview of uploading pictures

    JS implements timely preview of uploading pictures

    This article shares the specific code for the implementation of JavaScript image preview function for your reference. The specific content is as follows to share with you a piece of code about js image preview, which is compatible with Firefox and Google
    2025-07-13
  • JavaScript form focus automatically switch code

    JavaScript form focus automatically switch code

    Without further ado, the key code is as follows: ---Restoring content starts-- <html><head><script>window.onload=function(){      var form=document.getElementsByTagNa
    2025-07-13
  • Several ways to delete a certain item or item in an array (recommended)

    Several ways to delete a certain item or item in an array (recommended)

    1. Splice method in js splice(index,len,[item]) Note: This method will change the original array. splice has 3 parameters, it can also be used to replace/delete/add one or several values ​​in the array index: the array starts index len: the length item of
    2025-07-13
  • Chapter 5: BootStrap Grid System

    Chapter 5: BootStrap Grid System

    Bootstrap, from Twitter, is the most popular front-end framework at present. Bootstrap is based on HTML, CSS, and JAVASCRIPT. It is simple and flexible, making web development faster. Key points of learning: 1. Mobile devices are preferred 2. Layout conta
    2025-07-13