[Proto-Scripty] Re: Is someone working on Scripty2?

2011-11-30 Thread joe t.
Scripty 1 2 have barely shown signs of a heartbeat. It used to matter to me, but i haven't even used Prototype in over a year. -joe t. On Nov 30, 1:41 am, Victor vkhomyac...@gmail.com wrote: Is Scripty2 still developed? Or it is as alive (half-dead, actually) as Prototype? I've posted tickets

[Proto-Scripty] Re: Adding CSS-Rules to a styletag in Prototype

2011-10-17 Thread joe t.
way to append style rules to the interior of a STYLE tag. i haven't tested, but as they say, seems legit. -joe t. On Oct 17, 11:55 am, Luke lukas.bomb...@googlemail.com wrote: Hi there, I wanna add CSS-Definitions to a style-tag using Prototype. In all good browsers (ALL^IE) this works

[Proto-Scripty] Re: future of script.aculo.us

2011-03-24 Thread joe t.
provide that, i agree with other posts that it's probably more important to impress the fundamentals of Javascript so students know how/why the libraries work the way they do, and why these different approaches are both valid, and can, with care, co- exist. -joe t. On Mar 24, 6:09 am, Ali.MD

[Proto-Scripty] Re: Why is there a $super-Parameter?

2011-03-24 Thread joe t.
the complexity trade-off. Had your approach been implemented in Prototype to save on performance, i never would have understood it when i first started learning Prototype. Now that i know it really well, and understand the fundamentals of this much better, i'm going to adopt your method. -joe t. On Mar 18, 12

[Proto-Scripty] Re: What do you think of this software-architecture?

2011-03-21 Thread joe t.
(and potentially eliminate the ugly numeric method naming). Just a couple thoughts. Take from them what you will. -joe t. On Mar 21, 4:20 am, Luke kickingje...@gmail.com wrote: Do you see any downsides to this? -- You received this message because you are subscribed to the Google Groups

[Proto-Scripty] Re: Rails 3.1 - Prototype = WTF?

2011-03-16 Thread joe t.
Excellent. Thanks for providing that quote. j On Mar 15, 2:49 pm, Felix felix1...@gmail.com wrote: Hi,   I found this answer(by andrew dupont) in quora to a question about the prototype library. Question was What must Prototype JS do to become the library of choice?Edit Once Prototype JS

[Proto-Scripty] Re: Rails 3.1 - Prototype = WTF?

2011-03-15 Thread joe t.
How did i manage to edit the topic subject? Wasn't intentional, since this is OT from the user assistance intent... Odd. -jt On Mar 14, 9:46 pm, joe t. thooke...@gmail.com wrote: Another anecdote along with Jane's... i make a lot of comparisons to jQuery as well because it's the only other

[Proto-Scripty] Re: Redrawing Autocomplete Field

2011-03-15 Thread joe t.
recommend that you note to your user they can use some special character (usually *) to search all, then handle the * on the server side. -joe t. On Mar 15, 12:58 pm, pipplo joe.kos...@gmail.com wrote: Ok, I've done some more debug. The autocomplete text box works still.  But it doesn't seem

[Proto-Scripty] Re: Rails 3.1 - Prototype = WTF?

2011-03-14 Thread joe t.
. Check the dev group if you don't believe me (http://groups.google.com/ group/prototype-core/topics?hl=engvc=2). Two legitimate threads with posts in 2011, and those being about bugs, not additional development. So there's my $0.02+... i feel your frustration, though. -joe t. On Mar 14, 1:53 pm

[Proto-Scripty] Re: event on leaving page

2011-03-11 Thread joe t.
would cause the double-prompt, and the confirm you generate is ignored by the event anyway. That's the best i can recall, anyway. i hope it helps. -joe t. On Mar 11, 9:29 am, Walter Lee Davis wa...@wdstudio.com wrote: On Mar 11, 2011, at 7:41 AM, Bertilo Wennergren wrote: Here's

[Proto-Scripty] Re: event on leaving page

2011-03-10 Thread joe t.
anyway if you create new content, the page is going bye-bye. :) That all comes from a painful two weeks a few years ago before i knew about beforeunload. Still bitter at myself over that. -joe t. On Mar 10, 9:31 am, Walter Lee Davis wa...@wdstudio.com wrote: On Mar 10, 2011, at 2:25 AM, T.J

