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
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
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
(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
...@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
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
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
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
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