mouseDown:This function captures the position of the mouse when the
mouse button is pressed down.
function mouseDown(x,y){}
div("name").mouseDown("commands")
mouseUp:This function captures the position of the mouse when the mouse
button is pressed down and then comes back up.
function mouseUp(x,y){}
div("name").mouseUp("commands")
mouseMove:This function captures the position of the mouse when it is
moved.
Function mouseMove(x,y){}
mouseOver:This function captures the position of the mouse when it is
over a DIV.
Function mouseOver("div"){}
div("name").mouseOver("commands")
mouseOut:This function captures the position of the mouse when it leaves
a DIV.
Function mouseOut("div"){}
div("name").mouseOut("commands")
Detect mouseOver: The mouse can be over more then one DIV at the same
time because of nested DIVs. You can check whether the mouse is over a DIV by
using this function. The function will return true if the mouse is over the
DIV.
lib.mouseOver("DIV")
Detect mouse position: These variables will contain the current coordinates
for the mouse on the screen.
lib.mouseX
lib.mouseY
keyDown: This function captures the current key pressed down on the
keyboard. You can either use the key's ASCII number or its actual value on the
keyboard.
Function keyDown(ASCII,"keyboard value"){}
keyUp: This function captures the current key pressed down and then
comes up on the keyboard. You can either use the key's ASCII number or its actual
value on the keyboard.
Function keyUp(ASCII,"keyboard value"){}
keyPress: This function captures the current key pressed on the keyboard.
You can either use the key's ASCII number or its actual value on the keyboard.
Function keyPress(ASCII,"keyboard value"){}