TOC PREV NEXT INDEX

domref



clientY


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

Syntax

returnType = event.property
 

Parameters

param is a something.

Example

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

 

Notes

See also clientX.

Specification

clientY
 


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