[Proto-Scripty] Re: script.aculo.us Effect.Scale issue

2011-10-17 Thread Tom Gregory
If you're running the two effects next to each other like that in the code, the behavior describing makes sense, and the effects are triggered asynchronously. There are two ways to accomplish a synchronous chain: * Effect queues (my preference) **

[Proto-Scripty] Re: Draggable destroy problem

2011-08-29 Thread Tom Gregory
From your description, I'm not sure what the issue is. A clearer description might help. First, describe what you're expecting to happen (I'm not clear on this), then explain what is occurring and emphasize how the two are different (I'm not clear on this part either). Lastly, it always speeds

[Proto-Scripty] Re: optgroup IE 8-

2011-08-15 Thread Tom Gregory
It's a feature in Javascript since Javascript 1.1. http://docstore.mik.ua/orelly/webprog/webnut/ch11_04.htm#IXT-11-1363 new Option([text [, value [, defaultSelected [, selected) It's also it W3V specs: http://www.w3.org/TR/2011/WD-html5-author-20110809/the-option-element.html TAG On Aug

[Proto-Scripty] Re: Combo box?

2011-07-26 Thread Tom Gregory
By chance, your question comes a day or so after one appeared on hacker news: Project: http://harvesthq.github.com/chosen/ Insightful HN Comments: http://news.ycombinator.com/item?id=2793086 It looks like it could be trivially tweaked to handle new entries. TAG On Jul 26, 4:38 pm, Shane

[Proto-Scripty] Re: Combo box?

2011-07-26 Thread Tom Gregory
I should add, it comes in both Prototype and jQuery flavors, with forks for moo tools and others. (Sorry for the second post.) TAG On Jul 26, 11:17 pm, Tom Gregory tagreg...@gmail.com wrote: By chance, your question comes a day or so after one appeared on hacker news: Project:http

[Proto-Scripty] Re: Prototype's evolution

2011-07-25 Thread Tom Gregory
Plus one from me too. I agree there should be an easy way for writing in the margins (as Walter put it). I wouldn't encourage allowing those pages to be used for help requests (which could get overwhelming for a reader to slog through), but like the php.net docs, neat solutions and gotchas

[Proto-Scripty] Re: Sortable list bug.

2011-07-25 Thread Tom Gregory
For problems like this, a minimal example page also helps. Of course, I'm a bit selfish in asking for one, as I find that often when trying to create a minimal reproducible case I find the problem in my own code ... =) TAG On Jul 25, 12:10 pm, Andrew Senner drewdiddy...@gmail.com wrote: I

[Proto-Scripty] Re: Help destroying many events on tr mouseenter and mouseleave

2011-07-12 Thread Tom Gregory
, you also have Event.findElement() which is a convenient way to call both Event.Element() and Element.tr(). Also, I am kind of sure using //![CDATA[ and //]] around javascript code has been deprecated a few years ago (but I may be wrong). Eric On Jul 10, 9:27 pm, Tom Gregory tagreg

[Proto-Scripty] Re: Best way to show / hide a menu

2011-07-11 Thread Tom Gregory
I'll go for the last option (recommend an idiom I can implement myself that will avoid the weird cases). It sounds like you're trying to make your page behave like a desktop app. Don't. One (significant) reason is that by focusing on enter/leave, you're automatically dropping support for mobile

[Proto-Scripty] Re: Help destroying many events on tr mouseenter and mouseleave

2011-07-10 Thread Tom Gregory
My first question is, what is it you're trying to accomplish that you need mouseenter/mouseleave handlers on the tr? What's your use case or user story? TAG On Jul 9, 6:10 pm, kstubs kst...@gmail.com wrote: I have something like this: