On 31-Jul-06, at 10:53 AM, Jorge Godoy wrote:

> Could you take a look at it?  Is my code wrong?  Should I adopt a  
> different
> approach to the problem? :-)
>
> I'm really willing to go on with this part of the code (even though  
> I'm
> working on different parts simultaneously, this is pending on my  
> side...).

Hi Jorge,

If you used native browser events to connect to a lot of elements,  
your page would probably slow to a crawl as well. I don't think your  
code or Signal are introducing any other problems on top of this one.

A solution to your problem might be to connect() at a higher level  
for an event, say on document or window. From there, you can see  
where it came from (http://mochikit.com/doc/html/MochiKit/ 
Signal.html#fn-target). Something like this *should* work in your  
situation, but you'll need to write and test the code to be sure.

Beau

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~----------~----~----~----~------~----~------~--~---

Reply via email to