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
  • How to get the current time in Servet

    How to get the current time in Servet

    About how to get the current time in a servelet //Get the current time Date date=new Date();DateFormat format=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");Str
    2025-07-05
  • Cross-browser parsing XML file instances implemented by JS

    Cross-browser parsing XML file instances implemented by JS

    This article describes the method of cross-browser parsing XML files implemented by JS. I will share it with you for your reference. The following code loads an XML document ("note.xml") into the XML parser: <script type="text/javascript">functi
    2025-07-05
  • A brief discussion on the precautions for inline and external connection of js and css

    A brief discussion on the precautions for inline and external connection of js and css

    Simply put: these two problems are actually the same problem, but I have been searching online for a long time but I can't find a method. There cannot be any HTML markup comments in the outlinked js and css files. Once there is, the browser will go cr
    2025-07-05
  • Implementation method for only entering numbers in text boxes (compatible with IE Firefox)

    Implementation method for only entering numbers in text boxes (compatible with IE Firefox)

    Implementation method for only entering numbers in text boxes (compatible with IE Firefox)
    2025-07-05
  • JS menu sliding display and hidden effect based on constructor implementation [test available]

    JS menu sliding display and hidden effect based on constructor implementation [test available]

    This article describes the menu sliding revealing effect implemented by JS based on constructor. I will share it with you for your reference. The specific details are as follows: The screenshot of the operation effect is as follows: The specific code is a
    2025-07-05
  • How to understand JS prototype chain

    How to understand JS prototype chain

    Before talking about prototype chains, we must first understand what the relationship is between custom functions and functions, and what are the inextricable relationships between constructors, prototypes and instances? In fact, all functions are instanc
    2025-07-05
  • Real-time display of system time based on JS code

    Real-time display of system time based on JS code

    1. Overview When browsing many websites, you will find that the function of displaying the current system time is added to the website. Displaying the current system time on the web page not only makes it convenient for the browser to grasp the current ti
    2025-07-05
  • Bootstrap front-end development case 1

    Bootstrap front-end development case 1

    Many companies now use the framework of bootstrap in development. bootstrap is the work of a team of Twitter, which greatly simplifies our front-end development. (I will summarize some less usage later) Learning to use the API I suggest directly viewing t
    2025-07-05
  • How to use bootstrapValidator in form verification plugin in Bootstrap (recommended)

    How to use bootstrapValidator in form verification plugin in Bootstrap (recommended)

    This article will introduce you to how to judge the example code of form verification. Before introducing the main text, I will introduce you to the plug-in. The plug-in introduction is the previous picture: Download address: https://github.com/nghuuphuoc
    2025-07-05
  • JS CSS implements vertical adaptive triangle prompt menu

    JS CSS implements vertical adaptive triangle prompt menu

    This is a relatively simple and practical menu, and the most important thing is that it does not need to reference the jQuery library. The menu can be adaptable in the vertical direction. When the main menu is close to the top, the submenu will be below,
    2025-07-05
  • AngularJS elegant custom directives

    AngularJS elegant custom directives

    Learning points Why use directives to create custom directives to work with jqLite 1. Why use custom directives NG has many custom directives built in, but they sometimes do not meet your requirements. This requires us to create custom attributes. 2. Cust
    2025-07-05
  • Bootstrap front-end development case 2

    Bootstrap front-end development case 2

    I continued to write the layout of the previous article. In the previous article, I have completed the layout of the navigation bar and advertisement. Start to continue placing: I think the final rendering is like this, as follows: I divided into three pa
    2025-07-05
  • JavaScript's prototype chain-based inheritance

    JavaScript's prototype chain-based inheritance

    Javascript is not an object-oriented language and does not provide traditional inheritance methods, but it provides a way of prototype inheritance, using the prototype properties it provides to achieve inheritance. Prototype chain is the main method of in
    2025-07-05
  • Imitation of Angular Bootstrap TimePicker to create input controls for minutes-seconds

    Imitation of Angular Bootstrap TimePicker to create input controls for minutes-seconds

    In a project, a control is needed to enter minutes and seconds, but after investigating some open source projects, no suitable control is found. There is a similar control TimePicker in the Angular Bootstrap UI, but it doesn't go deep into minutes and
    2025-07-05
  • A comprehensive summary of jQuary selector

    A comprehensive summary of jQuary selector

    jQuary basic selector $("div*") gets all elements below the div $(".red,.green").html("How") // It should be noted that two choices should be written in the same quote (used when multiple selectors need to be selected at the
    2025-07-05