[Proto-Scripty] Re: Element.update not working with div inside a table

2011-02-16 Thread joe t.
Yay! i learned my HTML tip-of-the-day: multiple TBODY tags! Now, i'm off to find an excuse to use it. -joe t. On Feb 16, 12:38 pm, T.J. Crowder t...@crowdersoftware.com wrote: Hi, For some reason never learned about the tbody element.  When did that get added to the spec Proposed in 1996

[Proto-Scripty] Re: Using Prototype

2010-07-06 Thread joe t.
, and i've rarely had occasion for them to overlap. Just my thoughts. It's not a blog, i know, but since you asked... :) joe t. On Jul 6, 12:39 am, P.J. pjfontil...@gmail.com wrote: Thanks T.J. The Language section is definitely a prime example of an area Prototype excels at where jQuery does

[Proto-Scripty] Re: morph effects on menu roll-over.. better way?

2010-07-04 Thread joe t.
to an otherwise streamlined application. Maybe if animations become part of the core functionality of HTML or CSS that'll improve. i can see the usefulness, just not very often in my work does it apply. Hope that queue page offers some help though. -joe t. On Jul 4, 4:31 pm, Matt matthew.jones...@gmail.com

[Proto-Scripty] Re: Proper error handling

2010-06-22 Thread joe t.
/errors. Would be interested in seeing some tips for that wrapper magic. ;) -joe t. On Jun 22, 2:45 am, T.J. Crowder t...@crowdersoftware.com wrote: Hi, On Jun 21, 9:58 pm, Jason 'XenoPhage' Frisvoldxenoph...@godshell.com wrote: [snip] What about a non-HTTP error?  What if, for instance

[Proto-Scripty] Re: Getting the value of a form field

2010-04-30 Thread joe t.
of matches (pointless when you know there's only one resulting element), and then get its value. Hope that's useful. -joe t. On Apr 30, 1:32 pm, Shane McCarron halindr...@gmail.com wrote: I am sure this is just ignorance on my part, but... I would really like to $F('formField') to get the value

[Proto-Scripty] Re: Proposal: Alias clearContent for update()

2010-04-12 Thread joe t.
there, see if it sticks. -joe t. On Apr 12, 9:01 am, Rüdiger Plantiko ruediger.plant...@astrotexte.ch wrote: Hi, I didn't find a method for clearing the content of an HTML element *and* which from its name clearly indicates this action. I formerly used $(myContainer).update() for clearing

[Proto-Scripty] Re: Scrodicator: a javascript indicator while you scroll through your form or page

2010-03-21 Thread joe t.
Not me. i snickered. Brings images of The Terminator as an adult film to mind. :) -joe t. On Mar 21, 8:04 am, T.J. Crowder t...@crowdersoftware.com wrote: Hi, I can change the name from scrodicator to scrolldicator, if it sounds more polite to native English speakers. It does

[Proto-Scripty] Re: for...in gets a overflow if including scriptaculous and prototype ?

2010-02-22 Thread joe t.
properties, ARE there any good uses for this loop method? Thanks, -joe t. On Feb 22, 9:08 am, T.J. Crowder t...@crowdersoftware.com wrote: Hi, That for..in code is incorrect, based on a misconception (a common one). This page explains the misconception and discusses correct ways of iterating

[Proto-Scripty] Re: element.observ on classname+id

2010-02-21 Thread joe t.
Ugh. Looks like more slacker accommodation to me. The p tag laziness alone looks like layout problems begging to happen (especially for JS string-to-HTML parsing). But thanks for pointing out that technicality. Not sure i understand why they're allowing for it. -joe t. On Feb 21, 1:57 am, T.J

[Proto-Scripty] Re: element.observ on classname+id

2010-02-20 Thread joe t.
Just as a small nit-pick, LI elements are containers, and so should have closing /li tags. -joe t. On Feb 20, 8:58 am, Jinsa jf.wesq...@gmail.com wrote: Hi everybody! I'm actually working on a script acting on a UL menu with different LI classname. The goal is to react onMouseOver

[Proto-Scripty] Re: How to observe the event window.resize ?

