[mochikit] Documentation error?

2007-11-11 Thread chris feldmann
In the docs at this URL: http://mochikit.com/doc/html/MochiKit/Visual.html there is a note (below here: http://mochikit.com/doc/html/MochiKit/Visual.html#fn-base): // I slide it up and then down again slideUp('myelement', {afterFinish: function () { slideDown('myelement'); }); It seems to

[mochikit] Re: Drag and drop table rows with handle

2007-01-12 Thread chris feldmann
On 1/12/07, Matthew Kwiecien [EMAIL PROTECTED] wrote: Ah, sorry, just noticed your second reply. Yes, the ghosting thing is sadly a limitation. Like I said though, take a step back and ask if it is really tables that you need to use. If you're doing the whole sortable drag and drop thing

[mochikit] Re: blindDown initialization

2007-01-02 Thread chris feldmann
On 1/2/07, Tom Berger [EMAIL PROTECTED] wrote: Hi all and Happy New Year! I am trying to use blindDown/blindUp to reveal and hide an optional section of a page. Both functions work beautifully on an element that was initially visible and fully expanded, but I'd like to start with the element

[mochikit] client side validator

2006-10-27 Thread chris feldmann
So a couple of months ago I made a client side form validator script that relies on mochikit. It's littered, I admit, with artifacts of the specific implementation, but I've been able to use it elsewhere. Interested parties can go here:

[mochikit] Re: Working with Visual

2006-09-26 Thread chris feldmann
On 9/25/06, Juergen Schreck [EMAIL PROTECTED] wrote: Ok, still didn't find a good solution for this. Quick reality check - if I want to use a slideDown effect on an item - how do I 'best' put it in the initial UP position? Thanks, Juergen I do it like this: div id=elementToSlideDown

[mochikit] Re: Trapping Safari's ENTER key

2006-08-30 Thread chris feldmann
On 8/29/06, hartshorne [EMAIL PROTECTED] wrote: It seems you can't cancel onkeydown events with Safari. You can cancel onkeypress events, but MochiKit doesn't return key().string for special keys in a keypress event. To prevent form submissions, just do something like this:

[mochikit] Re: Visual.js calling obsolete funcions?

2006-08-24 Thread chris feldmann
On 8/24/06, chris feldmann [EMAIL PROTECTED] wrote: I think I'm going to be able to work around these issues... No, I'm not. And looking at previous implementations of mine that use, say, MochiKit.Visual.blindUp, I see calls to MochiKit.DOM.getStyle() all over the place, but it works. Must

[mochikit] Re: Disconnecting signals

2006-08-17 Thread chris feldmann
On 8/17/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Lets say I had some dynamic rows with links. Perhaps I use signal to connect those links to some function. Later, I remove the rows. This happens on a continual basis. Would it be important to disconnect the link's signal before

[mochikit] Re: Trapping Safari's ENTER key

2006-07-27 Thread chris feldmann
On 7/25/06, Alexandre A. Falcão [EMAIL PROTECTED] wrote: Hi guys, I had the same problem when mading keyboard shortcuts to a scroll list... Looks like safari call the events and you can see what's going on, but it doesn't allow you to stop propagation on keyboard events. So, it will ever

[mochikit] Trapping Safari's ENTER key

2006-07-25 Thread chris feldmann
Hi mochinauts. I am trying to disable form submission on enter keydown. This snippet works on every platform except safai, which even does the visual submit press animation cue and then submits. Is there some secret sauce for safari's enter key? connect( window, onload, function(){ connect(

[mochikit] Re: A Designer Lost In Programming

2006-06-10 Thread chris feldmann
On 6/10/06, Jon [EMAIL PROTECTED] wrote: Hi! I'm having trouble using MochiKit (I'm more of a designer than a developer). Anyway, I hope this is the right place to post, and I hope someone can help me. Basicly what I want is this: When someone mouseover a object with the id siste, there

[mochikit] Re: Quick AJAX hint?

