event.screenY : Event Object : Event JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Event » Event Object »

 

event.screenY







The screenY property controls the vertical (y-coordinate) positioning within the computer screen.












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







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Event
» Event Object