[Proto-Scripty] Typewriter effect

2009-08-19 Thread Mojito
Is there a Scriptaculous effect to spell out a word slowy: S SE SEN SENT SENTE SENTEN SENTENCE And also delete it slowly? SENTENCE SENTENC SENTEN SENTE SENT SEN SE S --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[Proto-Scripty] to NEW or not to NEW, that is the question

2009-08-19 Thread Mojito
Which is more proper? new Effect.Fade(..) or Effect.Fade(..) Both work for me. I'm just wondering which one is more cross browser compatible or runs faster. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[Proto-Scripty] Re: this keyword inside of the map function

2009-08-19 Thread Andy Daykin
I tried putting this as the first argument to bind, but the function doesn't get called. Am I using the right syntax for calling the function -Andy -- From: "Kevin Porter" Sent: Wednesday, August 19, 2009 5:14 PM To: Subject: [Proto-Scripty] Re:

[Proto-Scripty] Traversing XML w/ Prototype (DOMParser)

2009-08-19 Thread louis w
Please check out the code below. I am having a hard time getting the protortype selectors to be applied to this item. Hoping to avoid having to use childNodes to parse this data. var xml = 'OK'; var parser = new DOMParser(); var doc = parser.parseF

[Proto-Scripty] Re: this keyword inside of the map function

2009-08-19 Thread Kevin Porter
> I am not positive, but I believe the problem is from my event > listeners on the line: > > Now: $(e).observe('click', *this*.doSlide.bind(featuresWrapper[i].id)); > You need to pass 'this' as the first argument to bind(). regards, - Kev -- Kevin Porter Advanced Web Construction Ltd htt

[Proto-Scripty] Re: Prototype & grid/table maths

2009-08-19 Thread vk2tdt
The initial table is shown with pre-loaded values. Onchange triggers correctly (going by firefly under ff) but that is all. The field changed doesn't get re-written nor are the others totalled. On Aug 19, 9:58 pm, "Alex McAuley" wrote: > which parts of it are not working > > Alex Mcauleyhttp://w

[Proto-Scripty] Prototype breaks the IE8 native JSON parser.

2009-08-19 Thread Joel
See the following URL for all the gory details: http://stackoverflow.com/questions/1288962/ie8-native-json-parse-prototype-stack-overflow But to sum up, the following test case will get an "out of stack space" error in IE8 when it is running in IE8 Standards mode (you can check the mode by hitti

[Proto-Scripty] this keyword inside of the map function

2009-08-19 Thread Andy Daykin
Hello, I am having some difficulties writing a class, in my code I have a class where I need to be able to bind event listeners to values. In my code I want the variable pointerIndex to be accessible outside of the initialize function, but right now it is not. If I make a global variable for poi

[Proto-Scripty] Re: Which parameters to stopObserving are optional?

2009-08-19 Thread Paul E. G. Lynch
Okay, I do see it documented there. I was looking at the PDF version I downloaded a while ago, which is missing that part. I should have checked the online version first, but I didn't think of it. Thanks for your help, --Paul On Aug 18, 5:27 pm, "T.J. Crowder" wrote: > Hi, > > It's docum

[Proto-Scripty] Re: Using Ajax.Request and evalJS to load functions on the fly

2009-08-19 Thread Donnie Carvajal
HI T.J., Will this work with Ajax.Request? I changed my script so that it is created instead of defined and I still can't access it using evalJS. Donnie -Original Message- From: prototype-scriptaculous@googlegroups.com [mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of T.

[Proto-Scripty] Re: Ajax.InPlaceEditor in tables in IE6

2009-08-19 Thread Eric
On Aug 18, 7:11 pm, ColinFine wrote: > What's wrong with putting divs in tables (inside the table cells, of > course)? Well, it is not that bad, but usually it falls in one of two cases: - The table is an actual table, and there is no (or very few) need to use divs in its cells. - The table is

[Proto-Scripty] Re: Prototype & grid/table maths

2009-08-19 Thread Alex McAuley
which parts of it are not working Alex Mcauley http://www.thevacancymarket.com - Original Message - From: "vk2tdt" To: "Prototype & script.aculo.us" Sent: Wednesday, August 19, 2009 6:46 AM Subject: [Proto-Scripty] Prototype & grid/table maths > > I am new to prototype/javascript as

[Proto-Scripty] Re: help with select on element not working

2009-08-19 Thread ColinFine
On Aug 18, 4:47 pm, "T.J. Crowder" wrote: > Colin, > > > Incidentally (and not on topic for your question) > > > > is not valid in either HTML or XHTML. > > It's valid XHTML for an empty table cell. > Wrong. It's a common misconception (which I had myself until recently). "All elements other

[Proto-Scripty] Prototype & grid/table maths

2009-08-19 Thread vk2tdt
I am new to prototype/javascript as my background is in php. I am trying to have a 2 x 2 grid of text input blocks that are summed to the right & below. Ajax is ment to update on change by re-formatting whatever was input and all the totals. A relevant section of my efforts found below. php -

[Proto-Scripty] Re: Nested updater calls , weird result

2009-08-19 Thread dweeves
Hi , many thanks for your comment!!! i was thinking the problem was in the structure of the code, by trying to send you the "real" thing, i just figured out that somewhere in the page, there was already a div that had same id than the one in the updated content. Fixing ids solved the problem.