TOC PREV NEXT INDEX

domref



clientX


Returns the horizontal coordinate of the event within the DOM client area.

Syntax

returnType = event.property
 

Parameters

param is a something.

Example

function checkClientClickMap(e) {
 
  if e.clientX < 50
 
    doRedButton();
 
  if 50 <= e.clientX < 100
 
    doYellowButton();
 
  if e.clientX >= 100
 
    doRedButton();
 
}
 

 

Notes

See also clientY.

Specification

clientX
 


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX