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
  • Upload image preview JS script Input file image preview implementation example

    Upload image preview JS script Input file image preview implementation example

    When working in Shenzhen, you need a user to upload avatar preview function! I looked for a lot of them online, but I was not very satisfied. Either it is flash, or it returns the image path after Ajax uploads, or it is unusable at all. Fortunately, someo
    2025-04-15
  • js get element and variable values ​​in html iframe

    js get element and variable values ​​in html iframe

    Last week, I wanted to get the elements and js variable values ​​in the iframe, but I haven't obtained them. I found out that I can't use the $(document).ready() method, but the $("#iframeId").load() method. Only after the iframe is load
    2025-04-15
  • Javascript checks the size of the image and does not let the large images break the page

    Javascript checks the size of the image and does not let the large images break the page

    How to use Javascript to determine the size of an image, in fact, just write a simple function. Of course, many people may not know how to write this judgment. I found that using ASP to judge the size of the picture is more complicated than counting cow h
    2025-04-15
  • Structure and semantics of HTML5 (4): Inline elements of semanticity

    Structure and semantics of HTML5 (4): Inline elements of semanticity

    Comment: HTML4 uses 5 different inline elements to represent slightly different computer codes: var, code, kbd, tt and samp. However, it cannot represent basic numerical values ​​such as time and numbers. HTML5 provides several new inline elements to meet
    2025-04-15
  • Detailed explanation of arguments object in Javascript

    Detailed explanation of arguments object in Javascript

    In the previous article, we discussed the default parameters in javascript. In this article, we will discuss the arguments parameter object of javascript. How do we do different processing based on the passed parameters in a function in the following exam
    2025-04-15
  • x-ua-compatible content=”IE=7, IE=9″ means to understand

    x-ua-compatible content=”IE=7, IE=9″ means to understand

    Comment: When there was no IE9 in the past, in order to take care of ie8, I wrote a project that forced the IE8 browser to use the IE7 mode rendering company's project cannot be accessed normally under the boss's IE9. Then we need to use the follo
    2025-04-15
  • A brief version of common methods for Javascript string objects

    A brief version of common methods for Javascript string objects

    var a = "abcDEfGgdefg32asdf38"; document.write("origin:"+a+"<br /> ")document.write("bold:"+a.bold()+"<br /> ");document.write("big
    2025-04-15
  • JavaScript implements dynamic creation of CSS style rules scheme

    JavaScript implements dynamic creation of CSS style rules scheme

    There is a lot of JavaScript code in web applications now, and we are always looking for various solutions that make them faster. 1. We use event delegation to make event listening more efficient, 2. We use function debuncing technology
    2025-04-15
  • Innovative HTML5/JavaScript experiment based on Chrome

    Innovative HTML5/JavaScript experiment based on Chrome

    Article introduction of Wulin.com (www.vevb.com): Google Creative Lab recently announced in a blog that the number of innovative experiments based on Chrome has reached 500. Google Creative Labs recently announced in a blog that the number of innovative e
    2025-04-15
  • HTML5 Tutorial: Text Alignment of HTML5 Canvas

    HTML5 Tutorial: Text Alignment of HTML5 Canvas

    Article introduction of Wulin.com (www.vevb.com): To align HTML5 Canvas text, we can use the textAlign attribute in the background of the canvas, which can be set to top, bottom, left, center, or right. The alignment is relative to a hypothetical x positi
    2025-04-15
  • HTML5 Canvas shadow usage example demonstration

    HTML5 Canvas shadow usage example demonstration

    Comment: HTML5 Canvas provides four attribute values ​​for setting shadows to realize shadow text, 3D shadow pull effect, and edge blur effect text. The specific demonstration code is as follows. Friends who want to learn can refer to HTML5 Canvas. The fo
    2025-04-15
  • HTML5 Standard will throw internet video back into the dark age

    HTML5 Standard will throw internet video back into the dark age

    Comment: Adobe CTO Kevin Lynch defends the recently controversial Adobe Flash technology and warns that the HTML 5 standard will "throw internet video back to the dark ages." Adobe's Flash technology has been hit hard recently. First is Appl
    2025-04-15
  • HTML Tutorial: Collected Common HTML Tags (6)

    HTML Tutorial: Collected Common HTML Tags (6)

    Related articles: Beginners come into contact with HTML to learn about some HTML tags (5) The HTML tags introduced do not necessarily comply with the XHTML specification. You should make some choices when making actual layouts, such as: B marks and FONT m
    2025-04-15
  • How to implement method reloading in js object-oriented programming

    How to implement method reloading in js object-oriented programming

    How to implement method overloading in js? This involves three problems 1. The calling problem of function with the same name 2. Special parameters in the function arguments 3. How to use arguments to implement method overload 1. The calling problem of fu
    2025-04-15
  • JavaScript Learning Notes (I) Basic Knowledge

    JavaScript Learning Notes (I) Basic Knowledge

    Basic concepts JavaScript is an interpreted language, and the browser acts as an interpreter. The js execution engine is not an execution line by line, but an analysis execution piece by piece. The defer attribute is defined in HTML4.0.1 of the delay scri
    2025-04-15