Avatar of Robert Granlund
Robert Granlund
Flag for United States of America asked on

jQuery to animate between two divs.

jQuery Animation.  Is there a way to slide divs across each other  and fade one out on Toggle?  Meaning, I have a Div One and Div Two.  One is visible, the other is not.  Click the visible div, it slides right and fades out as the second div slides left and becomes invisible.  Click the visible div now and the reverse happens.

Any place to start will be helpful
JavaScriptjQuery

Avatar of undefined
Last Comment
Sam Jacobs

8/22/2022 - Mon
Sam Jacobs

How about something like the attached to get you started?
slide.html
Robert Granlund

ASKER
@sam, that is pretty much what I was talking about.  Is there a way for them to meet and fade in the middle?
ASKER CERTIFIED SOLUTION
Sam Jacobs

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Robert Granlund

ASKER
This was a great help.  I was a little more complicated for me, but it all worked.  Thanks!
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Sam Jacobs

Sure thing.