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
  • JavaScript uses HTML5's window.postMessage to implement cross-domain communication example

    JavaScript uses HTML5's window.postMessage to implement cross-domain communication example

    Due to the limitations of homologous policies, cross-domain communication has always been a difficult problem. Of course, there are many solutions: 1. The settings of document.domain+iframe are applied to the main domain and the subdomain are different; 2
    2025-03-16
  • Some label learning in html5 (experience)

    Some label learning in html5 (experience)

    Today I read a manual and learned a lot of attributes in HTML5. The summary now is as follows<body bgcolor=BED1A2 text=FFFFFF link=yellow alink=red vlink=blue> Background is used to set the background of the page, which is the address B of the picture lat
    2025-03-16
  • JavaScript cross-browser attribute judgment method

    JavaScript cross-browser attribute judgment method

    Today, I found a place that is easy to make mistakes when writing code. When we declare variables, we often have different API definitions because different browsers have different browsers, and then use the following writing method to determine which att
    2025-03-16
  • Detailed explanation of Canvas utility library Fabric.js manual

    Detailed explanation of Canvas utility library Fabric.js manual

    Introduction What is Fabric.js? Fabric.js is a library that simplifies writing Canvas programs. Fabric.js provides Canvas with the missing object model, svg parser, interactivity and a whole host of other indispensable tools. Since Fabric.js is a foreign
    2025-03-16
  • Easyui datagrid keyboard up and down control selected row example

    Easyui datagrid keyboard up and down control selected row example

    A method to extend datagrid keyCt The code copy is as follows: $.extend($.fn.datagrid.methods, { keyCtr : function (jq) { return jq.each(function () {
    2025-03-16
  • Html5 wait for the animation effect

    Html5 wait for the animation effect

    I do n’t say much nonsense, I will post code directly. The specific code is shown below:<div class=loading><p> 100<span></span></p></div> *{margin: 0; padding: 0;} .loading {
    2025-03-16
  • 21 JavaScript skills worth collecting

    21 JavaScript skills worth collecting

    1 JavaScript array is converted to CSV format. First of all, the following application scenarios are considered. There is a character type (or numerical type) array of Javscript. Now it needs to be converted to a CSV format file divided by a comma. Then w
    2025-03-16
  • QR code scanning function implemented using HTML5 based on MUI framework

    QR code scanning function implemented using HTML5 based on MUI framework

    An implementation case of Barcode 1. Introduction The Barcode module manages barcode scanning, provides scanning and identification functions for common barcodes (QR codes and one-dimensional codes), and can call the device's camera to scan barcode im
    2025-03-16
  • HTML5 new feature semantic label

    HTML5 new feature semantic label

    HTML5 new features with simple DOCTYPE: HTML5 has only one simple document type:<!DOCTYPE html> It means that the browser will be parsed according to the standard mode. The simple and easy -to -remember encoding type you can now use Charset in the meta ta
    2025-03-15
  • Simple example of js implementing ID number verification

    Simple example of js implementing ID number verification

    The following is the code using JS to verify the validity of the ID card number according to the code encoding rules: IdCard-Validate.js is as follows: Copy the code code as follows:/*** 15-bit encoding rules of ID card: dddddd yymmdd xx p * dddddd: Regio
    2025-03-15
  • html5 local storage

    html5 local storage

    Web Storage is a very important feature introduced by HTML5. It can store data locally on the client. Similar to HTML4 cookie, but it can achieve much more function than cookies. The size of cookies is limited to 4KB. Website 5MB. Web
    2025-03-15
  • JS without refresh operation table rows and columns

    JS without refresh operation table rows and columns

    The code is for reference only. If you copy forcibly, please modify the page id. The copy code code is as follows: //Query the database data that meets the conditions function SelectAlterNativeVenues(field) { var xmlhttp; var pid = document.
    2025-03-15
  • Simple example of javascript simulation enumeration

    Simple example of javascript simulation enumeration

    As follows, we define the Week enumeration: Copy the code as follows: if(typeof WeekDay == "undefined"){ var WeekDay = {};WeekDay.Sunday = 0;WeekDay.Monday = 1;WeekD
    2025-03-15
  • JavaScript password box prevent the implementation code for users to paste and copy

    JavaScript password box prevent the implementation code for users to paste and copy

    <input id="password" type="password" onpaste="return false" onselectstart="return false" />onPaste = "Return false": Prevent adhesion on
    2025-03-15
  • Example code for canvas to implement QR code and image synthesis

    Example code for canvas to implement QR code and image synthesis

    In the previous version, there was a requirement. Use the url to generate a QR code, and then combine it with another picture to create a picture for you. The implementation idea is as follows: use jr-qrcode to generate data:base64 from the url for img to
    2025-03-15