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
  • Custom timer in JS to enable it to be executed at a certain moment

    Custom timer in JS to enable it to be executed at a certain moment

    Sometimes, for the reason of demand, we need to write a method in JS and then let it be executed at a certain moment, that is, we need to write a timer in JS. When the time reaches the required time, the method that needs to be executed will be automatica
    2025-03-30
  • Code to save files in utf8 format using hta

    Code to save files in utf8 format using hta

    For a web programmer, it is wise to use hta to handle some desktop program functions, so that we can also use the familiar js for development without mastering new languages. In normal web page editor, the web pages created are encoded by gb2312, and to a
    2025-03-30
  • JS rewrite alert control (suitable for beginners who learn js)

    JS rewrite alert control (suitable for beginners who learn js)

    Purely to pass the time, I handwritten a JS alert control. The code is as follows:<html><head><script type="text/javascript"> var alertObj = new Object(); var generalSt
    2025-03-30
  • Personal learning work hta original

    Personal learning work hta original

    The code is as follows:
    2025-03-30
  • ASP assistive tools (hta version)

    ASP assistive tools (hta version)

    How to use: Save as ASPTools.hta and then run the code as follows:
    2025-03-30
  • Use js to submit a form to solve the problem of multiple submit buttons on a page

    Use js to submit a form to solve the problem of multiple submit buttons on a page

    Using js to submit a form to solve the problem that there are multiple submit buttons on a page. It is mainly to determine whether it is a submission text and then perform the corresponding actions, which is relatively simple.<pre name="code"> function ch
    2025-03-30
  • Code for generating DOM TreeView from HTML in C#

    Code for generating DOM TreeView from HTML in C#

    Since we need to use c# to process related operations recently, some code has been accumulated. The following code is an example of generating a dom treeview from the html code://This process will be called recursively//dom_node is the current html dom no
    2025-03-30
  • Implement progress bar control with htc

    Implement progress bar control with htc

    The code is as follows:<PUBLIC:COMPONENT><PUBLIC:METHODNAME="Init"INTERNALNAME="fnCreateProgressBar"/>
    2025-03-30
  • JavaScript AJAX lazy loading function

    JavaScript AJAX lazy loading function

    In JS, some memory only needs to be executed once, such as browser type detection is the most commonly used function, because when we use Ajax, we need to detect the browser's built-in XHR. We can record the type during the first detection, and in the
    2025-03-30
  • Consumer record program written by hta

    Consumer record program written by hta

    Copy and paste the code into a text document, save it, and change the suffix name of the file to: hta, and double-click to run. The code is as follows:
    2025-03-30
  • Pagenav, a paging plugin implemented by native javascript

    Pagenav, a paging plugin implemented by native javascript

    This is pagenav, a paging plugin implemented using native javascript. The page number shows the jquery plugin. If you only need #pageNav, the page number will be displayed. When calling, you can rewrite the go method as needed. (jquery dependencies have b
    2025-03-30
  • Common tips for beginners of javascript

    Common tips for beginners of javascript

    This article explains some common techniques for beginners of JavaScript. Share it for your reference. The details are as follows: 1. The Javascript program is stored in the HTML location<body></body> HTML inside<head></head> Inside *.js file, the standar
    2025-03-30
  • HTML5 picture black and white conversion effect

    HTML5 picture black and white conversion effect

    The purpose of this example is to show you how to create a mouse suspension effect of a grayscale/color image using HTML5 and jQuery. Before HTML5 appeared, achieving this effect required two images, colored and grayscale versions. HTML5 now makes creatin
    2025-03-30
  • laytpl exquisite and clever JavaScript template engine

    laytpl exquisite and clever JavaScript template engine

    laytpl is a disruptive JavaScript template engine. It uses clever implementation methods to make its own size small and exquisite. Not only does it have the ultimate performance, but it also has almost all the functions of a traditional front-end engine.
    2025-03-30
  • Text box flashback input keeps the focus of the input box always at the beginning

    Text box flashback input keeps the focus of the input box always at the beginning

    The so-called text box flashback input means that the focus of the input box is always at the beginning. As shown in the figure, when I enter 123456789, the 987654321 is displayed on the input box. Why do you want to make this demo? It is because I encoun
    2025-03-30