[mochikit] Re: What is the mochikit way ?

2007-02-19 Thread Arnar Birgisson
Hi there, There's nothing wrong with using setInterval and clearInterval with MochiKit I think. You can ues it together with partial if you want send some parameters to your function. I guess a different way to do this with MochiKit would be: function someRepeatingStuff(counter, interval) {

[mochikit] Re: getStyle(element, 'border-left') does not work

2007-02-19 Thread Arnar Birgisson
You might need 'border-left-width' since border-left is a shorthand rule. Arnar On 2/19/07, Létező [EMAIL PROTECTED] wrote: Hi! Margin and padding can be read by MochiKit.Style.getStyle, but it seems that border size cannot be read this way. Can anybody give me a workaround to read the

[mochikit] Re: Multiple windows

2007-02-19 Thread Arnar Birgisson
Hello, This is not directly related to MochiKit, but I think you can use something like parent.opener to refer to the parent window and call stuff defined there. This link might help: http://www.captain.at/howto-ajax-parent-opener-window-close-error.php As for the other thing, callLater might

[mochikit] Re: Using Mochi to remote/ajaxify flash?

2007-02-19 Thread Theo
Absolutely, go with Flash, Ajax doesn't add anything useful in this case. Flash is capable of doing everything you want, and involvning one more environment in this is asking for trouble. In Flash you have two options on how to load the data, either you do a HTTP call, like in Ajax (look at

[mochikit] Re: Using Mochi to remote/ajaxify flash?

2007-02-19 Thread Bob Ippolito
It doesn't have to be the same server. XMLSocket and XML are subject to the same crossdomain.xml policy security model. -bob On 2/19/07, Theo [EMAIL PROTECTED] wrote: Absolutely, go with Flash, Ajax doesn't add anything useful in this case. Flash is capable of doing everything you want, and

[mochikit] Re: What is the mochikit way ?

2007-02-19 Thread Beau Hartshorne
On 18-Feb-07, at 9:08 PM, Pearl wrote: I am calling a python function in regular intervals repeatedly. For this purpose I am using the javascript function = setInterval(function, interval) To stop this I used = clearInterval(function) What is the mochikit way of doing the same? I think

[mochikit] MochiKit website up to date?

2007-02-19 Thread Michael Hayes
I just came across MochiKit for the first time the other day and the website at first gave me the impression that the project is dormant. The About page does not mention IE 7 or Firefox 2 -- are they supported? And there hasn't been a blog entry since 2006-09-22.

[mochikit] Re: MochiKit website up to date?

2007-02-19 Thread Bob Ippolito
On 2/19/07, Michael Hayes [EMAIL PROTECTED] wrote: I just came across MochiKit for the first time the other day and the website at first gave me the impression that the project is dormant. The About page does not mention IE 7 or Firefox 2 -- are they supported? And there hasn't been a blog

[mochikit] Problem with childNodes and createDOM in Safari

2007-02-19 Thread Arnaud Delobelle
Hi everyone, I have been using mochikit for a while with a lot of success (after the initial frustrations of getting to grips with the weirdness of javascript ;-), but today ran into a problem in Safari with the function createDOM. Here is what it boils down to div id=mydivblah/div script

[mochikit] Re: Problem with childNodes and createDOM in Safari

2007-02-19 Thread Arnaud Delobelle
On Feb 19, 8:50 pm, Bob Ippolito [EMAIL PROTECTED] wrote: On 2/19/07, Arnaud Delobelle [EMAIL PROTECTED] wrote: I have then two questions: 1. Was my expectation that the little script above should work unfounded ? If so, why ? If it did work, then it would probably move all of the