[mochikit] processing.js with the interpreter

2008-07-10 Thread Thomas
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

[mochikit] Re: MochiKit Development

2007-07-18 Thread Thomas Hervé
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

[mochikit] Re: Bugs Blocking MochiKit 1.4

2007-05-15 Thread Thomas Hervé
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

[mochikit] Re: onmouseleave and Firefox

2007-03-29 Thread Thomas Hervé
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

[mochikit] Re: Future of MochiKit

2007-03-02 Thread Thomas Hervé
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

[mochikit] Re: BEGINNER: understanding the ajax_tables example

2007-02-28 Thread Thomas
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

[mochikit] BEGINNER: understanding the ajax_tables example

2007-02-26 Thread Thomas
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

[mochikit] Re: Controls.js patched up to work

2007-02-20 Thread Thomas Hervé
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

[mochikit] Re: element positioning, fixed only?

2007-02-15 Thread Thomas Hervé
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

[mochikit] Re: Error message with new SVN checkout

2007-02-15 Thread Thomas Hervé
> 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

[mochikit] Re: Visual.Move

2007-02-08 Thread Thomas Hervé
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

[mochikit] Re: Bugfixes in Selector, DOM

2007-02-07 Thread Thomas Hervé
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

[mochikit] Re: problem with Effect.fade (opacity) in IE7 with scriptaculous, test included

2007-01-16 Thread Thomas Hervé
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

[mochikit] Re: Regressions in MochiKit.Sortable

2007-01-11 Thread Thomas Hervé
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

[mochikit] Re: Drag and Drop

2007-01-08 Thread Thomas Hervé
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

[mochikit] Re: Drag and Drop

2007-01-08 Thread Thomas Hervé
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 --~--~-~

[mochikit] Re: Some news from the VIsual front

