Hi,

yes you are. I already had the problem described.

In fact, the following works fine:

    <a href="#" onclick="$$('.solution').invoke('fade',{ duration:
0.8, from: 1, to: 0 });">Fade</a>
    <a href="#" onclick="$$('.solution').invoke('appear',{ delay:
0.35 });return false;">Appear</a>

All elements of the class solution fade and appear at the same time,
not one after another.
Now I want to do the following using a function:

1. fade all elements of the class solution synchronously (like in the
"a href" above)
2. run owned function search(area, choice) which sets some cookies and
does some AJAX changing content of all elements of the class
"solution"
3. appear all elements of the class solution synchronously (like in
the "a href" above)

I have alredy tried doing this by using queues but it does not work -
as described in my first post, all tasks were done synchronously .
Now, your version works fine with IDs. So i hope, it also fits to
elements of classes.

Hope you get me?


Cheers!

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to