Re: script.aculo.us effects hate me?

Hassan Schroeder
Sun, 01 Jun 2008 04:34:57 -0000

On Sat, May 31, 2008 at 8:15 PM, kopf1988
<kopf1988-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
>
> Well, randomly things just don''t work when I try to make a new web
> thing work. On my new site, I have a div id="all" set to display:
> none;, that should be shown when I click on this div: <%= content_tag
> ''div'', ''Alternate
View'', :onclick =>
> visual_effect(:toggle_blind, ''all'') %>
>
> But clicking on that div does absolutely nothing.

Sure it does; it makes Firebug display this error:

Effect.Queues.get(typeof this.options.queue == "string" ?
"global" :
this.options.queue.scope).add is not a function
[Break on this error] ''global'' :
this.options.queue.scope).add(this);

If you''re not using Firebug, this is probably a good time to start :-)

--
Hassan Schroeder ------------------------
hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org