Link to home
Start Free TrialLog in
Avatar of Barry Jones
Barry JonesFlag for United Kingdom of Great Britain and Northern Ireland

asked on

JS-initiated CSS3 Animations with jQuery Fallback

Hi Experts!

I need some help with CSS3 animations.  I want to create a simple slideUp/Down animation as per jquery's .slideUp() and slideDown() methods.

Its for a mobile accordion widget.

I know how to create the JQ fallback, and to handle the rest of the accordion, what I need a hand with is:

1) How to setup the CSS3 animation for sliding an element into / out of view
2) How to initiate this from javascript.

Is it a simple case of assigning a class that has the transition CSS set on it?

Im not very familiar with CSS3 animations..

Thanks!

TheFoot
ASKER CERTIFIED SOLUTION
Avatar of Bardobrave
Bardobrave
Flag of Spain image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Barry Jones

ASKER

Hi Bardobrave

Thanks for your post - I've just gone on a weeks holiday, and will get back to this in 1 week ok?

Thanks, TheFoot
That's fine. Enjoy your vacation time!
Sorry for the delay - thanks for the link - perfect!

Cheers, TheFoot