We help IT Professionals succeed at work.

jQuery to animate between two divs.

Robert Granlund
on
101 Views
Last Modified: 2019-02-11
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
Comment
Watch Question

Sam JacobsCitrix Technology Professional / Director of TechDev Services, IPM
CERTIFIED EXPERT

Commented:
How about something like the attached to get you started?
slide.html

Author

Commented:
@sam, that is pretty much what I was talking about.  Is there a way for them to meet and fade in the middle?
Citrix Technology Professional / Director of TechDev Services, IPM
CERTIFIED EXPERT
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION

Author

Commented:
This was a great help.  I was a little more complicated for me, but it all worked.  Thanks!
Sam JacobsCitrix Technology Professional / Director of TechDev Services, IPM
CERTIFIED EXPERT

Commented:
Sure thing.