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
  • AngularJS initialization process analysis (boot program)

    AngularJS initialization process analysis (boot program)

    Overview This section explains the process of AngularJS initialization and how you should modify AngularJS initialization when needed. AngularJS<script> 标签这个示例展示了我们推荐的整合AngularJS的方法,它被称之为“自动初始化”。复制代码代码如
    2025-05-08
  • Detailed explanation of the TARGET attribute of html hyperlink tag A

    Detailed explanation of the TARGET attribute of html hyperlink tag A

    The hyperlink <a>tag represents a link point and is the abbreviation of an anchor in English. Its purpose is to connect the text or picture at the current location to other pages, text or images, which is well known, but the syntax structure may be a litt
    2025-05-08
  • Calling WebServices using JavaScript in VS2008

    Calling WebServices using JavaScript in VS2008

    The task has been completed in the past few days, and there is nothing important. I took the time to learn about WebServices. It feels quite interesting and not very difficult. First, use VS2008 to create an asp.net website. Secondly, right-click the proj
    2025-05-08
  • The structure and semantics of HTML5 - Introduction (I)

    The structure and semantics of HTML5 - Introduction (I)

    Hypertext Markup Language (HTML)5 introduces new elements into HTML for the first time. New structural elements include aside, figure, and section. New inline elements include time, meter, and progress. New inline elements include video and audio. New
    2025-05-08
  • HTML5 Canvas draw method to create animation effect example

    HTML5 Canvas draw method to create animation effect example

    Comment: First, you need to prepare a picture with continuous frames, and then use HTML5 Canvas' draw method to draw different frames at different time intervals. This way, it looks like an animation is playing. The key technical points and example co
    2025-05-08
  • JS implements a method to judge collision

    JS implements a method to judge collision

    This article describes the method of JS to determine collisions. Share it for your reference. The specific details are as follows: JS determines collision method: Copy the code code as follows:/** Determines whether to collide* @param obj Original object*
    2025-05-08
  • After the click event of html hyperlink a jump to the address pointed to by href

    After the click event of html hyperlink a jump to the address pointed to by href

    Sometimes, we need to use <a>this hyperlink without using href to complete the jump, but instead:<a href=# onClick=fun()></a></a> This way. This way, the page will not be redirected. But it will also bring about some negative problems, such as the title o
    2025-05-08
  • How to select text by clicking js

    How to select text by clicking js

    This article example describes the method of selecting text by clicking on js. Share it for your reference. The specific implementation method is as follows: function selectText() { if (document.selection) { var range = document.body.c
    2025-05-08
  • JavaScript implementation prohibits right-click and F12 viewing source code

    JavaScript implementation prohibits right-click and F12 viewing source code

    The function is very simple and the code is very concise. I won’t talk much nonsense here. I will just provide the source code and take it away if I need it. Copy the code as follows: function click(e) {if (document.all) {if (event.button==2||event.button
    2025-05-08
  • First meet SmartJS - AOP Three Musketeers

    First meet SmartJS - AOP Three Musketeers

    SmartJS has a lot of content planning, and it cannot be completed in a short time. At present, it is accumulated in small versions. The content released in the first issue of version 0.1 is mainly to implement some support for front-end aspect-oriented pr
    2025-05-08
  • Teach you how to deploy Node.js applications on heroku cloud platform

    Teach you how to deploy Node.js applications on heroku cloud platform

    Although AWS has now launched its own PaaS platform called Elastic Beanstalk, the advantage of heroku is that it has many third-party add-ons on it, such as MongoDB, mysql, redis, memcached, and various message queues, sms and emails.
    2025-05-08
  • Example of calling mysql stored procedure in Node.js

    Example of calling mysql stored procedure in Node.js

    The example only passed the test under Windows, and was not tested under Linux. If you have any questions, you can email me~1. Install node.js and mysql, here is a bit (search it yourself)... 2. Create a database called test, and then create a table calle
    2025-05-08
  • Xiaomi company JavaScript interview questions

    Xiaomi company JavaScript interview questions

    Interview question 1. Copy the code as follows: Please define such a function function repeat (func, times, wait) {} This function can return a new function, such as using var repeatedFun = repeat(alert, 10, 5000
    2025-05-08
  • Introduction to the use of eval() function in JavaScript

    Introduction to the use of eval() function in JavaScript

    In JavaScript, you can use the eval() function to parse the JavaScript code in the string and return the corresponding code execution result: the copy code code is as follows: console.log(eval("42 * 2"));//84 In essence, eval() is JavaScr
    2025-05-08
  • The demo transformation path of AngularUI in webapp framework

    The demo transformation path of AngularUI in webapp framework

    Purpose: Apply AngularUI templates to existing projects as follows: modify the demo interface according to the function table to learn how angularUI loads all pages. In order to set a custom loading template, find this copy code in demo/demo.js as follows
    2025-05-08