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
  • Detailed explanation of AngularJS custom directives and example code

    Detailed explanation of AngularJS custom directives and example code

    AngularJS supports user-defined tag properties and add custom content without using DOM node operations. The four major features of AngularJS mentioned earlier: 1 MVC 2 Modular 3 Instructions 4 Bidirectional Data Binding will be introduced below: 1 How to
    2025-08-22
  • JavaScript verification content is a number and a simple instance of length 10

    JavaScript verification content is a number and a simple instance of length 10

    JavaScript verification content is a number and a simple instance of length 10<html><head><script type="text/javascript"> function valid() { var numVal = docum
    2025-08-22
  • Detailed explanation of AngularJS custom directives and sample code

    Detailed explanation of AngularJS custom directives and sample code

    Use AngularJS to extend HTML functionality in custom directives. Functional definition of "instructions" used by custom directives. The custom directive just replaces the element it is activated. During the boot process, the AngularJS applicatio
    2025-08-22
  • Node.js connect ECONNREFUSED error solution

    Node.js connect ECONNREFUSED error solution

    Recently, I encountered this error in my mac development while preparing Angularjs +node.js demo, as follows: events.js:71throw arguments[1]; // Unhandled 'error' event^Error: conn
    2025-08-22
  • IScroll5 Chinese API parameter description and call method

    IScroll5 Chinese API parameter description and call method

    Official website: http://iscrolljs.com/IScroll's simplest DOM structure:<div id="wrapper"><ul><li> ...</li><li> ...</li> ...</ul></div> Initialize iscro
    2025-08-22
  • Bootstrap study notes: css style design (1)

    Bootstrap study notes: css style design (1)

    Due to the project needs, I plan to learn the bootstrap framework well. I learned a little before. The framework is not difficult overall, but there are still many things involved. If you want to master it proficiently, you still need to practice more. 1.
    2025-08-22
  • HTML5 add mouse suspension sound effect without using FLASH

    HTML5 add mouse suspension sound effect without using FLASH

    Comment: Use HTML5+jQuery to add mouse suspension sound effects, compatible with Firefox 3.5+, Chrome 3+, etc., use HTML5 audio elements to play a random mp3 sound effect. Friends who need it can refer to it to use HTML5+jQuery, without FLASH: Browse
    2025-08-22
  • Learn Bootstrap scroll monitoring with call method

    Learn Bootstrap scroll monitoring with call method

    This article introduces Bootstrap scroll monitoring for everyone to learn. The specific content is as follows: Scroll monitoring accompanied by scrolling of scroll bars, and the list items are constantly switched and activated.<!-- id="menu" 为data-target=
    2025-08-22
  • Introduction to JavaScript Backbone.js framework

    Introduction to JavaScript Backbone.js framework

    1. Introduction Recently, I am doing the front-end optimization of a large online banking project. I need to use a fat client optimization. The general idea is that the front-end uses Ajax request to obtain data from the back-end, return it in Jason forma
    2025-08-21
  • Simple example of judging the most common characters in a string and the number of occurrences in JS

    Simple example of judging the most common characters in a string and the number of occurrences in JS

    Simple example of judging the most common characters in a string and the number of occurrences in JS<script type="text/javascript"> var str = 'qwertyuilo.,mnbvcsarrrrrrrrtyuiop;l,mhgfdqrty
    2025-08-21
  • Support for BootStrap Smart Form Practical Series (7) Verification

    Support for BootStrap Smart Form Practical Series (7) Verification

    Any page that involves user editing information and saving involves checking whether the data meets the requirements, and requires verification from the client and server side; verification from the client side is mainly to improve the user experience, an
    2025-08-21
  • Summarize 40 common solutions to mobile web page problems

    Summarize 40 common solutions to mobile web page problems

    1. When looking at the background picture with an Android browser, some devices will be blurred. It is very clear on a PC with the same proportion of pictures, but it is very blurry on the phone. What is the reason? After research, it was the devicePixelR
    2025-08-21
  • Complete collection of forms in BootStrap

    Complete collection of forms in BootStrap

    For form basic form, I usually add the class "form-control" for input, textarea, and select in the form, which sets the default width of the element to 100% (not absolute, such as the inline form mentioned below). And each element (including lab
    2025-08-21
  • Ionic's default Tabs template usage example

    Ionic's default Tabs template usage example

    Ionic default Tabs template, Android is above and iOS is below. Modify the configuration in www/js/app.js, add a variable, and then modify the corresponding attribute: .config(function($stateProvider, $urlRouterProvi
    2025-08-21
  • The constructor and life cycle that must be learned every day.

    The constructor and life cycle that must be learned every day.

    Constructor Each Vue.js application starts with the constructor Vue to create a root instance of Vue: var vm = new Vue({ // Option}) A Vue instance is actually the ViewModel described in MVVM mode - so it is often used in the documentation.
    2025-08-21