javascript event layerX, layerY
@March 15, 2008, 1:22 a.m.
layerX, layerY | Firefox/Netscape/NN 4 IE n/a Chrome/Safari/DOM n/a |
Read-only | |
Provide the horizontal (x) and vertical (y) coordinate of the mouse at the moment the current event fired. These coordinates are relative to the containing layer. If no layers or positionable elements have been defined, the default layer of the base document is used as a reference point, thus equivalent to the pageX and pageY properties. In Netscape 6 and later, these properties are measured relative to the element's own rectangular space for text and password input elements, textarea elements, and select elements. |
|
Example | |
if ((evt.layerX >= 10 && evt.layerX <= 20) && (evt.layerY >= 50 && evt.layerY <= 100)) { // process code for click in hot zone bounded by 10,50 and 20,100 } |
|
Value | |
Integer of pixel values. |
|
Default | |
None |
Permanent URL:
http://javascript.gakaa.com/event-layerx-2-0-layery.aspx
Powered by Linode.
I can't believe that ThePornDude is also selling prescription meds without any prescription! I've seen this: <a href=https://theporndude.com/2643/motherlesstaboo>do you need a prescription for viagra</a> on this perv site. As I mentioned before, its name is "ThePornDude". Quite cheap website though. I am curious, why CIA are not after that possible child rapist?
Look for the news!Keep in touch!