<html>
<head>
<title>Example of the event.screenX property</title>
</head>
<body>
<script language = "JavaScript">
<!--
function handle(evnt){
alert("The X coordinate relative to the computer screen of where the click occurred is: " + evnt.screenX);
return true;
}
window.onclick = handle;
-->
</script>
Click in the web browser.
</body>
</html>
|