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
  • Instructions for using the url.parse method in node.js

    Instructions for using the url.parse method in node.js

    Method description: Convert a URL string into an object and return it. Syntax: Copy the code as follows: url.parse(urlStr, [parseQueryString], [slashesDenoteHost]) Receive parameters: urlStr url string parseQuer
    2025-05-15
  • Nodejs realizes the sharing of small games of multiple people moving the mouse online at the same time

    Nodejs realizes the sharing of small games of multiple people moving the mouse online at the same time

    Recently, due to the project needs, I have studied the websocket implementation of nodejs, socket.io, which is a framework widely used by nodejs background application websocket. Preparation 1. Install socket.io, use the command npm install socket.io2.w
    2025-05-15
  • Based on HTML5 audio element playback sound jQuery plug-in

    Based on HTML5 audio element playback sound jQuery plug-in

    Comment: Play sound based on HTML5 audio elements jQuery plug-in, friends who need it can refer to it. 1. When I was in the college where I was dreamy, the flash website seemed to be a little popular, and on flash sites with a little content, various soun
    2025-05-15
  • How to calculate the face value of Texas Hold'em cards by js

    How to calculate the face value of Texas Hold'em cards by js

    This article examples describe how to calculate the face value of Texas Hold'em cards by JS. Share it for your reference. The specific details are as follows: 1. The code is as follows: Copy the code code as follows: var Poker = function(n){this.num =
    2025-05-15
  • JS parsing XML instance analysis

    JS parsing XML instance analysis

    This article describes the method of parsing XML by JS. Share it for your reference. The specific implementation method is as follows:<script type="javascript"> var txt="<note>"; txt=txt+"<to>George</to>"; txt=txt+"<
    2025-05-15
  • 10 skills that make front-end developers worth millions

    10 skills that make front-end developers worth millions

    The skills that front-end developers need to master; and these skills can make front-end developers worth millions. To be precise, these skills can make it easy for you to get into the ranks of millionaires. What skills are there? Here are the 10 skills l
    2025-05-15
  • JavaScript Get browser version

    JavaScript Get browser version

    At work, you need to use JS to get the name and version number of the currently used browser. There is a keyword for a lot of information online, which is navigator.appName, but this method has only two types of browser names that are either IE or Netscap
    2025-05-15
  • js code to light up the star score and get parameters

    js code to light up the star score and get parameters

    The pictures used are as follows: Online demonstration address: http://demo.VeVB.COM/js/2014/jsxxdf/demo2.html Complete code: Star rating effect of web page special effects Adding behavior Wulin.com welcomes you. Wulin.com, a must-have high-quality web pa
    2025-05-15
  • Javascript implements single image browsing

    Javascript implements single image browsing

    Using my free time, I wrote an example of browsing a single picture with links when learning JavaScript: Copy the code as follows:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML>
    2025-05-15
  • The implementation code of the pop-up form in the lower right corner of the web page

    The implementation code of the pop-up form in the lower right corner of the web page

    The code copy is as follows:<!--开始--><style type="text/css"> #msg_win{position:absolute;right:0px;display:none;overflow:hidden;z-index:99
    2025-05-15
  • Commonly used JavaScript return, automatic jump, refresh, and close statement summary

    Commonly used JavaScript return, automatic jump, refresh, and close statement summary

    This article describes the commonly used return, automatic jump, refresh, and close statements in JavaScript. Share it for your reference. The details are as follows: 1. Javascript returns to the previous page: Copy the code code as follows: history.go(-1
    2025-05-15
  • HTML tags: optgroup, sub, sup and bdo

    HTML tags: optgroup, sub, sup and bdo

    Optgroup is used in select tags to make the drop-down list content more organized. The subscript subscript can <em>be used together to comment the dbo dir tags. It can change the output direction of the text. Right->Left eg: Demo code:</em>
    2025-05-15
  • Examples of six commonly used interactive methods in JavaScript

    Examples of six commonly used interactive methods in JavaScript

    1. Confirm message dialog syntax: confirm ("str"); Parameter description: str is the text to be displayed in the dialog box. Function: It is usually used to remind the user to make certain choices. The return value is Boolean type. Click to conf
    2025-05-15
  • How to judge browser type by JavaScript

    How to judge browser type by JavaScript

    This article describes the method of JavaScript to determine browser type. Share it for your reference. The specific implementation method is as follows:<script type="text/javascript"> var Sys = {}; var ua = navigator.userA
    2025-05-15
  • A brief analysis of Callback method in Javascript

    A brief analysis of Callback method in Javascript

    What is callback copy code code as follows: The callback function is a function called through a function pointer. If you pass the pointer (address) of the function as an argument to another function, when this pointer is used to call the function it poin
    2025-05-15