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
  • This article describes the method of drawing elliptical patterns by js+html5. HTML5 canvas does not have a method of drawing ellipticals. The following code can draw ellipticals. It is shared with you for your reference. The specific implementation method
    2025-07-21
  • Writing a simple calendar based on javascript

    Writing a simple calendar based on javascript

    1. Question about row count of tables Since you want to display a date table, you must first know how many rows and columns there are in this table. The number of columns has been determined, with a total of 7 columns from Sunday (the first column on the
    2025-07-21
  • How to use AngularJs to create permission management system [simple type]

    How to use AngularJs to create permission management system [simple type]

    1. Introduction This article will introduce how to apply AngularJs to actual projects. This article will use AngularJS to create a simple permission management system. I won’t say much below, just go to the topic. 2. Introduction to overall architecture d
    2025-07-21
  • Basics of javascript

    Basics of javascript

    1. var msg;//Declare a variable. Before assigning a value to this variable, the variable is named: undefined2, msg = "hello";//If var does not apply, you can declare a global variable. However, because this variable is global, it is easy to caus
    2025-07-21
  • Remove script regular method in html code

    Remove script regular method in html code

    Remove script regular method in html code/** * Remove script characters in html code ( <script ...>...</script> and<script ... /> * @author ob * */public class Regex {
    2025-07-21
  • js judges the jump to the official website/mobile website based on the browser type of mobile client

    js judges the jump to the official website/mobile website based on the browser type of mobile client

    Example 1. Simple and crude judgment of missing points<script type="text/javascript"> var sUserAgent = navigator.userAgent.toLowerCase();
    2025-07-21
  • Native js implementation of addClass, removeClass, hasClass methods

    Native js implementation of addClass, removeClass, hasClass methods

    This article is divided into two parts for explanation. The specific content is as follows: Native js implementation addClass, removeClass, hasClass method function hasClass(elem, cls) { cls = cls || ''; if (cls.re
    2025-07-21
  • Summary of the method of obtaining HTML elements through HTML class

    Summary of the method of obtaining HTML elements through HTML class

    For js, I think everyone who is new to it should complain: why there is no way to get elements through class. Although higher versions of browsers now support getElementsByClassName() function, it is still incompatible for lower versions of browsers. When
    2025-07-21
  • Bootstrap must learn every day Collapse plugin

    Bootstrap must learn every day Collapse plugin

    The Collapse plugin makes it easy to fold the page area. Whether you use it to create a collapsed navigation or a content panel, it allows for a lot of content options. If you want to reference the functionality of the plugin separately, you need to refer
    2025-07-21
  • JavaScript to implement a simple example of opening a link page

    JavaScript to implement a simple example of opening a link page

    In addition to the conventional methods of links in the page, there are many other ways to use JavaScript. Here are some ways to open links using JavaScript: 1. Use the open method of window to open the link. Here you can open the link in the formulation
    2025-07-21
  • BootStrap creates navigation bar instance code

    BootStrap creates navigation bar instance code

    What is Bootstrap? Bootstrap is a front-end framework for the rapid development of web applications and websites. Bootstrap is based on HTML, CSS, and JAVASCRIPT. The bootstrap navigation bar has been exploring for a long time, otherwise the left and righ
    2025-07-21
  • JavaScript to write verification code script example with rotation + line interference

    JavaScript to write verification code script example with rotation + line interference

    According to our daily experience in online access, the verification code is generally four digits, composed of numbers and letters. Then next, the poster will lead you to use JavaScript step by step to create a verification code script! First, give the f
    2025-07-20
  • AngularJS implements textarea records to enter only a specified number of characters and display them.

    AngularJS implements textarea records to enter only a specified number of characters and display them.

    AngularJS is an MV* framework that is most suitable for developing single-page applications for clients. It is not a functional library, but a framework used to develop dynamic web pages. It focuses on extending HTML functions, providing dynamic data bind
    2025-07-20
  • A summary of small pits and tips encountered by AngularJS

    A summary of small pits and tips encountered by AngularJS

    1. TemplateURL and routes should be run under the web server. 2. Use the template replace to set true, and there must be corresponding labels in the template, otherwise no data will appear. 3. After version 1.2, the ngRoute module is independent. 4. The e
    2025-07-20
  • iScroll.js usage reference

    iScroll.js usage reference

    Summary: This version of iScroll 4 completely rewrites the original code of the iScroll framework. This project was created entirely because mobile webkit browsers (widely used on systems such as iPhone, iPad, Android) provide a localized way to define a
    2025-07-20