[Prototype-core] Form.reset() (still) not returning Element

2008-10-31 Thread joe t.
i don't know if this is intentional, or if no one's noticed it, or what, but in the last two releases, i've had to add a fix to Form.reset(): -- 1.6.0.2/3: var Form = { reset: function(form) { $(form).reset(); return form; }, -- My fix: var Form = { reset: function(form) {

[Prototype-core] Re: Form.reset() (still) not returning Element

2008-11-03 Thread joe t.
That's kinda odd. i've tried the code i suggested above with no problems. i guess there could be potential problems with it, but i didn't see any specific problems with particular browsers described. For now i'll stick to what i've got and wait for the official fix in a later version. -joe t

[Prototype-core] Re: working in firefox, not in IE7...big surprise

2008-12-11 Thread joe t.
not entirely sure why Firefox is forgiving this and supposedly obeying the Top insertion, it's probably why IE isn't. On that note, what exactly is going wrong? Looking at the page in FF and IE8b2 (normal and compatibility modes), there don't seem to be any display issues, and no JS errors. -joe t

[Prototype-core] Re: Prototype in 10 steps... what are they?

2008-12-11 Thread joe t.
) That kind of organization would have definitely come in very handy when i first played with Prototype. Hell, i ended up rewriting hundreds of lines of code when i finally grasped Function.bind(). My next effort is understanding event delegation. i guess i like learning in reverse. -joe t

[Prototype-core] Safe Object.extend?

2009-01-07 Thread joe t.
defined. i imagine there would be some minimal performance hit testing each property if safe==true, but otherwise...? Any visible problems? Just a suggestion, it helped me out. -joe t. --~--~-~--~~~---~--~~ You received this message because you are subscribed

[Prototype-core] Re: Safe Object.extend?

2009-01-09 Thread joe t.
Yeah, good point. i thought specifying the boolean might be more reliable, but it doesn't hurt to leave it out. -joe t. On Jan 9, 8:05 am, evolutional t.ziegelbec...@gmail.com wrote: another thing... I recently used the Object.extend for the default options of a class. So I just thought

[Prototype-core] Re: Had a lightbulb moment.

2009-01-15 Thread joe t.
Oh good god, how did i miss that??? Thanks for that! -joe t. On Jan 14, 10:50 am, Richard Quadling rquadl...@googlemail.com wrote: Hi. I've just reduced a fairly long winded each() loop to ... var i_LargestLabel = $$(s_CSS).invoke('getWidth').max(); So, this is just a thank you to all

[Prototype-core] Re: Form#request ...request

2009-02-13 Thread joe t.
On Feb 12, 9:25 am, Mislav Marohnić mislav.maroh...@gmail.com wrote: On Wed, Feb 4, 2009 at 23:08, joe t. thooke...@gmail.com wrote: i've had an ongoing need to make Form#request less dependent on the FORM's action attribute. The sole purpose of Form#request is to wrap an Ajax.Request

[Prototype-core] Re: Form#request ...request

2009-02-14 Thread joe t.
calls. It was just a hypothetical, i'm not trying to twist anyone's arms off over it. :) -joe t. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype: Core group. To post to this group, send email to prototype-core

[Prototype-core] Re: Suggested addition to Function Methods: .repeat(seconds[, arg...]) -- Revised from Robert's version

2009-06-25 Thread joe t.
Rick, Maybe i'm missing how that revision works, but it appears to me that your stop property doesn't actually stop the repeater. Your stop returns before further execution happens, but the timeout ID for the window still exists. What am i missing? -joe t. On Jun 24, 12:20 pm, Rick Waldron

[Prototype-core] Re: Suggested addition to Function Methods: .repeat(seconds[, arg...])

2009-06-26 Thread joe t.
()===false) // MOD this.stop(); // NEW } catch(e) { /* empty catch for clients that don't support try/finally */ } finally { this.currentlyExecuting = false; } } } Just tossing in my 2 cents because i'm intrigued by that feature. -joe t. On Jun 26

[Prototype-core] Re: Kudos to the documentation team

2010-04-06 Thread joe t.
clicked. Otherwise, the documentation itself is phenomenal, and thanks to all! -joe t. On Apr 5, 5:19 pm, Joost joost.van.do...@gmail.com wrote: I have the same problem, because I like to use google to search for stuff in the documentation but I end up on the old one. Also I think the mouse

[Prototype-core] Re: Kudos to the documentation team

2010-04-07 Thread joe t.
Agreed, and it appears to be specific to Firefox. However, i can't recall any other circumstances (iframe, CSS overflow, etc) where the scroll bar behaves differently. The new API page is the only time i've seen this behavior. Peculiar. Oh well, it's hardly the end of the world. :) -joe t

[Prototype-core] Re: Why are all children of an 'update'd element being purged?

2010-07-02 Thread joe t.
existing content, place new content at the desired Position (usually appended, but insertion options are available). http://api.prototypejs.org/dom/element/insert/ This same question came up some months ago. Hopefully that clarification helps. -joe t. On Jul 2, 5:24 am, Viktor Kojouharov vkojouha

[Prototype-core] Re: Why are all children of an 'update'd element being purged?

2010-07-03 Thread joe t.
the containers you need to preserve to some other, hidden, parent container before placing the new content. Sorry i wasn't more helpful. i'm a little rusty of late, being pressed for more C# development than web work lately. i hope one of the big- brains here can take a look and offer something for you. -joe t

[Prototype-core] Re: Border Radius

2010-08-13 Thread joe t.
detract from its usefulness as a quick utility function. Maybe the devs have some ideas for broadening the capabilities for it, though. -joe t. On Aug 12, 8:51 pm, Rafael Raposo orapo...@gmail.com wrote: Hello, I don't know what you think about border radius right now, but as it is not totally

[Prototype-core] Re: Border Radius

2010-08-13 Thread joe t.
to. /shrug -joe t. On Aug 13, 1:09 pm, Rafael Raposo orapo...@gmail.com wrote: Yes, unfortunately I know it can't go into the core as it does not support IE. But, the two value radius is accepted by this function of mine. I just didn't know it existed =). If you call $(id_elemente