<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Li,<br>
<br>
to change the context menu of an object you can override the method
"morphMenu". <br>
By changing it in the WorldMorph, you can change the default world
menu.<br>
<br>
You can override methods per instance, by subclassing or by adapting
the behavior in the base classes.<br>
<br>
I made a little documentation page for you, I hope it explains your
questions:<br>
<br>
<a class="moz-txt-link-freetext" href="http://lively-kernel.org/repository/lively-wiki/documentation/classes.xhtml">http://lively-kernel.org/repository/lively-wiki/documentation/classes.xhtml</a><br>
<br>
<br>
Best,<br>
<br>
Jens<br>
<br>
<br>
Am 14.10.10 13:09, schrieb Li Zhou:
<blockquote
cite="mid:AANLkTikuP49MrB1b39ONdeO-aFOLZSzWE38hHJSYMh8y@mail.gmail.com"
type="cite"><br>
How to change the popup menu, I would like to add some help
information on the popup menu.!!!<br>
<div class="gmail_quote">On Thu, Oct 14, 2010 at 4:23 AM, Li Zhou
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:lizhou7@gmail.com">lizhou7@gmail.com</a>></span>
wrote:<br>
<blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex;
border-left: 1px solid rgb(204, 204, 204);"
class="gmail_quote">
<div>Hi there</div>
<div><br>
</div>
How to add event handle to element like double click an
object? How to write javascript code on lively kernel?
<div>
<br>
</div>
<font color="#888888">
<div>Li</div>
</font></blockquote>
</div>
<br>
</blockquote>
<br>
</body>
</html>