Heya Mochis!
This isn't all that special other than two great things go better
together, but here are two different Processing.js interpreters based
on MochiKit's interpreter demo.
http://winningham.googlepages.com/processing
Just thought it might be a fun play thing for about a minute ;p
Mochi
d Controls.js out of trunk, in the autocompleter branch, until
someone decides to revive it.
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, send email to moc
I move 2 tickets out of this, 140 and 245. I'm ready to do 226 and 228
if there's an agreement on it. I'll try to do 241 asap, but I don't
have IE all the time.
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subs
Firefox. Seems
> OK in IE/Opera.
>
> Is this a known issue? If so is there a workaround?
You have to use 'onmouseout'. MochiKit will then take care of making
it works everywhere.
--
Thomas
--~--~-~--~~~---~--~~
You received this message because
ll status of everything is and it makes it harder for me to
> > confidently do a release.
>
> The amusing thing about this is that you're listed on the blame for
> the majority of the lines in these files, though I know Thomas
> maintains them.
I guess that mainly comes from
Okay,
this:
> I know how to get the .json- file ("doc = loadJSONDoc(url)"), how to
> access the data in it ("doc.results[0].responseText") and how to put
> data in a table (the DOM- example). BUT I do not know, how to address
> the "column" or "row" keys. Playing with the interpreter everything
oc. :-(
I also read some posts, addressing rows and columns by "data.rows" and
"data.columns", but I did not see, how to get "data".
..I have got more questions, but that´s for now ;-)
greetings,
Thomas
--~--~-~--~~~---~--~~
You r
nly use Async
* so in fact leaving only AutoComplete and InPlaceEditor in this file.
I don't ask you to do this, because it's a huge work. I might do it in
the future but it's not likely to happen soon.
If possible, can you open a ticket in the tracker, of create a wiki
you the absolute position of the
element in the page. If not it's a bug.
setElementPosition is a bit tricker because it's intended to be used
on absolute positioned elements. The documentation could be clearer on
this.
--
Thomas
--~--~-~--~~~---~--~~
Y
> Anyone know what that is or means?
It comes from changeset [1266], there are already 2 tickets opened in
the tracker for this: #231 and #232. It happens at unloading, and I
don't think it's very harmful, but Beau will probably fix it ASA
ument, so left/top are 0. By using visibility:hidden, the
element is repositioned in the document and you can get a value for
left/top.
So yes, it's dumb, but it's actually useful :).
--
Thomas
--~--~-~--~~~---~--~~
You received this message because y
ed, but isn't. It's not too big a deal, but it seems like if it's
> already in MochiKit, it should be used in MochiKit.
Actually Format.trim doesn't exist, so it'd be hard to use :).
> Also a minor addition to DOM renames since IE blows and doesn't
> r
this is to set MochiKit.__export__ to false
(unless there's a side effect, but it should do the trick).
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this grou
blem, well, the problem is that it's empty: you
should use css to set a minimum height, otherwise you can't point the
zone with the mouse.
> A couple of other bugs:
> The Sortable documentation lists Effect as a dependency, but it does not
> exist, and Position is a dependency of
SanderElias a écrit :
Hi Thomas,
Tanks for the quick reply
You're welcome.
> > 1. on a successful drop, the draggable does a revert. I only want a
> > revert, when it's dropped outside an dropzone.
>
> To do this, just remove the element in your ondrop func
tart",function(){log('dragging!!');})
//did not work too
The signals generated are generated on the Draggables
(MochiKit.DragAndDrop.Draggables). You connect to it *one* time for all
your draggable items. You'll get the draggable as first argument.
--
Thomas
--~--~-~
(or
I don't see how). Maybe with 2 divs stacked?
--
Thomas
--~--~-~--~~~---~--~~
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 unsubsc
in it, just like the fold effect, for example.
Does any of that make any sense?
Yes, it does ! There's a scaleContent option in the Scale class, I've
made it available in puff/shrink/grow in revision 1242. I hope it's
that you needed.
--
Thomas
--~--~-~--~~~
way cool :)).
--
Thomas
--~--~-~--~~~---~--~~
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
hanks,
--
Thomas
--~--~-~--~~~---~--~~
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 PROT
[EMAIL PROTECTED] a écrit :
> Thomas Hervé wrote:
> > The first problem I see is that you call roundClass with the option
> > border at true, whereas it takes a color as argument. It should be in
> > the documentation though.
>
> No, the documentation says that the
The first problem I see is that you call roundClass with the option
border at true, whereas it takes a color as argument. It should be in
the documentation though.
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
showing your problem, relatively high :).
I'd be particulary interested if you can show an example with
DragAndDrop.
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To pos
My guess is that it has nothing to do with insertSiblingNodesBefore.
Where's your rowCount variable ? Does your table has an initial line ?
Try to reduce it to a full reproductible example.
--
Thomas
--~--~-~--~~~---~--~~
You received this message becaus
+if (disp != 'inline' && disp != 'table-row') {
+c.x -= parent.scrollLeft;
+c.y -= parent.scrollTop;
+}
if (parent.parentNode) {
parent = parent.paren
You should look at the scope notion in Effects, and the ScopedQueue
class. You probably only have to add the option 'queue', and set the
scope to 'global'.
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subs
OK sorry, setStyle(elem, "opacity") was working but not setOpacity.
Thanks for report.
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, se
"Not working" is not a information precise enough. What's your problem
exactly ? Under which browser ?
For me it works perfectly.
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"
Add an argument to loadJSONdoc(): loadJSONdoc('http://toto',
{'no-cache': new Date().getTime()})
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post t
With the new Selector module, forEach and setStyle you'll have
something more powerful and portable (not tested):
function changeCSSProperty(pSelector, pProperty, pValue) {
forEach($$(pSelector), function (elt) {
setStyle(elem, {pProperty: pValue});
});
};
--
T
I checked in a workaround in revision 1225.
Can you verify it corrects your problem ? Thanks.
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, sen
custom event
> object to the connect()'d function?
I think you take the problem from the wrong side. Drag an item without
the mouse is not dragging, it's just moving. I'd try with Visual.Move.
--
Thomas
--~--~-~--~~~---~--~~
You received this message
ave
the effect of sliding, instead something like blindLeft. (So it close
from right to left, but with blinding, and not sliding.)
Is there anyone who could help me out?
Thanks,
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscr
One tip: include New.js.
--
Thomas
--~--~-~--~~~---~--~~
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, sen
hLight('blah');
Note that you don't need to pass $('elt'), you can use 'elt' directly.
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To pos
have a 1px border by default, so I had to override that
> with a special class)
>
> These were the only changes to make the code work. So, at least Firefox has a
> restriction on changing labels when on a HTTPS page.
You haven't convinced me :). Try
" + c, "limit": 1}});
Then the id won't be necessary anymore.
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, send email to mochiki
around Scale).
> I need a combination effect or queue of blindDown, blindRight where
> an element expands from the top/left to the bottom/right.
It looks like the exact opposite of squish. It should be two-lines away
from squish (change the scale from 0 to 100 and
I forgot yet another method: cancel. It should do the trick.
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, send email to mochikit@googlegro
It's hard to tell without actually seeing the code, but I guess you
should try to call the finish() method on your effect object. The
'break' queue calls the finalize method, which let the effect run to
the end (not really a stop in fac
> Am I doing something wrong, or is this a bug?
You're doing something wrong: don't create the Draggables, Sortable
handles that alone, and the containment option (which you specified
well) handles the dragging between the 2 Sortables
chiKit-DOM.html 76 2
>
> not ok - formContents empty option values got ",", expected ",foo"
> not ok - queryString empty option values got "selempty=&selempty2=",
> expected "selempty=&selempty2=foo"
See http://trac.mochikit.com/ticket/189.
--
First thanks because I spotted a problem in D&D with your code :).
I'm not very sure you used the good solution, and this part of the code
is pretty sensitive. Anyway your use case seems reasonable, so I'll try
to find a solutio
Hi,
It's interesting, but it'd be hard to say if it's pertinent without an
example. Anyway you could send your patch (unified diff please, against
trunk if possible) and I'll have a look. You can also open a ticket in
the
jax app is somewhat unclear,
because it depends of what you do at each user inputs. Here you can see
a good solution: http://www.contentwithstyle.co.uk/Articles/38/. But
it's difficult to find a generic solution to this problem.
--
Thomas
--~--~-~--~~~---~--~~
Y
What do you mean by 'back button support' ? There are many ways to
support back button in a ajax webapp, so it'd be good if you say what
you'd want.
Generally MochiKit tries to be not too much intrusive, and I don't see
how you can support back buttons without modifying
Please post a full reproductible example, it'll be easier to find out
what's the problem.
Regards,
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this
Could you post a reproductible example ? There are several ways for a
Deferred to fail (via loadJSONDoc ? doSimpleXMLHttpRequest directly ?).
The reason of the failure could also help (errback should be launch
with an error as argument).
--
Thomas
Thanks applied in [1119] in the trunk.
--
Thomas
--~--~-~--~~~---~--~~
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
It seems there was a bug indeed, thanks! It has been fixed in [1118] in
the trunk.
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, send email t
Does anyone have any idea how to fix this?
starteffect and endeffect take a parameter which is the dragged
element. Just add the parameter in your function definition and use it
instead of ElementID in your effects and it should work.
--
Thomas
--~--~-~--~~~---~--
There are probably conflicts with the function namespace. Why do you
want to use scriptaculous ?
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, sen
Visual effects only work with the trunk version. Don't forget the
New.js file.
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, send em
ntation to
> avoid people fall on this trap.
I agree a documentation note can be useful.
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, send email
n example of the problem
you encounter ?
Dragging with Web Interface is mainly an hack, even though it can work
pretty well. If you can't live with the performance problem, you should
look to 'heavier' interfaces (maybe XUL ?)
--
Thomas
--~--~-~--~~~---~--~
c.mochikit.com/
--
Thomas
--~--~-~--~~~---~--~~
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 PRO
Could you try this and see if it works for you ? Otherwise, can you
provide a simple example without ui4w and with blindUp that reproduces
the problem ?
Thanks,
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goog
dUp() does need it. Or at least the current implementation uses it.
Oh yes the ugly *clipping trick. Sorry I forgot about this. Have you
try to make a blindUp without this ? It could solve your problem.
I'll try to see if I find a CSS hack around this.
--
Thomas
--~--~-~--~~
rkaround it?
Before everything you should find a solution to the problem. You can
also try to explain why you need overflow:hidden. For now Visual
doesn't use setElementDimensions but if it solves a problem it could.
--
Thomas
--~--~-~--~~~---~--~~
You r
lement', queue: {'position': 'break', 'scope':
'myelement'});
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, se
Hello,
I've added a simple new behaviour to queue in changeset [1085]. To use,
it, simply call you effect like this:
slideDown('demo-all', {'queue': 'break'});
If everything is fine, it should cancel the current effect and launch
the slideDown. Please tell me
You should give a full example. My crystal ball feels rather dusty :).
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, send email to mochikit@googlegro
ut why do you return ? I'd just replace this code
with:
MochiKit.DragAndDrop.Draggables.endDrag(event);
and I think it will make what you want (check active, and clean
current).
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are s
To help you we need a full example, and maybe the browser you use.
In any case, you'd better upgrade the version to the latest in trunk,
as bugs were corrected, especially on D&D.
--
Thomas
--~--~-~--~~~---~--~~
You received this message becaus
499).
You have to include New.js.
--
Thomas
--~--~-~--~~~---~--~~
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, sen
Thanks, it's fixed in the trunk.
Be careful, this function is not part of the public API and may be
removed at any moment.
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"MochiKit" gr
g toggle.
I think the behaviour of toggle is sane, as it waits the precedent
effect before running the new one. But I guess you want another
behaviour. For what you want, another option of the queue
functionnality can make it works (like 'break&
ed to make some docs on it but didn't take the time (yet). It
basically use a queue to make it possible, with options to choose when
launch effects before or after others.
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed
I did the patch and it seemed to correct the problem you have (under
Konqueror). I don't have Safari to test so I can't make anything for
this :/. May you try some things to find where the problem is ? I think
it's around getElementDimensions, but I can only suppo
Thanks, I hadn't test with Opera for a while and there was a bug with
the getStyle function (which is used everywhere). It's fixed in the
trunk (1072) and should be better now.
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are
ng Signal ? It's pretty simple and thus very customizable.
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, send email to mochikit@googlegroups.co
Thanks for your feedback, it's been done in the trunk (1071).
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, send email to mochikit@goog
;onload').
- I think event.mouse().page is better suited to what you want to do
- After a few tests, it seems you may have to set some positions to
absolute to prevent some side effects.
Good luck :)
--
Thomas
--~--~-~--~~~---~--~~
You received this message because
ld be fixed in the trunk.
Thanks for your report.
--
Thomas
--~--~-~--~~~---~--~~
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 unsubscri
your browser to make it scroll, then in the console do...
>
> ScrollTo('element_id'); // something towards the bottom of the page
Yes, it's not (yet) very well documented, but capitalized effects are
classes, so you have to instantiate via new. Ex: "new
ScrollTo(
You have to include the file New.js to use the Visual effects. The
error is relatively clear, no ? It means the function makeClipping is
not defined (because it's defined in New.js).
--
Thomas
--~--~-~--~~~---~--~~
You received this message because yo
a feature suited for MochiKit.
For now, there are no docs, no examples, and no maintainer for this
file. There's a lot of work needed for removing Prototype stuff and
using MochiKit instead. Every volunteer are welcome, though :).
--
Thomas
--~--~-~--~~~---~--~~
Howdy.
I've had this bundle for a long time.
SVN:
http://textmate.svn.subtlegradient.com/Bundles/Javascript%20Extras.tmbundle/
ZIP:
http://textmate.svn.subtlegradient.com/Bundles/Javascript_Extras.zip
Share and enjoy!
--~--~-~--~~~---~--~~
You received this mess
ts' URLs generally
disappear after a short period of time).
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, send email to mochikit@googlegroups.co
This a known IE problem. See here for an explanation and the solution:
http://jszen.blogspot.com/2005/04/ie-bold-text-opacity-problem.html
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Moc
v.PAIRS[effect][1] : v.PAIRS[effect][0]](element, options);
>
> But in DOM.js the isVisible function does not exists
The function is in the file New.js, you have to include it to use
Visual Effects/Drag&Drop.
--
Thomas
--~--~-~--~~~---~--~~
You receiv
nently
> regarded as merely a proof of concept.
That's great, I'm glad you find it good :). I just want to warn you,
try to test your solution on older machines before making an Internet
app (opposed on Intranet) using more than 100 elements in Sortable.
--
Thomas
--~--~-~-
new website. You can find the
tracker here: http://trac.mochikit.com.
> Are the reStructuredText versions of the documentation the definitive
> versions?
Yes, they are compiled into HTML using the make_docs.py file in the
scripts directory.
--
Thomas
--~--~-~--~~
t for DragAndDrop,
and fits for simple cases. If you have lots of items or a complex
layout, a hand made system (based on D&D) will definitely be better.
For example, you may try to define your Draggable on the fly ?
--
Thomas
--~--~-~--~~~---~--~~
You received thi
Hello,
I can't reproduce the problem with your example, using Firefox 1.5.0.4
under Linux. It may come from a performance problem, but it should be
the same for absolute... I don't have further explications right now.
--
Thomas
--~--~-~--~~~---~--
rahul a écrit :
> Thanks for your reply! However, the problem seems to be solved.
Great, but other people may be interested in your solution :). That
could be a good D&D example.
--
Thomas
--~--~-~--~~~---~--~~
You received this message because
Please post an example showing your problem, that'd be easier to help
you.
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, send em
have
> been unable to find anything remotely similar...
http://mochikit.com/doc/html/MochiKit/DOM.html#fn-$
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this grou
Scott Chapman a écrit :
> Thomas Hervé wrote:
> > Wouhou, another insane IE bug. It seems the check value is reset during
> > the insertBefore call (method onHover of Sortable). I'll try to look at
> > this, but I don't really know what to do. I haven't found
Wouhou, another insane IE bug. It seems the check value is reset during
the insertBefore call (method onHover of Sortable). I'll try to look at
this, but I don't really know what to do. I haven't found reference
about this on the w
http://groups.google.com/group/mochikit/search?group=mochikit&q=ie+table+row
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, send ema
Tim Stebbing a écrit :
> there does not seem to be a makePositioned in DOM?
D&D is still in development, until 1.4 release you have to include the
file New.js which contains the functions needed.
--
Thomas
--~--~-~--~~~---~--~~
You received this
If you have multiple Sortable.create, this may not be the
good solution (it should not be actually).
I advise you to use Draggable/Droppable directly, maybe with some
inspiration from Sortable. I'll try to see if I can tweak your example
but it's not for now.
--
Thomas
--~--~
There are bugs in Sortable, no doubt about that. Could you provide
simple examples showing your problems ? It's difficult to see that's
going on without actually launching it. The options of Sortable are
very sensible, so there're may be some combinations that don'
. Until then,
please don't use the packed version if you want to test Visual
Effects/DragAndDrop/Sortable.
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this
Thomas Sandor a écrit :
> Can somebody tell me what is this element?
Yes, the draggable object itself is passed to the function. You can
access the DOM element in the attribute 'element'.
--
Thomas
--~--~-~--~~~---~--~~
You received this messag
perties. What is this object by the way? when alert it says its an
[object Object] but I cannot get its id or name or style or anything.
Can somebody tell me what is this element?
Thanks,
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you
of your elements (by adding
'style="display:none;"' for example in your div declaration). slideDown
should do the job after that.
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"
.id)) {
log (child.id);
}
}, getElement(e).childNodes);
--
Thomas
--~--~-~--~~~---~--~~
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 un
Don't append TR directly into the TABLE. You must insert a
TBODY/THEAD/TFOOT element before, and then append into it, to make it
work under IE.
--
Thomas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
&quo
1 - 100 of 154 matches
Mail list logo