here is my interpretation of "eyes follow mouse" in javascript.
Nothing special but works fine.
an important function in this js is this one:
function objMove( obj, xPos, yPos ){
obj.style.left = xPos + "px";
obj.style.top = yPos + "px";
}
is a function that move an object of the page.
the important thing is that works with ie, opera and firefox
an example of this eyes follow mouse at work.
Nessun commento:
Posta un commento