I need help with multiple divs.

function compress() {
        new Effect.multiple([
                'div1',
                'div2',
                'div3',
                'div4'], new Effect.Morph{ style: 'width: 0px', duration: 1});
);
}


This doesnt seem to work. Can Effect.multiple handle morph? or do i
need to do it in another way?
Is there a different way to perform an effect on multiple divs?

Any help would be appreciated

--~--~---------~--~----~------------~-------~--~----~
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