2006-12-21 Thread Thomas Hervé
(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

[mochikit] Re: Some news from the VIsual front

2006-12-20 Thread Thomas Hervé
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 --~--~-~--~~~

[mochikit] Re: Some news from the VIsual front

2006-12-20 Thread Thomas Hervé
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

[mochikit] Some news from the VIsual front

2006-12-16 Thread Thomas Hervé
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

[mochikit] Re: Calling the rounding function after the page has loaded

2006-12-14 Thread Thomas Hervé
[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

[mochikit] Re: Calling the rounding function after the page has loaded

2006-12-14 Thread Thomas Hervé
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

[mochikit] Re: MochiKit.Position.cumulativeOffset and the scrolling DIV

2006-12-08 Thread Thomas Hervé
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

[mochikit] Re: insertSiblingNodesBefore question

2006-12-07 Thread Thomas Hervé
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

[mochikit] Re: getElementPosition versus Opera

2006-12-07 Thread Thomas Hervé
+if (disp != 'inline' && disp != 'table-row') { +c.x -= parent.scrollLeft; +c.y -= parent.scrollTop; +} if (parent.parentNode) { parent = parent.paren

[mochikit] Re: Forcing animations to finish

2006-12-06 Thread Thomas Hervé
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

[mochikit] Re: setOpacity not working in new revision

2006-12-03 Thread Thomas Hervé
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

[mochikit] Re: setOpacity not working in new revision

2006-12-01 Thread Thomas Hervé
"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 "

[mochikit] Re: mochikit cache prevention

2006-11-29 Thread Thomas Hervé
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

[mochikit] Re: CSS : change a stylesheet property with basic selector

2006-11-29 Thread Thomas Hervé
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

[mochikit] Re: Color.fromBackground broken in IE 7?

2006-11-29 Thread Thomas Hervé
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

[mochikit] Re: How to automatically init & start a Draggable object?

2006-11-06 Thread Thomas Hervé
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

[mochikit] how to make a slideLeft effect?

2006-10-27 Thread Thomas Sandor
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

[mochikit] Re: Draggable problems

2006-10-25 Thread Thomas Hervé
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

[mochikit] Re: New visual effects.

2006-10-24 Thread Thomas Hervé
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

[mochikit] Re: Problems changing label's text when using HTTPS

2006-10-20 Thread Thomas Hervé
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

[mochikit] Re: Speed of toggle?

2006-10-20 Thread Thomas Hervé
" + 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

[mochikit] Re: blindRight

2006-10-15 Thread Thomas Hervé
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

[mochikit] Re: MochiKit.Visual - correct way to immediately stop an effect

2006-10-06 Thread Thomas Hervé
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

[mochikit] Re: MochiKit.Visual - correct way to immediately stop an effect

2006-10-06 Thread Thomas Hervé
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

[mochikit] Re: Sortable woes

2006-10-06 Thread Thomas Hervé
> 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

[mochikit] Re: Test failures in IE 6.0.2900

2006-10-05 Thread Thomas Hervé
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. --

[mochikit] Re: enhancement proposal for drag and drop

2006-10-05 Thread Thomas Hervé
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

[mochikit] Re: enhancement proposal for drag and drop

2006-10-04 Thread Thomas Hervé
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

[mochikit] Re: Back Button

2006-09-18 Thread Thomas Hervé
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

[mochikit] Re: Back Button

2006-09-18 Thread Thomas Hervé
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

[mochikit] Re: Errors on Sortable.create

2006-09-18 Thread Thomas Hervé
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

[mochikit] Re: Deferred fails with no content on Safari

2006-09-16 Thread Thomas Hervé
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

[mochikit] Re: Minor documentation error in Signal.rst

2006-09-15 Thread Thomas Hervé
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

[mochikit] Re: Sortable containment

2006-09-15 Thread Thomas Hervé
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

[mochikit] Re: Dynamic Draggables

2006-09-11 Thread Thomas Hervé
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 --~--~-~--~~~---~--

[mochikit] Re: fade, error getInlineOpacity

2006-09-09 Thread Thomas Hervé
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

[mochikit] Re: fade, error getInlineOpacity

2006-09-08 Thread Thomas Hervé
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

[mochikit] Re: blindUp glitches and #176

2006-09-08 Thread Thomas Hervé
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

[mochikit] Re: performance of moving DOM elements on mouse event

2006-09-07 Thread Thomas Hervé
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 --~--~-~--~~~---~--~

[mochikit] Re: Simple MochiKit-based ComboBox

2006-09-06 Thread Thomas Hervé
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

[mochikit] Re: blindUp glitches and #176

2006-09-06 Thread Thomas Hervé
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

[mochikit] Re: blindUp glitches and #176

2006-09-05 Thread Thomas Hervé
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 --~--~-~--~~

[mochikit] Re: blindUp glitches and #176

2006-09-05 Thread Thomas Hervé
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

[mochikit] Re: Fwd: Re: Effects 'conflicting' on the same element

2006-08-22 Thread Thomas Hervé
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

[mochikit] Re: Fwd: Re: Effects 'conflicting' on the same element

2006-08-20 Thread Thomas Hervé
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

[mochikit] Re: DragAndDrop in packed Mochikit.js?

2006-08-20 Thread Thomas Hervé
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

[mochikit] Re: drag and drop, rubberband/resize/stretch example, cleanup question.

2006-08-18 Thread Thomas Hervé
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

[mochikit] Re: DragAndDrop problems

2006-08-17 Thread Thomas Hervé
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

[mochikit] Re: DragAndDrop in packed Mochikit.js?

2006-08-16 Thread Thomas Hervé
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

[mochikit] Re: getFirstElementByTagAndClassName | New.js

2006-08-16 Thread Thomas Hervé
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

[mochikit] Re: Fwd: Re: Effects 'conflicting' on the same element

2006-08-16 Thread Thomas Hervé
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&

[mochikit] Re: Effects 'conflicting' on the same element

2006-08-15 Thread Thomas Hervé
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

[mochikit] Re: Safari initial slideDown does not work

2006-08-15 Thread Thomas Hervé
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

[mochikit] Re: Visual effects in Opera 9

2006-08-15 Thread Thomas Hervé
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

[mochikit] Re: drag and drop, rubberband/resize/stretch example, cleanup question.

2006-08-15 Thread Thomas Hervé
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

[mochikit] Re: Concurrent Highlight effects have side effects and restorecolor not utilised patch

2006-08-15 Thread Thomas Hervé
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

[mochikit] Re: on-the-fly D&D element creation problem

2006-08-10 Thread Thomas Hervé
;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

[mochikit] Re: Sortable objects with textarea... textarea not editable

2006-08-10 Thread Thomas Hervé
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

[mochikit] Re: Visual.ScrollTo Broken?

2006-08-01 Thread Thomas Hervé
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(

[mochikit] Re: Problem with tbody and blindUp et al

2006-08-01 Thread Thomas Hervé
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

[mochikit] Re: Is anyone working on autocomplete for MochiKit?

2006-08-01 Thread Thomas Hervé
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 --~--~-~--~~~---~--~~

[mochikit] MochiKit for TextMate

2006-07-27 Thread thomas...@gmail.com
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

[mochikit] Re: problem slideDown effect | Safari | MK 1.4

2006-07-21 Thread Thomas Hervé
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

[mochikit] Re: fade-effect on iexplore, problem

2006-07-20 Thread Thomas Hervé
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

[mochikit] Re: Function IsVisible in 1.4

2006-07-20 Thread Thomas Hervé
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

[mochikit] Re: Proposed Patch for Sortable

2006-07-14 Thread Thomas Hervé
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 --~--~-~-

[mochikit] Re: Submitting documentation patches?

2006-07-14 Thread Thomas Hervé
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 --~--~-~--~~

[mochikit] Re: Proposed Patch for Sortable

2006-07-13 Thread Thomas Hervé
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

[mochikit] Re: "position: fixed" for a Draggable

2006-07-12 Thread Thomas Hervé
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 --~--~-~--~~~---~--

[mochikit] Re: Newbie - How to avoid dropping of the draggable items in free space?

2006-07-12 Thread Thomas Hervé
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

[mochikit] Re: Newbie - How to avoid dropping of the draggable items in free space?

2006-07-12 Thread Thomas Hervé
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

[mochikit] Re: Dollar shortcut for document.getElementById?

2006-07-12 Thread Thomas Hervé
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

[mochikit] Re: Sortable checkboxs and IE

2006-06-30 Thread Thomas Hervé
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

[mochikit] Re: Sortable checkboxs and IE

2006-06-30 Thread Thomas Hervé
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

[mochikit] Re: Generating Table rows on the fly with TR(), TD() in I.E. x.x

2006-06-30 Thread Thomas Hervé
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

[mochikit] Re: D&D bug in trunk?

2006-06-28 Thread Thomas Hervé
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

[mochikit] Re: Sortable bugs?

2006-06-23 Thread Thomas Hervé
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 --~--~

[mochikit] Re: Sortable bugs?

2006-06-22 Thread Thomas Hervé
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'

[mochikit] Re: [Fwd: pulsate patch]

2006-06-21 Thread Thomas Hervé
. 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

[mochikit] Re: DragAndDrop.Draggable onchange function 'element' parameter

2006-06-16 Thread Thomas Hervé
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

[mochikit] DragAndDrop.Draggable onchange function 'element' parameter

2006-06-16 Thread Thomas Sandor
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

[mochikit] Re: Help: how to start effects_slide.html example with div's hidden?

2006-06-15 Thread Thomas Hervé
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 "

[mochikit] Re: ondrop on Mochikit.Sortable

2006-06-15 Thread Thomas Hervé
.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

[mochikit] Re: adding rows to a table, but table.rows.length is still 0

2006-06-14 Thread Thomas Hervé
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   2   >