2010-01-19 Thread joe t.
to observe the event directly. IE fires the event each time a pixel move is made. You could probably adapt code out of the latter link, though. -joe t. On Jan 18, 12:33 pm, gillesvds gilles...@adok.info wrote: Hello, How to observe the event window.resize with prototype ? The window object

[Proto-Scripty] Re: Collecting checked checkboxes

2010-01-11 Thread joe t.
Couldn't this also work (tweak to fit)?: var values = $('containerID').select('input:checked[type=checkbox] [name=checkGroup[]]').pluck('value'); i use that line for radio groups. Got it from: http://stereointeractive.com/blog/2008/06/05/get-radio-button-value-using-prototype/ -joe t. On Jan

[Proto-Scripty] Re: Collecting checked checkboxes

2010-01-11 Thread joe t.
Er, a boo-boo on my part when compared to the source... He uses $$() to directly select the checkboxes, rather than starting at the parent container and using select(). i imagine it would work either way, but the original $$() is one step more direct. -joe t. On Jan 11, 7:36 pm, joe t. thooke

[Proto-Scripty] Re: Collecting checked checkboxes

2010-01-11 Thread joe t.
if Prototype provides a clean Get the text content of this element method, since IE likes innerText and Firefox (i think) doesn't. This sample just assumes that the first node of the second cell with content is text (remember, index 0 when DOM navigating, so next(1) moves two cells). -joe t. On Jan

[Proto-Scripty] Re: Passing the content of an array in a form

2009-12-21 Thread joe t.
in the API documentation, and people here in the group who can articulate it much better than i. -joe t. On Dec 21, 2:59 am, Frédéric f...@gbiloba.org wrote: On lundi 21 décembre 2009, joe t. wrote: i may be misunderstanding the problem you're describing, but typically when you submit

[Proto-Scripty] Re: Ajax.Request

