Yes it is !

new Effect.Parallel(effects,* {*
afterFinish:  function() {
    search(area, choice,
Enumerable.invoke.curry("appear").bind($$('solution')));
    }
*}* );

On Wed, Apr 7, 2010 at 11:54 AM, C_B <i...@christian-baesler.de> wrote:

>
> Unfortunately I am actually not able to get the site online.
>
> I call the function like this:
> <div onclick="javascript:start('age', 6)" id="age6"
> class="entry">Computer</div>
>
> If I run the search() function directly in the onclick-handler it
> works. However, with no fade- & appear-effects.
>
> Maybe the following is an evidence:
> Sometimes Firefox Debug says, that one ")" is missing after argument
> list on position "new.Effect.Parallel(effects, afterFinish:**
> function()....
>
>
> Cheers!
>
>
>
> On 7 Apr., 11:26, Guillaume Lepicard <guillaume.lepic...@gmail.com>
> wrote:
> > Hi
> >
> > How are you calling and defining the start function ? directly in your
> HTML
> > page or through an Ajax Request ? if it is defined through an ajax
> request,
> > you must use the syntax :
> > var start = function() {
> > ...
> >
> > };
> >
> > is there some place where we can view the page ?
> >
> > And I've seen a missing dot again
> >  Enumerable.invoke.curry("appear").bind($$('*.*solution'))
> >
> > On Wed, Apr 7, 2010 at 10:06 AM, C_B <i...@christian-baesler.de> wrote:
> > > Thanks for your solution! Unfortunately, i am not able to get this
> > > work.
> > > Firefox Debug says: "start is not defined" - "line 1". However, i have
> > > alredy checked all ";", ")" and "}" but I am not able to troubleshoot.
> >
> > > Here is my function:
> >
> > >       function start(area, choice) {
> > >        var effects = [];
> > >        $$(".solution").each( function(item) {
> > >          effects.push( new Effect.Fade(item, {sync: true}));
> > >        });
> >
> > >        new Effect.Parallel(effects, afterFinish:  function() {
> > >          search(area, choice, Enumerable.invoke.curry("appear").bind($
> > > $('solution')));
> > >        });
> > >        }
> >
> > > Any evidence?
> >
> > > --
> > > 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 email to
> > > prototype-scriptaculous+unsubscr...@googlegroups.com<prototype-scriptaculous%2bunsubscr...@googlegroups.com>
> <prototype-scriptaculous%2bunsubscr...@googlegroups.com<prototype-scriptaculous%252bunsubscr...@googlegroups.com>
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/prototype-scriptaculous?hl=en.
>
> --
> 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 email to
> prototype-scriptaculous+unsubscr...@googlegroups.com<prototype-scriptaculous%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/prototype-scriptaculous?hl=en.
>
>

-- 
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 email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to