[Proto-Scripty] Prototype toggle works, Scriptaculous effect fails

2010-01-21 Thread kenxle
Hi, I've been beating my head over this issue for the last two days, so I appreciate in advance any help that is given. I've got Prototype set up in an unobtrusive style, which I much prefer, but I can't seem to get the scriptaculous effects to work. When I put the scriptaculous calls inline in

[Proto-Scripty] Re: Prototype toggle works, Scriptaculous effect fails

2010-01-21 Thread kenxle
I stand corrected! When I took the quotes out, I tested the wrong element. Effect.toggle(y.element().id+AddrDIV); works!! I thought scriptaculous overrode the prototype commands. Now I know! Thanks, Ken On Jan 21, 9:49 am, kenxle kenstcl...@gmail.com wrote: ID in quotes: Embarrassing mistake

[Proto-Scripty] Prototype update suggestion: show/hide, CSS, unobtrusive

2010-01-26 Thread kenxle
Here's the problem I'm running into: $$(.dealerAddress).invoke(hide); takes too long because a very large page structure is loading, and there are many dealer addresses, so my page shows everything, then hides it, when it loads. Ew. To fix this, I put .dealerAddress{display:none;} in my CSS

[Proto-Scripty] Re: Prototype update suggestion: show/hide, CSS, unobtrusive

2010-01-28 Thread kenxle
(P.S. jQuery handles this situation without issue...) Not for nothing, but that reads *really* sarky. I know. Sorry. I'm still going through the transition from jQuery to Prototype/Scriptaculous(my new job uses P/S), and just finding it frustrating that some things were so much easier and

[Proto-Scripty] Re: Prototype update suggestion: show/hide, CSS, unobtrusive

2010-01-28 Thread kenxle
...@gmail.com wrote: Try: $$(.dealerAddress).each(function(element) {element.removeClassName(dealerAddress)}); This will unhide them. Not sure if this will be any faster. On Jan 26, 1:06 pm, kenxle kenstcl...@gmail.com wrote: Here's the problem I'm running into: $$(.dealerAddress).invoke(hide

[Proto-Scripty] Re: Prototype update suggestion: show/hide, CSS, unobtrusive

2010-01-28 Thread kenxle
if this will be any faster. On Jan 26, 1:06 pm, kenxle kenstcl...@gmail.com wrote: Here's the problem I'm running into: $$(.dealerAddress).invoke(hide); takes too long because a very large page structure is loading, and there are many dealer addresses, so my page shows everything, then hides

[Proto-Scripty] Re: Prototype update suggestion: show/hide, CSS, unobtrusive

2010-01-29 Thread kenxle
effects HTH, -- T.J. Crowder Independent Software Consultant tj / crowder software / comwww.crowdersoftware.com On Jan 28, 3:32 pm, kenxle kenstcl...@gmail.com wrote: Again, looking to unhide with an effect. Just changing class name won't allow me the effect. Or am I mistaken? On Jan 26, 4

[Proto-Scripty] Re: $$()

2010-08-02 Thread kenxle
In my understanding, it will generate one event each time a field is blurred, not 100 events each time a field is blurred. Each field gets its own listener. On Jul 30, 5:51 am, Yozefff yoze...@gmail.com wrote: Question .. Let's say I have 100 input fields, type = text. I want to put a onblur

[Proto-Scripty] Re: clear prototype hash

2010-10-22 Thread kenxle
It looks like TJ got you an answer, but do you also realize that there is a typo in the snippet you posted here? hashBrown.length=0 and hashBrown.clear().   ***hashBown***.each(function(key) {         hashBrown.unset(key);       }); hashBown - hashBrown (missing 'r') -K On Oct 20, 10:39