JS's clientx,clienty,screenx,screeny,offsetx,offsety

Source: Internet
Author: User
  1. ClientX: When a mouse event occurs (either onclick, omousemove,onmouseover, etc.), the mouse is positioned relative to the x-axis of the browser (which is said to be the active area of the browser);
  2. ClientY: When a mouse event occurs, the mouse is positioned relative to the y-axis of the browser (which is what it says is the active area of the browser);
  3. ScreenX: The position of the mouse relative to the x-axis of the display screen when the mouse event occurs;
  4. ScreenY: The position of the mouse relative to the y-axis of the display screen when the mouse event occurs;
  5. OffsetX: When a mouse event occurs, the position of the mouse relative to the x-axis of the event source
  6. OffsetY: The position of the mouse relative to the y-axis of the event source when a mouse event occurs

JS's clientx,clienty,screenx,screeny,offsetx,offsety

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.