2009-12-21 Thread joe t.
plan to keep those settings. -joe t. On Dec 20, 10:47 pm, heeae csche...@gmail.com wrote: I will using this approach function get_data_default(callback){ new Ajax.Request('/adress',   {     method:'post',     asynchronous:true,     onSuccess: function(data){ callback

[Proto-Scripty] Re: Passing the content of an array in a form

2009-12-20 Thread joe t.
... } } Sorry if that's on the wrong track. -joe t. On Dec 20, 7:10 am, Frédéric f...@gbiloba.org wrote: Hi, I have a little problem. I want to give the content of an array to a new page through a form. The javascript code is:     this._view.selectedPicts.setAttribute('value', picts); I retreive

[Proto-Scripty] Re: Progressive update messages from single request

2009-12-12 Thread joe t.
My crude-imentary tests are on my Win7 laptop using Wamp, which means mod_deflate. Work server is Cent, but i don't know whether it's got any compression modules enabled (i've tried with the admin, he slacks). -joe t. On Dec 12, 4:17 am, Alex McAuley webmas...@thecarmarketplace.com wrote: Joe

[Proto-Scripty] Re: Autocompleter does not work in FireFox 3.5.5

2009-12-12 Thread joe t.
couldn't be more help on this one. -joe t. On Dec 12, 6:05 am, T.J. Crowder t...@crowdersoftware.com wrote: Just tossing in: Alternately, the script block that has the active part can be placed at the end of the document, so the DOM elements are loaded by the time the browser reaches that script

[Proto-Scripty] Re: Autocompleter does not work in FireFox 3.5.5

2009-12-11 Thread joe t.
didn't. -joe t. On Dec 11, 11:02 am, T.J. Crowder t...@crowdersoftware.com wrote: Hi, I have not really tried to debug this. Always makes me eager to jump in and spend my time helping. ;-) But the error is obvious enough in this case:  You're trying to access the DOM from inline script, which

[Proto-Scripty] Re: Progressive update messages from single request

2009-12-11 Thread joe t.
that in. :) -joe t. On Dec 11, 3:29 am, Alex McAuley webmas...@thecarmarketplace.com wrote: in your ajax request file ?php ini_set('output_buffering',0); // make sure the output_buffering directive is not set high ob_start(); // before anything is echoed to the screen for($i=0;$i10;$i

[Proto-Scripty] Re: Progressive update messages from single request

2009-12-10 Thread joe t.
). Alex: Could you elaborate a bit, or point me to where i can follow up on that? i'm intrigued, but i'm not deeply familiar with using the output buffer effectively. Thanks for the replies! -joe t. On Dec 10, 3:45 am, Alex McAuley webmas...@thecarmarketplace.com wrote: I noticed you were using PHP

[Proto-Scripty] Progressive update messages from single request

2009-12-09 Thread joe t.
? Recursive callbacks? If anyone can point me in the right direction (which include samples), i'd be grateful. Thanks. -joe t. -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptacul

[Proto-Scripty] Re: Progressive update messages from single request

2009-12-09 Thread joe t.
again, -joe t. On Dec 9, 1:22 pm, Walter Lee Davis wa...@wdstudio.com wrote: I would do this with chained onSuccess handlers. Each one would   trigger a new request to a different endpoint, carrying some token to   identify the visitor. $('button').observe('click',function(evt){         //do

[Proto-Scripty] InPlace[Collection]Editor deprecation layer

2009-12-03 Thread joe t.
for this deprecation? Where can i read up to make sure i'm current? Thanks. joe t. -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send

[Proto-Scripty] Re: Prototype.jExtension

2009-11-14 Thread joe t.
Which methods you propose for the library are entirely up to you. The development team will make the ultimate decision if they want to include them or make efficiency modifications. i was just offering a tweak to #compact to make it work as described. :) Good luck! -joe t. On Nov 13, 12:19 pm

[Proto-Scripty] Re: Prototype.jExtension

2009-11-13 Thread joe t.
of only stripping null and undefined remains intact, since so many values can evaluate to false- ish (, 0, [], etc). And mentioning zero, what if there's desire to be super-aggressive and remove those, or also remove actual boolean falses? :) -joe t. On Nov 13, 8:07 am, Eric lefauv...@gmail.com wrote

[Proto-Scripty] Re: Does $A('.classname').invoke('setValue',...) work on checkboxes?

2009-11-11 Thread joe t.
property were different entities. The only way i found to address it was $ ('element').value = foo; which obviously kills the elegance of chaining methods, but seems to address both entities, and is how Form.Element.Serializers returns other values. -joe t. On Nov 10, 12:30 pm, Szymon Wilkołazki

[Proto-Scripty] Re: New API Doc

2009-10-29 Thread joe t.
/element.html#select-class_method Great. But the natural impulse (mine, at least) to get back to that list of methods is to use the browser's Back action. Gotcha! The location bar returns back, but the browser window doesn't. Thanks! -joe t. On Oct 27, 7:29 pm, Adm.Wiggin admwig...@gmail.com wrote

[Proto-Scripty] Re: Private methods for prototype class

2009-09-11 Thread joe t.
); // outside value -joe t. On Sep 10, 2:45 pm, Ngan nganp...@gmail.com wrote: Hi Allen, thank you so much for the reply. If I do it that way, someVar will now be a private variable.  What if I wanted someVar to be an instance variable.  so that it may be accessed externally: aWorker.someVar

[Proto-Scripty] IE8 not extending Elements?

2009-09-11 Thread joe t.
they're failing to extend, with no error about the fail. * i just tried to show an element from the IE Debugger console after page load and get the same error: $('loadingBox').show(); // Error. Same as above. Let me know what else will help find an answer. -joe t

[Proto-Scripty] Re: InPlaceCollectionEditor : loadCollectionURL data format

2009-09-07 Thread joe t.
... option value=12.00Twelve/option option value=24.00Twenty-four/option option value=36.00Thirty-six/option /select Let's see what your collection constructor looks like. -joe t. On Sep 6, 11:50 am, mlh m...@free.fr wrote: Hey, After a new attempt, whereI changed my PHP called page to : ?php

[Proto-Scripty] Re: Form.request() file upload problem in ie6

2009-07-05 Thread joe t.
others. Essentially, after the IFRAME form submits, the reloaded page of the frame disaplays info about the upload (GMail-esque). -joe t. On Jul 5, 8:26 am, Vladimir Tkach tea...@gmail.com wrote: Browsers force us to use file inputs for uploads, which are impossible to style. Moreover, form-based

[Proto-Scripty] Re: Adding properties to native objects

2009-05-20 Thread joe t.
T.J., i think my last post was at least somewhat in line with your suggestion. i just hadn't fully read and absorbed yours yet. i will try using that factory approach. If i'm reading it right, it handles the two-line requirement of creating the native Date, then calling the ApplySpecialProps

[Proto-Scripty] Re: Adding properties to native objects

2009-05-20 Thread joe t.
Thanks to all for your feedback. i think though, that some of the focus has remained on adding new *methods* to the Date object. That's easy enough, as in my first sample. However, i'm trying to add properties to the object that obtain a value when a new Date is constructed. var myDate = new

[Proto-Scripty] Re: Adding properties to native objects

2009-05-20 Thread joe t.
, as such: var SpecialDateProps = { isEaster:function(){ return ... }, etc. }; function DateFactory(){ var fName, that = new Date(); for (fName in SpecialDateProps) that[fName] = SpecialDateProps[fName](); // Note calling the fName's function. return that; } Thanks again! -joe t. On May

[Proto-Scripty] Adding properties to native objects

2009-05-18 Thread joe t.
work. But something like that is what i'm trying to achieve. How can i modify the native object's constructor to do its normal call, and also assign these properties? Any help? -joe t. --~--~-~--~~~---~--~~ You received this message because you are subscribed

[Proto-Scripty] Re: Ajax.InPlaceCollectionEditor seems to be broken in 1.8.2

2009-02-02 Thread joe t.
to help with that. i wish you luck, and i'll post the fix above at Scriptaculous to On Jan 29, 12:03 pm, Gunter Sammet gunter.sam...@gmail.com wrote: On Jan 29, 6:56 am, joe t. thooke...@gmail.com wrote: i'm using unmodified 1.8.2 and the IPCE works fine with Firefox 3. IE is a totally

[Proto-Scripty] Re: Form.request() ... Which submit button did the user press?

2009-01-26 Thread joe t.
submission. -joe t. On Jan 25, 5:32 pm, Matt mattal...@gmail.com wrote: Is there any way of knowing which submit button was pressed from the post passed by Form.request()? I'm just getting the first submit button in the form, no matter which one I press

[Proto-Scripty] Re: jQuery or Prototype ?

2009-01-20 Thread joe t.
. At least that's been my experience with it. i tend to like the jQuery filtering/unfiltering approach, though. Something i wish Prototype would implement. And while it may not add a LOT of overhead, Prototype's aliasing so many methods just feels a bit sloppy. Just my opinion. -joe t

[Proto-Scripty] Re: asynchronous file upload

2009-01-15 Thread joe t.
(i'll have to work on more detailed docs though). Maybe it'll be useful, maybe not. -joe t. On Jan 14, 10:58 am, jason maina jason.ma...@gmail.com wrote: Hi all, Cutting to the chase, how do I do an asynchronous file upload, been googling all day with nothing really positive, may be been looking

[Proto-Scripty] Re: Ajax.Request unload

2009-01-08 Thread joe t.
to the EXACT same block of code, it executes flawlessly. -joe t. On Jan 8, 5:27 am, T.J. Crowder t...@crowdersoftware.com wrote: Hi Joe, The client-side code looks okay to this second pair of eyes.  (You might want to put window. in front of Internal in the Ajax.Request constructor, just

[Proto-Scripty] Re: Anchor event

2009-01-08 Thread joe t.
to the destination. Completely untested, but maybe it helps get you started. -joe t. On Jan 7, 7:37 pm, tmarin teimat...@gmail.com wrote: I want to execute some code when a user reaches a fragment anchor (the # part of a link), is there any event for this? Thanks in advance tmarin

[Proto-Scripty] Re: Ajax.Request unload

2009-01-08 Thread joe t.
. Since i can't utilize the beforeunload confirm's return value, the user's files would get cleaned up even if they cancel the unload. -joe t. On Jan 8, 9:47 am, Walter Lee Davis wa...@wdstudio.com wrote: Perhaps the unload event has already happened and the page is gone?   What happens if you

[Proto-Scripty] Re: Ajax.Request unload

2009-01-08 Thread joe t.
when the next page loaded. Kinda weird, easy to miss. Anyway, thanks to both of you for your help. -joe t. On Jan 8, 10:41 am, joe t. thooke...@gmail.com wrote: i presume the page hasn't already unloaded, because the document is still visible, Firebug can still break at my designated markers