http://dynapi.sourceforge.net/GNU LESSER GENERAL PUBLIC LICENSEVersion 2.1, February 1999<html><head><title>DynAPI Examples - On Location Change Event</title><script language="Javascript" src="./dynapisrc/dynapi.js"></script><script language="Javascript"><!-- dynapi.library.setPath('./dynapisrc/'); dynapi.library.include('dynapi.api');//--></script><script language="Javascript"><!--dynapi.onLoad(function() { lyr = new DynLayer('Hello',300,50,100,100,'yellow'); lyr.addEventListener ({ onlocationchange : function(e) { var me = e.getSource(); me.setHTML('Location Change to:<br> x='+me.getX()+', y='+me.getY()); } }); dynapi.document.addChild(lyr);});//--></script></head><body bgcolor="#FFFFFF"><table bgcolor="#ffffff" border=0><tr><td><br><a href="javascript:;" onclick="lyr.slideTo(parseInt(Math.random()*450),parseInt(Math.random()*200));return false;">Change Location</a></td></tr></table></body></html>
Name (required)
email (will not be published) (required)
Website