[mochikit] stopPropagation() and onclick

2006-04-04 Thread Melkor
I'm connecting anchors (a) with a signal that calls the event.stopPropagation() method. My intent is for the anchor not to be followed. Previously I had this code that worked: a href = # onclick = handler(this);return false;Text/a But now the link is being followed, making the anchor loose its

[mochikit] Signal connection status

2006-04-04 Thread Melkor
For testing pourposes I would like to have a method to check the connection status of a signal associated with a DOM object. Is there a method so I can at least write: assert(isConnected(domElement, 'onclick'); Thanks, Pablo --~--~-~--~~~---~--~~ You received

[mochikit] Re: stopPropagation() and onclick

2006-04-04 Thread troels knak-nielsen
You need to call e.preventDefault() aswell. Or just use e.stop(); On 4/4/06, Melkor [EMAIL PROTECTED] wrote: I'm connecting anchors (a) with a signal that calls the event.stopPropagation() method. My intent is for the anchor not to be followed. Previously I had this code that worked: a

[mochikit] Re: Signal connection status

2006-04-04 Thread Beau Hartshorne
No, but we should be able to add something like this. On 4-Apr-06, at 7:31 AM, Melkor wrote: For testing pourposes I would like to have a method to check the connection status of a signal associated with a DOM object. Is there a method so I can at least write:

[mochikit] Re: creating widgets

2006-04-04 Thread Lucio Torre
On 4/4/06, Leonardo Soto M. [EMAIL PROTECTED] wrote: I've been working on a small widget library. The web page is horrible,Update: The web is now not sooo horrible: http://ui4w.sf.net/Nice! ill look into it. Thanks. --~--~-~--~~~---~--~~ You received this

[mochikit] creating widgets

2006-04-04 Thread Lucio Torre
On 4/4/06, troels knak-nielsen [EMAIL PROTECTED] wrote: If you haven't already, I suggest you take a good look at dojo. Theyhave a quite extensible framework for dealing with widgets.Im looking at dojo right now. The documentation seems a bit light, and its all very integrated, which makes it

[mochikit] Re: creating widgets

2006-04-04 Thread Leonardo Soto M.
[Argh, forgot to put Mochikit in the To:] troels knak-nielsen wrote: On 4/4/06, Lucio Torre [EMAIL PROTECTED] wrote: Hi, im pretty new to javascript, so im full of questions. As my main tool in this new endeavor is mochikit, i thought you guys could help me answer some questions i have. Im