Jump to: navigation, search

This library is part of the Gamelib, created by Scott Porter and updated by Brent Silby. Gamelib is available under the terms of the GNU Library General Public Licence.

To use this library (this Class) add one line to the <HEAD> section of the web page of the Lot.

You need to click this link and "save" the library at the same folder of the web page or put it at another folder at the same server and make a reference:


If you put it at the same folder, the line would be:

<script language="Javascript" src="gamelib_mouse.js"></script> 

To create an "object" of the Class:


You need to create an object of this Class to use the properties of the Class Sprites:

onmouseover [=String]        
onmouseout [=String}           
onclickdown [=String]         
onclickup [=String] 

The "prefix" to be used will be that of the Sprite.

Personal tools
  • Log in
  • Login with OpenID
About OLPC
About the laptop
About the tablet
OLPC wiki
In other languages