topical media & game development
#javascript-code-08-mouse.js / js
// Whenever the user mouses over the li,
// set it to be the currently hilighted user
li[i].onmouseover = function(){
updatePos( this );
};
// When the user is clicked
li[i].onclick = function(){
// Add the user to the input
addUser( this );
// And focus back on the input again
id("q").focus();
};
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.