2006-05-29 Thread chris feldmann
On 5/29/06, Grzegorz Staniak [EMAIL PROTECTED] wrote: Hello, I've just started using Mochikit, and not having used a JavaScript framework before, I am a bit lost about how I should proceed with a little AJAX trick I want to use - sorry to bother you before reading all of the docs (a quick

[mochikit] Re: Quick AJAX hint?

2006-05-29 Thread chris feldmann
Oops: form name=form Of course. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups MochiKit group. To post to this group, send email to mochikit@googlegroups.com To unsubscribe from this group, send email to [EMAIL

[mochikit] Re: Help with Example...

2006-05-24 Thread chris feldmann
On 5/24/06, drbigfresh [EMAIL PROTECTED] wrote: I am trying to work thru some of the examples in the hopes of getting more acquainted with the mochiKit, but I am having some problems figuring out the ajax, loading an xml document example How would I change the example to load a different

[mochikit] webserver down?

2006-05-23 Thread chris feldmann
mochikit.com appears to be dead: $ wget mochikit.com --19:21:26-- http://mochikit.com/ = `index.html' Resolving mochikit.com... 216.200.21.214 Connecting to mochikit.com[216.200.21.214]:80... failed: Connection timed out. Retrying. (in Eastern time)

[mochikit] Re: Signal.js question

2006-05-09 Thread chris feldmann
On 5/9/06, chris feldmann [EMAIL PROTECTED] wrote: Is one mouseouting an element if one enters another element within that element? Or is the event being wrongly propagating down the tree? I'm looking at the signal code, and it's dense enough to be confusing. But consider this testcase

[mochikit] Re: String to DOM

2006-04-22 Thread chris feldmann
On 4/22/06, Michele Cella [EMAIL PROTECTED] wrote: Problem is when you serve with content-type application/xhtml+xml, innerHTML will not work, but IIRC firefox 1.5 supports it even in this case. Wow, I stand corrected. That's the problem with only using lesser browsers for testing; one

[mochikit] Re: String to DOM

2006-04-21 Thread chris feldmann
On 4/21/06, Michele Cella [EMAIL PROTECTED] wrote: Bob Ippolito wrote: On Apr 21, 2006, at 6:23 AM, Fariborz Grayli wrote: I am just wondering if there is anything like this in MochiKit. function loadXML(data) { if (DOMParser) return (new

[mochikit] Re: Mochi Drag and Drop?

2006-03-17 Thread chris feldmann
On 3/17/06, Kevin Dangoor [EMAIL PROTECTED] wrote: There's also the Scriptaculous port, which currently lives on a branch in the repository.. Kevin On 3/16/06, Beau Hartshorne [EMAIL PROTECTED] wrote: I was looking into this today as well, but I think the YUI library may be a better

[mochikit] Re: Mochi Drag and Drop?

2006-03-17 Thread chris feldmann
On 3/17/06, chris feldmann [EMAIL PROTECTED] wrote: On 3/17/06, Karl Guertin [EMAIL PROTECTED] wrote: On 3/17/06, chris feldmann [EMAIL PROTECTED] wrote: But I would be VERY interested in other people's work implementing drag and drop with the scriptaculous port. I'm still poking

[mochikit] Re: HowtoSimpleAjax issue

2006-02-27 Thread chris feldmann
On 2/27/06, Bob Ippolito [EMAIL PROTECTED] wrote: On Feb 27, 2006, at 8:26 AM, Lee McFadden wrote: I've been writing some fairly complex JS for inline editing of text using http://trac.mochikit.com/wiki/HowtoSimpleAjax as a basis for making my links ajax enabled rather than using the

[mochikit] Re: input disabled attr

2006-01-11 Thread chris feldmann
On 1/10/06, Eugene Lazutkin [EMAIL PROTECTED] wrote: +1. I covered a similar question here: http://article.gmane.org/gmane.comp.web.dojo.user/2307/ To sum it up: disabled is one of the most screwed up attributes. Try to avoid it, if possible. I can't agree with this at all; it is often